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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], 0
mov ebp, dword [eax + 0x3c]
test ebp, ebp
je 0x529430
mov dword [esp], ebp
call fcn.004122a0
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0x40]
mov dword [esp + 0x20], eax
test ebx, ebx
jne 0x5295ab
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x529430
mov eax, dword [esp + 0x7c]
mov edx, dword [eax]
test edx, edx
je 0x529430
mov esi, eax
mov edi, eax
add eax, 4
add esi, 8
mov dword [esp + 0x24], eax
xor eax, eax
jmp 0x5293b6
mov edx, dword [esi]
mov eax, esi
mov edi, esi
sub eax, dword [esp + 0x7c]
add esi, 8
test edx, edx
je 0x529430
mov ecx, dword [esp + 0x24]
lea ebx, [eax + ecx]
mov eax, dword [ebx]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0xb1c713
mov dword [esp + 4], 7
mov dword [esp + 0x10], eax
mov dword [esp], 0x10
call fcn.00405fb0
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov dword [esp], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.004124c0
test eax, eax
jne 0x5293a5
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov dword [esp + 8], 0xb1c72c
mov dword [esp + 4], 2
mov dword [esp], 0x10
mov dword [esp + 0xc], eax
call fcn.00405fb0
jmp 0x5293a5
mov dword [esp + 4], 0xfffffffe
mov dword [esp], 0xfffffffe
call fcn.00529200
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov ebx, eax
call sub.msvcrt.dll__strdup
mov ecx, dword [esp + 0x78]
or dword [ebx + 0x1c], ecx
mov edx, dword [esp + 0x20]
mov dword [ebx + 0x5c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call dword [ecx + 0x10]
mov edx, dword [esp + 0x84]
mov dword [edx], eax
sub eax, 1
jne 0x529646
cmp dword [ebx + 0x18], 0xfffffffe
jle 0x52958a
mov eax, dword [ebx + 0x1c]
test al, 6
je 0x529569
mov edx, dword [ebx + 8]
test edx, edx
je 0x529563
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov dword [ebx + 0x4c], ecx
mov dword [esp + 0x10], eax
mov eax, dword [edx + 4]
mov dword [esp + 8], 0xb1c772
mov dword [esp + 4], 6
mov dword [esp], 0x10
mov dword [esp + 0xc], eax
call fcn.00405fb0
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
mov dword [esp + 8], 0xb1c783
mov dword [esp + 4], 6
mov dword [esp], 0x10
mov dword [esp + 0xc], eax
call fcn.00405fb0
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 8]
mov dword [esp + 8], 0xb1c79c
mov dword [esp + 4], 6
mov dword [esp], 0x10
mov dword [esp + 0xc], eax
call fcn.00405fb0
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx + 0xc]
mov dword [esp + 8], 0xb1c7b0
mov dword [esp + 4], 6
mov dword [esp], 0x10
mov dword [esp + 0xc], eax
call fcn.00405fb0
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
and eax, 0xfffffff9
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 8]
test eax, eax
je 0x5294af
mov eax, dword [ebx + 0x1c]
test al, 6
jne 0x5294af
or eax, 6
mov dword [ebx + 0x1c], eax
jmp 0x5294af
mov dword [esp + 8], 0xb1c750
mov dword [esp + 4], 2
mov dword [esp], 0x10
call fcn.00405fb0
jmp 0x529499
mov ecx, eax
mov eax, dword [edx + 0x3c]
fldz
fst qword [esp + 0x40]
mov dword [esp + 0x30], 0xb1c6ea
fstp qword [esp + 0x48]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0xad1db0
mov dword [esp + 0x3c], 0
mov dword [esp + 8], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0xb1c6ea
mov dword [esp], eax
call dword [0xad1dc0]
test eax, eax
jns 0x529379
mov edx, dword [esp + 0x74]
xor ebx, ebx
mov dword [esp + 8], 0xb1c6f5
mov dword [esp + 4], 1
mov dword [esp], 0x10
mov dword [esp + 0xc], edx
call fcn.00405fb0
mov ecx, dword [esp + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.00412240
jmp 0x529559
mov eax, dword [ebx + 0x5c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [esp], ebx
xor ebx, ebx
call sub.msvcrt.dll_free
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret