Function at 0x45eb60
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x52b290], 0
je 0x45eb78
mov eax, 1
mov esp, ebp
pop ebp
ret
mov ecx, dword fs:[0x30]
mov edx, dword [ecx + 0xc]
mov edx, dword [edx + 0xc]
mov ecx, dword [edx + 0x18]
push esi
xor eax, eax
push edi
test ecx, ecx
je 0x45ebd4
mov edi, ecx
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edi + 0x78]
test ecx, ecx
je 0x45ebc7
lea eax, [ecx + edi]
mov ecx, dword [eax + 0xc]
mov esi, dword [ecx + edi]
add ecx, edi
or esi, 0x20202020
cmp esi, 0x6c64746e
jne 0x45ebc7
mov ecx, dword [ecx + 4]
or ecx, 0x20202020
cmp ecx, 0x6c642e6c
je 0x45ebd0
mov edx, dword [edx]
mov ecx, dword [edx + 0x18]
test ecx, ecx
jne 0x45eb90
test eax, eax
jne 0x45ebdc
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x1c]
add ecx, edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x20]
push ebx
mov ebx, dword [eax + 0x18]
mov eax, dword [eax + 0x24]
add ecx, edi
add eax, edi
lea edx, [eax + ebx*2 - 2]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], edx
push 0x48fb28
call fcn.00470024
mov esi, ebx
push 0x48fb30
sub esi, eax
call fcn.00470024
push 0x48fb38
sub esi, eax
call fcn.00470024
push 0x48fb40
sub esi, eax
call fcn.00470024
push str._525
sub esi, eax
call fcn.00470024
push str.1021
add esi, eax
call fcn.00470024
push 0x48fb08
add esi, eax
call fcn.00470024
push 0x48fb00
add esi, eax
call fcn.00470024
mov ecx, dword [ebp - 0xc]
add eax, esi
mov eax, dword [ecx + eax*4 - 4]
add eax, edi
mov edx, 0x775a
add esp, 0x20
cmp word [eax], dx
jne 0x45ecad
push eax
call fcn.0045ea50
mov ecx, dword [ebp - 4]
mov dword [ecx*8 + 0x52b294], eax
mov eax, dword [ebp - 8]
movzx edx, word [eax]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + edx*4]
mov dword [ecx*8 + 0x52b298], edx
inc ecx
add esp, 4
mov dword [ebp - 4], ecx
cmp ecx, 0x1f4
je 0x45ecbd
sub dword [ebp - 8], 2
dec ebx
test ebx, ebx
jne 0x45ec03
mov ecx, dword [ebp - 4]
xor edi, edi
mov dword [0x52b290], ecx
add ecx, 0xffffffff
mov dword [ebp - 4], edi
je 0x45eed8
push 0x48fb40
xor ebx, ebx
call fcn.00470024
mov esi, dword [0x52b290]
sub esi, edi
push 0x48fb38
sub esi, eax
call fcn.00470024
push 0x48fb30
sub esi, eax
call fcn.00470024
push 0x48fb28
sub esi, eax
call fcn.00470024
sub esi, eax
push str._525
dec esi
call fcn.00470024
push str.1021
add esi, eax
call fcn.00470024
push 0x48fb08
add esi, eax
call fcn.00470024
push 0x48fb00
add esi, eax
call fcn.00470024
add esp, 0x20
add eax, esi
je 0x45eec6
mov esi, 0x52b298
lea ebx, [ebx]
push 0x48fb28
call fcn.00470024
mov edi, ebx
push 0x48fb30
sub edi, eax
call fcn.00470024
push 0x48fb38
sub edi, eax
call fcn.00470024
push 0x48fb40
sub edi, eax
call fcn.00470024
push str._525
sub edi, eax
call fcn.00470024
push str.1021
add edi, eax
call fcn.00470024
push 0x48fb08
add edi, eax
call fcn.00470024
add edi, eax
mov eax, dword [esi]
push 0x48fb00
mov dword [ebp - 8], eax
call fcn.00470024
mov ecx, dword [ebp - 8]
add eax, edi
add esp, 0x20
cmp ecx, dword [eax*8 + 0x52b2a0]
jbe 0x45ee4a
mov eax, dword [esi - 4]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
push 0x48fb28
mov dword [esi - 4], edx
mov dword [esi], ecx
mov dword [esi + 4], eax
call fcn.00470024
mov edi, ebx
push 0x48fb30
sub edi, eax
call fcn.00470024
push 0x48fb38
sub edi, eax
call fcn.00470024
push 0x48fb40
sub edi, eax
call fcn.00470024
push str._525
sub edi, eax
call fcn.00470024
push str.1021
add edi, eax
call fcn.00470024
push 0x48fb08
add edi, eax
call fcn.00470024
push 0x48fb00
add edi, eax
call fcn.00470024
mov edx, dword [ebp - 8]
add esp, 0x20
add eax, edi
mov dword [eax*8 + 0x52b2a0], edx
push 0x48fb40
inc ebx
add esi, 8
call fcn.00470024
mov edi, dword [0x52b290]
sub edi, dword [ebp - 4]
push 0x48fb38
sub edi, eax
call fcn.00470024
push 0x48fb30
sub edi, eax
call fcn.00470024
push 0x48fb28
sub edi, eax
call fcn.00470024
sub edi, eax
push str._525
dec edi
call fcn.00470024
push str.1021
add edi, eax
call fcn.00470024
push 0x48fb08
add edi, eax
call fcn.00470024
push 0x48fb00
add edi, eax
call fcn.00470024
add eax, edi
add esp, 0x20
cmp ebx, eax
jb 0x45ed50
mov edi, dword [ebp - 4]
mov eax, dword [0x52b290]
inc edi
dec eax
mov dword [ebp - 4], edi
cmp edi, eax
jb 0x45ecd1
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret