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

Disassembly:
sub esp, 0xcc
mov edx, dword [esp + 0xd8]
xor ecx, ecx
test edx, edx
setne cl
push ebx
mov ebx, dword [esp + 0xd4]
mov eax, dword [ebx + 0x14]
push esi
mov esi, dword [esp + 0x100]
push edi
test ecx, ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0xc], eax
je 0x53888f
mov edi, dword [esp + 0x108]
test edi, edi
je 0x53888f
test esi, esi
je 0x53888f
test eax, eax
mov edi, 1
mov dword [esp + 0x40], edi
je 0x538895
fld dword [esi + 8]
fcomp qword [0x673460]
fnstsw ax
test ah, 5
jp 0x53888f
fld dword [esi + 0xc]
fcomp qword [0x673460]
fnstsw ax
test ah, 5
jp 0x53888f
fld dword [esi]
fcomp qword [0x6769d8]
fnstsw ax
test ah, 0x41
jne 0x53888f
fld dword [esi + 4]
fcomp qword [0x6769d8]
fnstsw ax
test ah, 0x41
je 0x538895
xor edi, edi
mov dword [esp + 0x40], edi
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x539194
test ecx, ecx
push ebp
mov ebp, dword [esp + 0xf4]
je 0x5388f3
mov eax, dword [esp + 0x104]
mov ecx, dword [edx]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xe4]
push edx
mov dword [esp + 0x80], 0xa
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x84], ecx
mov dword [esp + 0x94], eax
call fcn.004f86c0
add esp, 4
mov dword [esp + 0x84], eax
test edi, edi
je 0x538a69
mov eax, dword [esp + 0x10]
test eax, eax
mov edx, dword [esi + 4]
je 0x538ac1
mov eax, dword [esi]
lea ecx, [esp + 0x94]
push ecx
push edx
push eax
call fcn.00510d00
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
lea ecx, [esp + 0xa8]
push ecx
push edx
push eax
call fcn.00510d00
fld dword [esi + 8]
mov ecx, dword [esp + 0xac]
fcomp qword [0x673460]
mov edi, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov eax, 0x10000
sub ecx, eax
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0xb8]
sub edi, eax
add edx, eax
add ecx, eax
fnstsw ax
add esp, 0x18
test ah, 5
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
jp 0x538b35
fld dword [esi + 0xc]
fcomp qword [0x673460]
fnstsw ax
test ah, 5
jp 0x538b35
fld dword [esi]
fcomp qword [0x6769d8]
fnstsw ax
test ah, 0x41
jne 0x538b35
fld dword [esi + 4]
fcomp qword [0x6769d8]
fnstsw ax
test ah, 0x41
jne 0x538b35
mov eax, dword [esp + 0xe4]
test eax, eax
jne 0x538b49
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x104]
lea eax, [esp + 0x104]
push eax
mov eax, dword [esp + 0x100]
push ecx
mov ecx, dword [esp + 0xf8]
push edx
mov edx, dword [esp + 0xf8]
push esi
mov esi, dword [esp + 0x110]
push esi
push eax
push ebp
push ecx
push edx
call fcn.0061a120
add esp, 0x24
test esi, esi
mov dword [esp + 0xfc], 0x61a780
je 0x538a32
mov dword [esp + 0x100], 0x61a7e0
mov ecx, dword [esp + 0x104]
mov dword [esp + 0xf0], 0x61a600
mov eax, 0x61a680
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xf4], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0xec], 0x61a200
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov edi, dword [ebx + 0x24]
xor esi, esi
xor ebp, ebp
cmp eax, esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x70], edx
mov dword [esp + 0x68], esi
jle 0x539193
mov edi, edi
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x78]
cmp eax, dword [ecx + 8]
jne 0x538aa5
mov ecx, dword [ecx]
xor eax, eax
mov dword [esp + 0x70], ecx
mov bl, byte [ecx + eax + 0xc]
inc eax
mov dword [esp + 0x78], eax
movsx eax, bl
cmp eax, 4
ja case.default.0x538aba
jmp dword [eax*4 + 0x5391a0]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [esp + 0xa4], ecx
fld dword [esp + 0xa4]
fsub dword [0x671614]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
fstp dword [esp + 0xa4]
mov dword [esp + 0xb0], ecx
fld dword [esp + 0xa8]
fsub dword [0x671614]
fstp dword [esp + 0xa8]
fld dword [esp + 0xac]
fadd dword [0x671614]
fstp dword [esp + 0xac]
fld dword [esp + 0xb0]
fadd dword [0x671614]
fstp dword [esp + 0xb0]
mov eax, dword [esp + 0xe4]
test eax, eax
je 0x5389d6
jmp 0x538a69
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x104]
lea edx, [esp + 0x104]
push edx
mov edx, dword [esp + 0x100]
push eax
mov eax, dword [esp + 0xf8]
push ecx
mov ecx, dword [esp + 0xf8]
push esi
mov esi, dword [esp + 0x110]
push esi
push edx
push ebp
push eax
push ecx
call fcn.0061a120
add esp, 0x24
test esi, esi
mov dword [esp + 0xfc], 0x61a490
je 0x538ba5
mov dword [esp + 0x100], 0x61a4f0
mov edx, dword [esp + 0x104]
mov dword [esp + 0xf0], 0x61a2f0
mov eax, 0x61a3a0
mov dword [esp + 0x8c], edx
jmp 0x538a50
test ebp, ebp
je 0x538beb
mov eax, dword [esp + 0x100]
test eax, eax
je 0x538beb
mov eax, dword [esp + 0x104]
push eax
call dword [esp + 0x104]
add esp, 4
xor ebp, ebp
cmp bl, 4
jne 0x538c01
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x68]
dec ecx
cmp eax, ecx
je case.default.0x538aba
cmp esi, dword [edi + 8]
jne 0x538c0a
mov edi, dword [edi]
xor esi, esi
mov eax, dword [esp + 0x10]
test eax, eax
mov edx, dword [edi + esi*8 + 0xc]
je 0x538c8f
mov eax, dword [edi + esi*8 + 0x10]
mov ecx, edx
mov dword [esp + 0x58], edx
mov edx, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x38], edx
inc esi
test eax, eax
mov dword [esp + 0x34], ecx
mov edx, ecx
mov ecx, dword [esp + 0x5c]
je 0x538c59
mov eax, dword [esp + 0x104]
push eax
push ecx
push edx
call dword [esp + 0xfc]
add esp, 0xc
jmp case.default.0x538aba
lea eax, [esp + 0xbc]
push eax
push ecx
push edx
call fcn.00510d30
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xc8]
push eax
push ecx
push edx
call dword [esp + 0x108]
add esp, 0x18
jmp case.default.0x538aba
mov eax, dword [edi + esi*8 + 0xc]
mov ecx, dword [edi + esi*8 + 0x10]
mov dword [esp + 0x60], eax
mov eax, ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xe4]
inc esi
mov dword [esp + 0x3c], edx
test eax, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x64], ecx
mov edx, ecx
je 0x538cf1
lea ecx, [esp + 0xd4]
push ecx
push edx
push eax
call fcn.00510d00
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0xe4]
mov eax, dword [esp + 0xe0]
push ecx
push edx
push eax
call dword [esp + 0x108]
add esp, 0x18
jmp case.default.0x538aba
mov ecx, dword [esp + 0x104]
push ecx
push edx
push eax
call dword [esp + 0xfc]
add esp, 0xc
jmp case.default.0x538aba
cmp esi, dword [edi + 8]
jne 0x538d13
mov edi, dword [edi]
xor esi, esi
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xe4]
mov ecx, dword [edi + esi*8 + 0x10]
test eax, eax
mov eax, dword [edi + esi*8 + 0xc]
je 0x538d76
inc esi
test edx, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
jne 0x538dbe
lea edx, [esp + 0xcc]
push edx
push ecx
push eax
call fcn.00510d30
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xd8]
push eax
push ecx
push edx
call dword [esp + 0x10c]
add esp, 0x18
mov ebp, 1
jmp case.default.0x538aba
inc esi
test edx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
je 0x538dbe
lea edx, [esp + 0xc4]
push edx
push ecx
push eax
call fcn.00510d00
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd0]
push eax
push ecx
push edx
call dword [esp + 0x10c]
add esp, 0x18
mov ebp, 1
jmp case.default.0x538aba
mov edx, dword [esp + 0x104]
push edx
push ecx
push eax
call dword [esp + 0x100]
add esp, 0xc
mov ebp, 1
jmp case.default.0x538aba
cmp esi, dword [edi + 8]
jne 0x538de5
mov edi, dword [edi]
xor esi, esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x538fa4
mov eax, dword [edi + esi*8 + 0xc]
mov dword [esp + 0x2c], eax
mov ecx, dword [edi + esi*8 + 0x10]
mov dword [esp + 0x30], ecx
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jne 0x538e0d
mov edi, dword [edi]
xor esi, esi
mov edx, dword [edi + esi*8 + 0xc]
mov dword [esp + 0x50], edx
mov ebp, dword [edi + esi*8 + 0x10]
mov dword [esp + 0x54], ebp
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jne 0x538e29
mov edi, dword [edi]
xor esi, esi
mov ecx, dword [edi + esi*8 + 0xc]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x1c], ecx
mov eax, dword [edi + esi*8 + 0x10]
inc esi
test ebx, ebx
mov dword [esp + 0x20], eax
je 0x538eda
mov ebx, dword [esp + 0xec]
test ebx, ebx
je 0x538e70
mov edx, dword [esp + 0x104]
push edx
push 1
call ebx
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add esp, 8
xor ebx, ebx
cmp dword [esp + 0x44], ebx
sete bl
push ebx
lea ebx, [esp + 0x80]
push ebx
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push ebp
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
call fcn.00619e10
mov eax, dword [esp + 0x114]
add esp, 0x28
test eax, eax
je 0x538f8a
mov ecx, dword [esp + 0x104]
push ecx
push 0
call eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esp, 8
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov ebp, 1
jmp case.default.0x538aba
mov ebx, dword [esp + 0xe4]
test ebx, ebx
je 0x538f1e
push dword [esp + 0x104]
push eax
mov eax, dword [esp + 0x34]
push ecx
push ebp
push edx
mov edx, dword [esp + 0x44]
push edx
push eax
call dword [esp + 0x114]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esp, 0x1c
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov ebp, 1
jmp case.default.0x538aba
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
call fcn.00510d30
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x54]
push ecx
push edx
push eax
call fcn.00510d30
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.00510d30
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
push ecx
call dword [esp + 0x138]
add esp, 0x40
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov ebp, 1
jmp case.default.0x538aba
mov ecx, dword [edi + esi*8 + 0xc]
mov dword [esp + 0x24], ecx
mov edx, dword [edi + esi*8 + 0x10]
mov dword [esp + 0x28], edx
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jne 0x538fc0
mov edi, dword [edi]
xor esi, esi
mov edx, dword [edi + esi*8 + 0xc]
mov dword [esp + 0x48], edx
mov ebp, dword [edi + esi*8 + 0x10]
mov dword [esp + 0x4c], ebp
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jne 0x538fdc
mov edi, dword [edi]
xor esi, esi
mov ecx, dword [edi + esi*8 + 0xc]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + esi*8 + 0x10]
inc esi
test ebx, ebx
mov dword [esp + 0x18], eax
je 0x539074
mov ebx, dword [esp + 0xec]
test ebx, ebx
je 0x53901f
mov eax, dword [esp + 0x104]
push eax
push 1
call ebx
mov ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add esp, 8
xor ebx, ebx
cmp dword [esp + 0x44], ebx
sete bl
push ebx
lea ebx, [esp + 0x80]
push ebx
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x38]
push ebp
push edx
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
push ecx
call fcn.00619310
mov eax, dword [esp + 0x114]
add esp, 0x28
test eax, eax
je 0x53910d
mov edx, dword [esp + 0x104]
push edx
push 0
call eax
add esp, 8
jmp 0x53910d
mov ebx, dword [esp + 0xe4]
test ebx, ebx
je 0x5390ed
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push eax
push ecx
push edx
call fcn.00510d00
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x5c]
push eax
push ecx
push edx
call fcn.00510d00
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x34]
push eax
push ecx
push edx
call fcn.00510d00
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
push edx
push eax
call dword [esp + 0x138]
add esp, 0x40
jmp 0x53910d
mov ebx, dword [esp + 0x104]
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x34]
push ebp
push edx
mov edx, dword [esp + 0x38]
push ecx
push edx
call dword [esp + 0x114]
add esp, 0x1c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov ebp, 1
jmp case.default.0x538aba
mov edx, dword [esp + 0x104]
push edx
xor ebp, ebp
call dword [esp + 0x100]
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x539152
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
jmp case.default.0x538aba
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
inc eax
cmp eax, ecx
mov dword [esp + 0x68], eax
jl 0x538a90
test ebp, ebp
je 0x539193
mov eax, dword [esp + 0x100]
test eax, eax
je 0x539193
mov ecx, dword [esp + 0x104]
push ecx
call eax
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xcc
ret