Function at 0x414b50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477c63
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4934c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, dword [ebp + 8]
mov dword [edi + 4], 0x47e4e4
mov dword [edi], 0x47e4f8
mov dword [edi + 4], 0x47e518
mov dword [edi + 0x10], ebx
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 0x60]
push ecx
call fcn.00428200
mov edx, dword [eax]
mov ecx, dword [ebx + 8]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
add dword [ebx + 8], 0x10
mov eax, dword [edi + 0x10]
push 0xffffd8f0
call fcn.0041efe0
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 8], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
add esp, 8
push eax
call edx
push 8
call fcn.0045631d
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x414c0d
mov eax, dword [edi + 8]
mov dword [esi], 0x47e398
mov dword [esi + 4], eax
cmp eax, ebx
je 0x414c0f
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
jmp 0x414c0f
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 8]
lea edx, [ebp - 0x10]
mov dword [edi + 0x24], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp + 8], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x414df0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [edi + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x18], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x1c], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [edi + 8]
mov dword [edi + 0x20], edx
movzx esi, word [eax + 0x2c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x4c]
push ecx
mov dword [ebp - 0x18], esi
call eax
xor ecx, ecx
mov eax, esi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045631d
xor esi, esi
add esp, 4
mov dword [edi + 0x2c], eax
mov dword [edi + 0x34], ebx
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x18], ebx
jbe 0x414d35
mov eax, dword [edi + 8]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push esi
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, ebx
jl 0x414d78
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x414d78
test byte [eax + 0x30], 1
jne 0x414d28
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x2c]
mov dword [edx + ecx*8], eax
mov eax, dword [edi + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 1
lea edx, [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
mov edx, dword [edx]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebx
jl 0x414d5f
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x479280]
lea esi, [eax + 1]
push esi
call fcn.0045631d
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x2c]
mov dword [ecx + edx*8 + 4], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x2c]
push esi
push edx
mov edx, dword [ecx + eax*8 + 4]
push edx
call fcn.0045695b
mov eax, dword [ebp + 0xc]
add esp, 0x10
push eax
call dword [0x47927c]
inc dword [edi + 0x34]
mov esi, dword [ebp - 0x14]
inc esi
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x18]
jb 0x414c92
mov eax, dword [0x4961fc]
mov dword [edi + 0x3c], eax
inc eax
mov dword [0x4961fc], eax
mov dword [edi + 0xc], ebx
mov dword [edi + 0x30], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
push ebx
lea ecx, [ebp - 0x44]
push ecx
call fcn.00402250
push 0x48f810
lea edx, [ebp - 0x44]
push edx
call fcn.0045fa84
xor eax, eax
mov dword [ebp - 0x30], str.england
mov dword [ebp - 0x28], 0x47c5e4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
mov ecx, dword [0x494b08]
mov dword [ebp - 0x2c], ebx
mov edi, ecx
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x414da3
sub ecx, esi
lea esi, [ecx + 1]
cmp esi, ebx
jbe 0x414dc2
push esi
mov dword [ebp - 0x24], esi
call fcn.0045631d
add esp, 4
mov dword [ebp - 0x20], eax
push esi
push edi
push eax
call fcn.00467840
mov eax, dword [ebp - 0x20]
push eax
mov ecx, 0x47c588
call fcn.00407a40
add esp, 0x10
push 0x48f810
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.0045fa84
push ebx
push ebx
lea edx, [ebp - 0x30]
push edx
call fcn.00402250
push 0x48f810
lea eax, [ebp - 0x30]
push eax
call fcn.0045fa84
int3