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

Disassembly:
sub esp, 0x5c
push ebx
push ecx
push edx
push esi
push edi
push ebp
mov edi, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ecx
mov ebp, edx
mov dword [esp + 0x20], ebp
lea eax, [edi + 0xc]
push eax
lea esi, [esp + 0x34]
mov dword [esp + 0x2c], esi
mov eax, esi
mov edx, ebp
call fcn.00509294
jmp 0x5092fd
mov eax, dword [esp + 0x2c]
call fcn.0050e0c0
mov ebx, eax
mov eax, dword [esp + 0x28]
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 1
jne 0x509319
mov eax, edi
mov ebx, ebp
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ebx, eax
mov eax, esi
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 2
jne 0x509336
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov ebx, 0
mov eax, esi
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0x82
jne 0x509356
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov ebx, 0
mov eax, esi
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0x85
jne 0x509376
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x34]
mov ebx, 0
mov eax, esi
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0xf
jne 0x509393
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x78]
mov ebx, 0
mov eax, esi
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0x86
jne 0x5093b2
mov eax, edi
mov ebx, ecx
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ebx, eax
mov eax, esi
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0x83
jne 0x5093d6
mov eax, edi
mov ebx, ecx
mov ecx, ebp
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ebx, 0
mov eax, esi
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0x84
pushfd
mov eax, ebp
shr eax, 0x10
and ax, 0xffff
movzx edx, ax
mov dword [esp + 0x20], edx
popfd
pushfd
movzx eax, bp
mov dword [esp + 0x1c], eax
popfd
jne 0x50942f
lea ebx, [esp + 0x6c]
mov dword [ebx], eax
mov dword [ebx + 4], edx
sub esp, 8
mov eax, 4
mov ebx, dword [esp + eax + 0x74]
mov dword [esp + eax], ebx
sub eax, 4
jae 0x50940a
mov eax, dword [esp + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x28]
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0xa1
jne 0x509472
lea ebx, [esp + 0x64]
mov dword [ebx], eax
mov dword [ebx + 4], edx
sub esp, 8
mov eax, 4
mov ebx, dword [esp + eax + 0x6c]
mov dword [esp + eax], ebx
sub eax, 4
jae 0x509448
mov eax, dword [esp + 0x34]
mov ebx, ecx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ebx, 0
mov eax, dword [esp + 0x28]
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0xa4
jne 0x5094b7
lea ebx, [esp + 0x5c]
mov dword [ebx], eax
mov dword [ebx + 4], edx
sub esp, 8
mov eax, 4
mov ebx, dword [esp + eax + 0x64]
mov dword [esp + eax], ebx
sub eax, 4
jae 0x50948b
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov ebx, 0
mov eax, dword [esp + 0x28]
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0x200
jne 0x5094fc
lea ebx, [esp + 0x54]
mov dword [ebx], eax
mov dword [ebx + 4], edx
sub esp, 8
mov eax, 4
mov ebx, dword [esp + eax + 0x5c]
mov dword [esp + eax], ebx
sub eax, 4
jae 0x5094d0
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov ebx, 0
mov eax, dword [esp + 0x28]
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0x202
jne 0x509541
lea ebx, [esp + 0x4c]
mov dword [ebx], eax
mov dword [ebx + 4], edx
sub esp, 8
mov eax, 4
mov ebx, dword [esp + eax + 0x54]
mov dword [esp + eax], ebx
sub eax, 4
jae 0x509515
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov ebx, 0
mov eax, dword [esp + 0x28]
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0x112
jne 0x50956b
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ecx, ebp
mov edx, dword [eax]
call dword [edx + 0x48]
mov ebx, 0
mov eax, dword [esp + 0x28]
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0x24
jne 0x509590
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov ebx, 0
mov eax, dword [esp + 0x28]
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0x81
jne 0x5095b5
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov ebx, eax
mov eax, dword [esp + 0x28]
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0x46
jne 0x5095da
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov ebx, 0
mov eax, dword [esp + 0x28]
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0x201
jne 0x509621
mov ebx, dword [esp + 0x1c]
lea edx, [esp + 0x44]
mov dword [edx], eax
mov dword [edx + 4], ebx
sub esp, 8
mov eax, 4
mov ebx, dword [esp + eax + 0x4c]
mov dword [esp + eax], ebx
sub eax, 4
jae 0x5095f7
mov eax, dword [esp + 0x34]
mov ebx, ecx
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov ebx, 0
mov eax, dword [esp + 0x28]
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0x361
jne 0x509646
mov eax, dword [esp + 0x2c]
mov ebx, ecx
mov ecx, ebp
mov edx, dword [eax]
call dword [edx + 0x74]
mov ebx, eax
mov eax, dword [esp + 0x28]
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 5
jne 0x50966b
mov eax, dword [esp + 0x2c]
mov ebx, ecx
mov ecx, dword [esp + 0x18]
mov edi, dword [eax]
call dword [edi + 0x70]
mov ebx, 0
mov eax, esi
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0x363
jne 0x50968b
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x7c]
mov ebx, 0
mov eax, esi
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0x36b
jne 0x5096b0
mov eax, edi
mov ebx, ebp
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov ebx, 0
mov eax, esi
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0xd
jne 0x5096cb
mov eax, edi
mov ebx, ecx
mov ecx, ebp
mov edx, dword [eax]
call dword [edx + 0x50]
mov ebx, eax
mov eax, esi
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0xe
jne 0x5096e6
mov eax, edi
mov ebx, ecx
mov ecx, ebp
mov edx, dword [eax]
call dword [edx + 0x54]
mov ebx, eax
mov eax, esi
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 0xc
jne 0x509701
mov eax, edi
mov ebx, ecx
mov ecx, ebp
mov edx, dword [eax]
call dword [edx + 0x58]
mov ebx, eax
mov eax, esi
call fcn.0050e1dc
jmp 0x509737
cmp ebx, 6
jne 0x5092e4
inc byte [edi + 0x14]
cmp byte [edi + 0x14], 5
jge 0x509728
mov eax, edi
call fcn.0050e0c0
mov ebx, eax
dec byte [edi + 0x14]
mov eax, esi
call fcn.0050e1dc
jmp 0x509737
dec byte [edi + 0x14]
mov ebx, 0
mov eax, esi
call fcn.0050e1dc
mov eax, ebx
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
add esp, 0x5c
ret