Function at 0x59ce1d
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6c6f36
push eax
mov dword fs:[0], esp
sub esp, 0xf4
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x34], ebx
je 0x59d8c3
mov al, byte [esi + 0x40]
cmp al, 1
jne 0x59ce43
fld dword [esi + 0x44]
fld st(0)
fmul st(1)
fstp dword [esp + 0xac]
fstp st(0)
mov eax, dword [0x72d944]
mov ebp, dword [eax + 0x74]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x58], ebp
mov dword [esp + 0xb0], eax
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10c], ebx
push ecx
lea ecx, [esp + 0x28]
call fcn.0051f170
mov dword [esp + 0x34], ebx
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x34]
push edx
mov byte [esp + 0x110], 2
call fcn.0051f170
mov al, byte [esi + 0x40]
mov byte [esp + 0x10c], 3
cmp al, 1
jne 0x59cea4
cmp byte [esi + 0x48], 1
jne 0x59cea4
mov dword [esi + 0x58], ebx
mov edi, dword [esi + 0x3c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x5c], edi
cmp dword [esi + 0x38], edi
jne 0x59cebc
xor eax, eax
jmp 0x59cec2
mov eax, dword [esi + 0x30]
mov eax, dword [eax + edi*4]
inc edi
cmp eax, ebx
mov dword [esp + 0xa0], eax
je 0x59ceea
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.00477010
inc dword [esp + 0x28]
jmp 0x59ceb3
mov edx, dword [esi]
lea eax, [esp + 0x68]
push ebx
push eax
mov eax, dword [esi + 0x2c]
push 7
push eax
mov ecx, esi
call dword [edx + 0xd4]
push eax
mov ecx, ebp
call fcn.00499a50
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], eax
push ecx
mov ecx, ebp
call fcn.00499da0
cmp eax, ebx
mov dword [esp + 0x3c], eax
je 0x59d4f1
mov edi, dword [esp + 0x3c]
lea edx, [esp + 0xf8]
push edx
mov ecx, edi
call fcn.0040e730
mov eax, dword [edi + 0xc]
test eax, eax
je 0x59d4cf
mov dword [esp + 0x54], eax
lea eax, [esp + 0x60]
lea ecx, [esp + 0xf8]
push eax
lea edx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov byte [esp + 0x1f], 1
call fcn.00498d10
mov al, byte [esi + 0xc]
mov byte [esp + 0x10c], 5
test al, 0x20
je 0x59cf89
mov ecx, dword [esp + 0x60]
mov eax, dword [esi]
lea edx, [esp + 0x48]
push ecx
push edx
mov ecx, esi
call dword [eax + 0xe0]
mov al, byte [esi + 0x5c]
test al, al
je 0x59d4c0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0x38]
cmp ecx, eax
mov dword [esp + 0xa8], eax
jae 0x59d4c0
mov al, byte [esi + 0x40]
mov dword [esp + 0x1c], 0
cmp al, 1
jne 0x59d101
mov ecx, dword [0x72d944]
mov dl, byte [esi + 0x41]
test dl, dl
mov eax, dword [ecx + 0x88]
mov byte [esp + 0x10c], 6
mov eax, dword [eax + 8]
je 0x59d00a
test eax, eax
je 0x59d00a
mov ecx, eax
call fcn.004e69a0
mov ecx, dword [eax]
call fcn.004f72c0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
jmp 0x59d028
mov ecx, dword [ecx + 0x6c]
mov eax, dword [ecx + 0x474]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x9c]
lea edx, [esp + 0xdc]
push ecx
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.00492850
cmp al, 1
jne 0x59d068
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x4e]
xor eax, eax
and edx, 0xffff
mov al, byte [ecx + 0x10]
imul eax, edx
add eax, dword [ecx + 8]
jmp 0x59d06a
xor eax, eax
movsx ecx, word [eax]
movsx edx, word [eax + 2]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
movsx eax, word [eax + 4]
fmul dword [0x6d0350]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
fmul dword [0x6d0350]
fild dword [esp + 0x1c]
fmul dword [0x6d0350]
fstp dword [esp + 0xbc]
fld dword [esp + 0x6c]
fsub st(2)
fstp dword [esp + 0x1c]
fld dword [esp + 0x70]
fsub st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x74]
fsub dword [esp + 0xbc]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fstp dword [esp + 0x1c]
fstp st(0)
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [esp + 0xac]
fnstsw ax
and eax, 0x4100
je 0x59d4c0
mov byte [esp + 0x10c], 5
mov eax, dword [esi + 0x2c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xe8]
cmp al, 1
jne 0x59d28b
mov ecx, dword [0x72d944]
lea edx, [esp + 0xa4]
lea eax, [esp + 0x40]
push edx
mov edi, dword [ecx + 0x6c]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov ecx, dword [esp + 0x64]
call fcn.00492850
cmp al, 1
jne 0x59d15d
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x4e]
xor eax, eax
and edx, 0xffff
mov al, byte [ecx + 0x10]
imul eax, edx
add eax, dword [ecx + 8]
jmp 0x59d15f
xor eax, eax
movsx ecx, word [eax]
mov dword [esp + 0x20], ecx
mov ecx, esi
fild dword [esp + 0x20]
movsx edx, word [eax + 2]
fmul dword [0x6d0350]
mov dword [esp + 0x20], edx
mov edx, dword [esi]
movsx eax, word [eax + 4]
fstp dword [esp + 0x78]
fild dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x2c]
push eax
mov byte [esp + 0x110], 7
fmul dword [0x6d0350]
fstp dword [esp + 0x80]
fild dword [esp + 0x24]
fmul dword [0x6d0350]
fstp dword [esp + 0x84]
call dword [edx + 0xf0]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x7c]
mov eax, dword [esi + 0x2c]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x110], 8
call dword [edx + 0xec]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
fmul dword [esp + 0x20]
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
fstp dword [esp + 0xd0]
mov ebx, 2
add edi, 0x674
mov ebp, 5
mov edx, dword [edi + 0xc]
push edi
lea ecx, [esp + 0xc4]
dec ebp
mov dword [esp + 0x94], edx
call fcn.0041dcd0
fadd dword [esp + 0x90]
fcom dword [esp + 0x20]
fnstsw ax
and eax, 0x4100
je 0x59d4be
fld dword [esp + 0x20]
fchs
fxch st(1)
fcompp
fnstsw ax
and eax, 0x4100
jne 0x59d274
mov ebx, 1
sub edi, 0x10
test ebp, ebp
jne 0x59d22c
test ebx, ebx
je 0x59d4c0
mov byte [esp + 0x10c], 5
cmp byte [esi + 0x40], 1
jne 0x59d336
cmp byte [esi + 0x48], 1
jne 0x59d336
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x4c]
cmp eax, ecx
jae 0x59d4c0
lea ecx, [esp + 0x84]
call fcn.00513ea0
mov ax, word [esp + 0x48]
mov cx, word [esp + 0x4a]
mov dx, word [esp + 0x4c]
mov word [esp + 0x84], ax
mov ax, word [esp + 0x4e]
mov word [esp + 0x86], cx
mov ecx, dword [esp + 0x1c]
lea edi, [esi + 0x50]
mov word [esp + 0x8a], ax
mov dword [esp + 0x8c], ecx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
cmp ecx, eax
mov byte [esp + 0x10c], 9
mov word [esp + 0x88], dx
jne 0x59d316
inc eax
mov ecx, edi
push eax
call fcn.00499dd0
mov eax, dword [edi + 8]
mov ecx, dword [edi]
lea edx, [esp + 0x84]
lea eax, [eax + eax*2]
push edx
lea ecx, [ecx + eax*4]
call fcn.0059dbb0
inc dword [edi + 8]
jmp 0x59d4c0
lea edx, [esp + 0xf0]
lea ecx, [esp + 0x24]
push edx
call fcn.0051f170
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edi, dword [eax + 4]
test edi, edi
mov dword [esp + 0x18], edi
je 0x59d439
mov ebx, dword [esp + 0xa8]
cmp byte [esp + 0x13], 1
jne 0x59d4c0
cmp dword [esp + 0x38], ebx
jae 0x59d439
mov ecx, dword [edi]
lea edx, [esp + 0xd4]
push edx
call fcn.0059dd40
mov cx, word [eax]
cmp cx, word [esp + 0x48]
jne 0x59d417
mov dx, word [eax + 2]
cmp dx, word [esp + 0x4a]
jne 0x59d417
mov cx, word [eax + 4]
cmp cx, word [esp + 0x4c]
jne 0x59d417
mov dx, word [eax + 6]
cmp dx, word [esp + 0x4e]
jne 0x59d417
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jne 0x59d3ed
lea eax, [esp + 0xe8]
lea ecx, [esp + 0x24]
push eax
call fcn.005fee90
mov ecx, dword [eax]
mov byte [esp + 0x13], 0
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov edi, dword [eax + 4]
dec ecx
mov dword [esp + 0x28], ecx
dec ebx
jmp 0x59d422
mov edx, dword [esp + 0x14]
mov edi, dword [eax + 4]
mov ecx, 0x739b10
mov dword [edx + 4], edi
mov eax, dword [esp + 0x18]
push eax
call fcn.0047c0d0
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x13], 0
dec ecx
dec ebx
mov dword [esp + 0x28], ecx
jmp 0x59d422
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov edi, dword [eax + 4]
test edi, edi
mov dword [esp + 0x18], edi
jne 0x59d363
cmp byte [esp + 0x13], 1
jne 0x59d4c0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
add ecx, edx
cmp eax, ecx
jae 0x59d4c0
mov eax, dword [esi]
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call dword [eax + 0xe4]
cmp al, 1
jne 0x59d4c0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
inc ecx
test eax, eax
mov dword [esp + 0x38], ecx
jne 0x59d494
lea edx, [esp + 0x48]
lea eax, [esp + 0xe0]
push edx
push eax
lea ecx, [esp + 0x3c]
call fcn.0059db60
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
jmp 0x59d4c0
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x48]
push eax
lea edx, [esp + 0x98]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.0059da30
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
jmp 0x59d4c0
fstp st(0)
mov eax, dword [esp + 0x54]
dec eax
mov dword [esp + 0x54], eax
jne 0x59cf46
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x110], 3
call fcn.00499da0
test eax, eax
mov dword [esp + 0x3c], eax
jne 0x59cf24
mov al, byte [esi + 0x40]
cmp al, 1
jne 0x59d700
cmp byte [esi + 0x48], 1
jne 0x59d700
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x50]
push 0x59c900
push 0xc
push ecx
push edx
call fcn.006b137a
mov ecx, dword [esi + 0x58]
xor eax, eax
add esp, 0x10
cmp ecx, eax
mov dword [esp + 0x54], eax
jbe 0x59d700
mov edi, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x50]
mov ebx, dword [esp + 0x3c]
add eax, ebx
mov cx, word [eax]
mov word [esp + 0x40], cx
mov dx, word [eax + 2]
mov word [esp + 0x42], dx
mov cx, word [eax + 4]
mov word [esp + 0x44], cx
mov dx, word [eax + 6]
mov word [esp + 0x46], dx
lea eax, [esp + 0x94]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x110], 0xa
mov bl, 1
call fcn.0051f170
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x18], eax
je 0x59d66b
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
lea ebp, [edx + ecx]
cmp bl, 1
jne 0x59d6d9
cmp edi, ebp
jae 0x59d66b
mov eax, dword [eax]
lea edx, [esp + 0xe0]
push edx
mov ecx, eax
call fcn.0059dd40
mov cx, word [eax]
cmp cx, word [esp + 0x40]
jne 0x59d64f
mov dx, word [eax + 2]
cmp dx, word [esp + 0x42]
jne 0x59d64f
mov cx, word [eax + 4]
cmp cx, word [esp + 0x44]
jne 0x59d64f
mov dx, word [eax + 6]
cmp dx, word [esp + 0x46]
jne 0x59d64f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jne 0x59d622
lea eax, [esp + 0xe8]
lea ecx, [esp + 0x24]
push eax
call fcn.005fee90
mov edx, dword [esp + 0x28]
mov ecx, dword [eax]
xor bl, bl
dec edx
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], edx
dec ebp
jmp 0x59d65a
mov edx, dword [esp + 0x14]
mov edi, dword [eax + 4]
mov ecx, 0x739b10
mov dword [edx + 4], edi
mov eax, dword [esp + 0x18]
push eax
call fcn.0047c0d0
mov edx, dword [esp + 0x28]
xor bl, bl
dec edx
mov eax, edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x28], edx
dec ebp
jmp 0x59d65a
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x59d59d
cmp bl, 1
jne 0x59d6d9
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x28]
add ecx, edx
cmp edi, ecx
jae 0x59d6d9
mov eax, dword [esi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call dword [eax + 0xe4]
cmp al, 1
jne 0x59d6d9
mov eax, dword [esp + 0x30]
inc edi
test eax, eax
mov dword [esp + 0x38], edi
jne 0x59d6b1
lea edx, [esp + 0x40]
lea eax, [esp + 0xd4]
push edx
push eax
lea ecx, [esp + 0x3c]
call fcn.0059db60
jmp 0x59d6cc
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0xf4]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.0059da30
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esi + 0x58]
inc eax
add edx, 0xc
cmp eax, ecx
mov byte [esp + 0x10c], 3
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], edx
jb 0x59d536
test byte [esi + 0xc], 0x20
je 0x59d784
mov ebx, dword [esp + 0x58]
lea eax, [esp + 0x68]
push eax
mov ecx, ebx
call fcn.00499da0
mov edi, eax
test edi, edi
je 0x59d784
lea ecx, [esp + 0xb4]
push ecx
mov ecx, edi
call fcn.0040e730
mov ebp, dword [edi + 0xc]
test ebp, ebp
je 0x59d76a
lea edx, [esp + 0x60]
lea eax, [esp + 0xb4]
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, edi
call fcn.00498d10
mov eax, dword [esp + 0x60]
mov edx, dword [esi]
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x114], 0xc
call dword [edx + 0xe0]
dec ebp
jne 0x59d732
lea edx, [esp + 0x68]
mov ecx, ebx
push edx
mov byte [esp + 0x110], 3
call fcn.00499da0
mov edi, eax
test edi, edi
jne 0x59d71c
lea eax, [esp + 0x94]
lea ecx, [esp + 0x24]
push eax
call fcn.0051f170
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x18], eax
je 0x59d7d7
mov eax, dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc8]
cmp al, 1
jne 0x59d7c4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.0059da00
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x59d7a6
lea edx, [esp + 0x94]
lea ecx, [esp + 0x34]
push edx
call fcn.0051f170
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x30], eax
je 0x59d863
mov ebx, dword [esp + 0xb0]
lea ecx, [esi + 0x30]
call fcn.004bb040
mov edi, eax
test edi, edi
je 0x59d863
lea ecx, [esp + 0x2c]
call fcn.0051c8a0
mov dx, word [eax]
sub esp, 8
mov ecx, esp
mov dword [esp + 0x48], esp
mov word [ecx], dx
mov dx, word [eax + 2]
mov word [ecx + 2], dx
mov dx, word [eax + 4]
mov word [ecx + 4], dx
mov ax, word [eax + 6]
mov word [ecx + 6], ax
mov ecx, edi
call fcn.0059dce0
push esi
push 1
push edi
mov ecx, ebx
call fcn.00407b40
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x30], eax
jne 0x59d800
mov ecx, dword [esi + 0xc]
mov byte [esp + 0x10c], 1
and ecx, 0xffffffdf
mov dword [esi + 0xc], ecx
mov esi, dword [esp + 0x34]
test esi, esi
je 0x59d89a
mov edi, dword [esi + 8]
mov ecx, esi
call fcn.0048ede0
mov ecx, dword [0x739b24]
mov dword [esi], ecx
mov dword [0x739b24], esi
test edi, edi
mov esi, edi
jne 0x59d87c
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], 0
test eax, eax
je 0x59d8c3
mov edx, dword [0x739b14]
mov ecx, dword [eax + 4]
mov dword [eax], edx
mov edx, eax
mov eax, ecx
test ecx, ecx
mov dword [0x739b14], edx
jne 0x59d8b0
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x100
ret 4