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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0xa4]
lea eax, [edi + edi*2]
mov dword [esp + 0x64], edi
lea eax, [edi + eax*4]
movsx eax, word [ecx + eax + 0xef]
test eax, eax
jle 0x53b3ee
cmp eax, dword [0x5b504c]
jg 0x53b3ee
sub eax, 1
imul eax, dword [0x5b5050]
mov ecx, dword [0x5b5059]
mov edi, dword [ecx + eax]
mov ecx, dword [esp + 0x64]
lea eax, [edx + 0x11]
mov dword [esp + 0x48], 0x2a3
mov dword [esp + 0x50], eax
lea eax, [ecx + ecx*8]
mov dword [esp + 0x5c], 0
shl eax, 5
mov dword [esp + 0x3c], 1
mov dword [esp + 0x68], eax
add eax, 0x5c9fc4
mov dword [esp + 0x4c], eax
lea eax, [ecx + ecx*2]
lea eax, [ecx + eax*4]
add eax, dword [esp + 0x58]
mov dword [esp + 0x60], eax
lea eax, [edx + 0x21]
mov dword [esp + 0x54], eax
mov esi, dword [esp + 0x3c]
lea eax, [esi - 1]
cmp eax, 2
jbe 0x53b370
lea eax, [esi - 3]
xor esi, esi
mov dword [esp + 0x38], eax
movsx edx, byte [edi + 0x49]
sub edx, 1
mov ebp, edx
js 0x53b12c
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], 0xffffffff
add eax, 0x5b
mov dword [esp + 0x44], eax
lea eax, [esi + 0x57]
mov dword [esp + 0x40], eax
jmp 0x53b061
mov edx, dword [esp + 0x40]
mov eax, dword [eax + edx*4 + 0xe]
test eax, eax
je 0x53b04c
fld dword [eax + 4]
fnstcw word [esp + 0x6e]
movzx eax, word [esp + 0x6e]
fstp dword [esp + 0x74]
fld dword [esp + 0x74]
or ah, 0xc
mov word [esp + 0x6c], ax
fldcw word [esp + 0x6c]
fistp dword [esp + 0x34]
fldcw word [esp + 0x6e]
sub ebp, 1
js 0x53b120
mov edx, dword [esp + 0x34]
test edx, edx
jns 0x53b1c8
movsx eax, word [edi + ebp*2 + 0x4b]
test eax, eax
jle 0x53b3f5
cmp eax, dword [0x5b504c]
jg 0x53b3f5
sub eax, 1
imul eax, dword [0x5b5050]
mov ecx, dword [0x5b5059]
mov ebx, dword [ecx + eax]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
test eax, eax
je 0x53b0c0
test esi, esi
jne 0x53b018
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x53b04c
mov edx, dword [esp + 0x44]
mov eax, dword [eax + edx*4 + 0xa]
jmp 0x53b020
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x7c]
test eax, eax
je 0x53b168
test esi, esi
je 0x53b04c
movsx ecx, word [eax + 0xfe]
cmp ecx, esi
jne 0x53b04c
fld dword [eax + 0x106]
fnstcw word [esp + 0x6e]
movzx eax, word [esp + 0x6e]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
or ah, 0xc
mov word [esp + 0x6c], ax
fldcw word [esp + 0x6c]
fistp dword [esp + 0x34]
fldcw word [esp + 0x6e]
sub ebp, 1
jns 0x53b055
lea esi, [esi]
mov eax, dword [esp + 0x34]
test eax, eax
jns 0x53b1c8
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, 0x5b9d8c
lea ebx, [eax + 0x10]
mov dword [esp], eax
mov dword [esp + 8], ebx
call fcn.0055c8f0
sub esp, 0x14
jmp 0x53b242
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + pe_nt_image_headers32]
test eax, eax
je 0x53b04c
mov edx, dword [esp + 0x38]
test edx, edx
je 0x53b04c
cmp edx, dword [eax + 0xfe]
jne 0x53b04c
fld dword [eax + 0x102]
fnstcw word [esp + 0x6e]
movzx eax, word [esp + 0x6e]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
or ah, 0xc
mov word [esp + 0x6c], ax
fldcw word [esp + 0x6c]
fistp dword [esp + 0x34]
fldcw word [esp + 0x6e]
jmp 0x53b04c
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x60]
movsx eax, byte [eax + esi + 0xf5]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], 0x53ad90
mov ecx, esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
lea ebx, [eax + 0x10]
mov dword [esp], eax
mov dword [esp + 8], ebx
call fcn.0041cc20
mov ecx, esi
sub esp, 0x24
mov dword [esp + 4], 1
mov dword [esp], 0xffffffff
call fcn.0041cc70
sub esp, 8
add dword [esp + 0x5c], 1
add dword [esp + 0x3c], 1
mov eax, dword [esp + 0x3c]
add dword [esp + 0x4c], 0x24
mov dword [esp + 0x48], ebx
cmp eax, 7
jne 0x53afd0
cmp dword [esp + 0x5c], 1
jle 0x53b381
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x68]
lea eax, [edi + edi*2]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x58]
lea ebx, [esi + 0x5c9fa0]
mov ecx, ebx
cmp byte [edi + eax + 0xf5], 0
mov dword [esp + 0x14], edi
sete al
mov dword [esp + 0xc], ebp
movzx eax, al
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], 0
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0x53ad90
mov dword [esp + 8], 0x2a3
mov dword [esp], 0x293
call fcn.0041cc20
mov ecx, ebx
lea ebx, [esi + 0x5ca09c]
sub esp, 0x24
mov dword [esp + 4], 1
mov dword [esp], 0xffffffff
call fcn.0041cc70
mov ecx, ebx
sub esp, 8
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 7
mov dword [esp + 0x10], 0x53ad90
mov dword [esp + 8], 0x313
mov dword [esp + 4], eax
mov dword [esp], 0x303
call fcn.0041cc20
mov ecx, ebx
sub esp, 0x24
mov dword [esp + 0xa4], 1
mov dword [esp + 0xa0], 0xffffffff
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0041cc70
mov dword [esp + 0x38], 0
mov esi, dword [esp + 0x3c]
jmp 0x53afe9
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x10], 0
mov ecx, 0x5b9d8c
mov dword [esp + 8], 0x2a3
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp], 0x293
call fcn.0055c8f0
mov ecx, 0x5b9d8c
sub esp, 0x14
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x313
mov dword [esp], 0x303
call fcn.0055c8f0
sub esp, 0x14
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret 8
xor edi, edi
jmp 0x53af85
mov eax, dword [pe_dos_header]
ud2