Function at 0x520028
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
push ebx
push ecx
push edx
push esi
push edi
mov edi, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
lea eax, [edi + 0xc]
push eax
lea esi, [esp + 0x30]
mov dword [esp + 0x28], esi
mov eax, esi
call fcn.00520008
jmp 0x52006c
mov eax, dword [esp + 0x28]
call fcn.005250f4
mov ebx, eax
mov eax, dword [esp + 0x24]
call fcn.00525218
jmp 0x5204a6
cmp ebx, 1
jne 0x520088
mov eax, edi
mov ebx, edx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ebx, eax
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 2
jne 0x5200a5
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov ebx, 0
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0x82
jne 0x5200c5
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov ebx, 0
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0x85
jne 0x5200e5
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x34]
mov ebx, 0
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0xf
jne 0x520102
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x78]
mov ebx, 0
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0x86
jne 0x520121
mov eax, edi
mov ebx, ecx
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ebx, eax
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0x83
jne 0x520145
mov eax, edi
mov ebx, ecx
mov ecx, edx
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ebx, 0
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0x84
pushfd
mov eax, edx
shr eax, 0x10
and ax, 0xffff
movzx eax, ax
mov dword [esp + 0x24], eax
popfd
pushfd
movzx eax, dx
mov dword [esp + 0x18], eax
popfd
jne 0x5201a2
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x68]
mov dword [ecx], eax
mov dword [ecx + 4], ebx
sub esp, 8
mov eax, 4
mov ebx, dword [esp + eax + 0x70]
mov dword [esp + eax], ebx
sub eax, 4
jae 0x52017d
mov eax, dword [esp + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x24]
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0xa1
jne 0x5201e9
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x60]
mov dword [ecx], eax
mov dword [ecx + 4], ebx
sub esp, 8
mov eax, 4
mov ebx, dword [esp + eax + 0x68]
mov dword [esp + eax], ebx
sub eax, 4
jae 0x5201bf
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ebx, 0
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0xa4
jne 0x520230
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x58]
mov dword [ecx], eax
mov dword [ecx + 4], ebx
sub esp, 8
mov eax, 4
mov ebx, dword [esp + eax + 0x60]
mov dword [esp + eax], ebx
sub eax, 4
jae 0x520206
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov ebx, 0
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0x200
jne 0x520277
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x50]
mov dword [ecx], eax
mov dword [ecx + 4], ebx
sub esp, 8
mov eax, 4
mov ebx, dword [esp + eax + 0x58]
mov dword [esp + eax], ebx
sub eax, 4
jae 0x52024d
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov ebx, 0
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0x202
jne 0x5202be
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x48]
mov dword [ecx], eax
mov dword [ecx + 4], ebx
sub esp, 8
mov eax, 4
mov ebx, dword [esp + eax + 0x50]
mov dword [esp + eax], ebx
sub eax, 4
jae 0x520294
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov ebx, 0
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0x112
jne 0x5202e6
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov ecx, edx
mov edx, dword [eax]
call dword [edx + 0x48]
mov ebx, 0
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0x24
jne 0x520309
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov ebx, 0
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0x81
jne 0x52032c
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov ebx, eax
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0x46
jne 0x52034f
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov ebx, 0
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0x201
jne 0x520392
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0x40]
mov dword [edx], eax
mov dword [edx + 4], ebx
sub esp, 8
mov eax, 4
mov ebx, dword [esp + eax + 0x48]
mov dword [esp + eax], ebx
sub eax, 4
jae 0x52036c
mov eax, edi
mov ebx, ecx
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov ebx, 0
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0x361
jne 0x5203b3
mov eax, edi
mov ebx, ecx
mov ecx, edx
mov edx, dword [eax]
call dword [edx + 0x74]
mov ebx, eax
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 5
jne 0x5203da
mov eax, edi
mov ebx, ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov edi, dword [eax]
call dword [edi + 0x70]
mov ebx, 0
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0x363
jne 0x5203fa
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x7c]
mov ebx, 0
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0x36b
jne 0x52041f
mov eax, edi
mov ebx, edx
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov ebx, 0
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0xd
jne 0x52043a
mov eax, edi
mov ebx, ecx
mov ecx, edx
mov edx, dword [eax]
call dword [edx + 0x50]
mov ebx, eax
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0xe
jne 0x520455
mov eax, edi
mov ebx, ecx
mov ecx, edx
mov edx, dword [eax]
call dword [edx + 0x54]
mov ebx, eax
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 0xc
jne 0x520470
mov eax, edi
mov ebx, ecx
mov ecx, edx
mov edx, dword [eax]
call dword [edx + 0x58]
mov ebx, eax
mov eax, esi
call fcn.00525218
jmp 0x5204a6
cmp ebx, 6
jne 0x520053
inc byte [edi + 0x14]
cmp byte [edi + 0x14], 5
jge 0x520497
mov eax, edi
call fcn.005250f4
mov ebx, eax
dec byte [edi + 0x14]
mov eax, esi
call fcn.00525218
jmp 0x5204a6
dec byte [edi + 0x14]
mov ebx, 0
mov eax, esi
call fcn.00525218
mov eax, ebx
pop edi
pop esi
pop edx
pop ecx
pop ebx
add esp, 0x5c
ret