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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x5a3089
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ed4
xor eax, eax
push ebp
push 0x5a396d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x5a3988
call fcn.00404e30
jne 0x5a30eb
lea eax, [ebp - 0x14]
mov edx, 0x5a3994
call fcn.00404acc
push 0x5a39c4
push dword [ebp - 4]
push 0x5a39d8
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404dac
mov eax, dword [ebp - 4]
mov edx, 0x5a39e4
call fcn.00404e30
jne 0x5a3114
lea eax, [ebp - 0x14]
mov edx, 0x5a3994
call fcn.00404acc
lea eax, [ebp - 0x18]
mov edx, 0x5a39f0
call fcn.00404acc
mov eax, dword [ebp - 4]
mov edx, 0x5a3a04
call fcn.00404e30
jne 0x5a313d
lea eax, [ebp - 0x14]
mov edx, 0x5a3a10
call fcn.00404acc
lea eax, [ebp - 0x18]
mov edx, 0x5a3a34
call fcn.00404acc
mov eax, dword [ebp - 4]
mov edx, 0x5a3a44
call fcn.00404e30
jne 0x5a3166
lea eax, [ebp - 0x14]
mov edx, 0x5a3a50
call fcn.00404acc
lea eax, [ebp - 0x18]
mov edx, 0x5a3a34
call fcn.00404acc
mov byte [ebp - 9], 0
cmp byte [ebp + 8], 0
je 0x5a317f
lea eax, [ebp - 0x20]
mov edx, 0x5a3a74
call fcn.00404acc
jmp 0x5a318c
lea eax, [ebp - 0x20]
mov edx, 0x5a3a80
call fcn.00404acc
lea edx, [ebp - 0x34]
mov eax, dword [esi + 0x40]
call fcn.00409b98
cmp dword [ebp - 0x34], 0
jne 0x5a31c1
call fcn.0040c500
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x38]
mov eax, 0x5a3a8c
call fcn.0040d294
mov edx, dword [ebp - 0x38]
lea eax, [esi + 0x40]
call fcn.00404a88
xor eax, eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
mov word [esi + 0xac], ax
xor eax, eax
mov dword [esi + 0xae], eax
mov dword [esi + 0xb2], eax
mov word [esi + 0xb6], ax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edi, eax
dec edi
test edi, edi
jl 0x5a393a
inc edi
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ebx, eax
fld xword [ebx + 0x126]
fld xword [ebx + 0xf4]
fsubp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x3c]
mov eax, 0x5a3aa8
call fcn.0040be14
mov eax, dword [ebp - 0x3c]
mov edx, 0x5a3aa8
call fcn.00404e30
je 0x5a324c
mov byte [ebp - 9], 1
lea eax, [ebp - 0x1c]
mov edx, dword [ebx + 0x78]
call fcn.00404acc
cmp dword [ebp - 0x1c], 0
jne 0x5a326a
lea eax, [ebp - 0x1c]
mov edx, 0x5a3ab8
call fcn.00404acc
mov eax, dword [ebp - 0x1c]
mov edx, 0x5a3ab8
call fcn.00404e30
jne 0x5a328c
cmp byte [ebp + 0xc], 0
je 0x5a328c
lea eax, [ebp - 0x1c]
mov edx, 0x5a3ac4
call fcn.00404acc
fld xword [ebx + 0xf4]
fcomp dword [0x5a3ac8]
fnstsw ax
sahf
je 0x5a32b1
fld xword [ebx + 0x108]
fld xword [ebx + 0xf4]
fdivp st(1)
fstp xword [ebp - 0x30]
wait
jmp 0x5a32ce
mov eax, dword [ebx + 0xe0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0xe4]
mov dword [ebp - 0x2c], eax
mov ax, word [ebx + 0xe8]
mov word [ebp - 0x28], ax
cmp dword [ebx + 0xa8], 0
jne 0x5a32e7
lea eax, [ebx + 0xa8]
mov edx, 0x5a3ad4
call fcn.00404a88
cmp dword [ebx + 0xb8], 0
je 0x5a32ff
mov eax, dword [ebx + 0xb8]
call fcn.004db4b4
test al, al
jne 0x5a3326
call fcn.0040c500
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x40]
mov eax, 0x5a3a8c
call fcn.0040d294
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0xb8]
call fcn.00404a88
cmp dword [ebx + 0x2c], 0
jne 0x5a3339
lea eax, [ebx + 0x2c]
mov edx, 0x5a3a74
call fcn.00404a88
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 0xa4]
call fcn.00409b98
cmp dword [ebp - 0x44], 0
je 0x5a335c
mov eax, dword [ebx + 0xa4]
call fcn.004db5e4
test al, al
jne 0x5a336c
lea eax, [ebx + 0xa4]
mov edx, 0x5a3aa8
call fcn.00404a88
mov eax, dword [ebx + 0xb4]
call fcn.00404cec
cmp eax, 0x32
jle 0x5a3398
lea eax, [ebx + 0xb4]
push eax
mov ecx, 0x32
mov edx, 1
mov eax, dword [ebx + 0xb4]
call fcn.00404f44
mov eax, dword [ebx + 0x54]
call fcn.00404cec
cmp eax, 0x32
jle 0x5a33bb
lea eax, [ebx + 0x54]
push eax
mov ecx, 0x32
mov edx, 1
mov eax, dword [ebx + 0x54]
call fcn.00404f44
cmp dword [ebx + 0x7c], 0
jne 0x5a33cc
lea eax, [ebx + 0x7c]
mov edx, dword [esi + 0x70]
call fcn.00404a88
fld xword [esi + 0xa4]
fld xword [ebx + 0xf4]
faddp st(1)
fstp xword [esi + 0xa4]
wait
mov eax, dword [ebp - 0x1c]
mov edx, 0x5a3ae0
call fcn.00404e30
jne 0x5a3405
fld xword [esi + 0xae]
fld xword [ebx + 0xf4]
faddp st(1)
fstp xword [esi + 0xae]
wait
push dword [ebp - 0x14]
push 0x5a3aec
push 0x5a3b80
push 0x5a3c24
push 0x5a3ccc
push 0x5a3d68
push dword [ebp - 0x18]
push 0
lea edx, [ebp - 0x48]
mov eax, dword [ebx]
call fcn.0040a0f0
push dword [ebp - 0x48]
push 0x5a3de4
push dword [esi + 0x3c]
push 0x5a3df0
push dword [ebp - 0x1c]
push 0x5a3df0
push dword [ebx + 0x94]
push 0x5a39d8
push 0x5a3dfc
push dword [ebx + 0xc]
push 0x5a3df0
push dword [ebx + 0x18]
push 0x5a39d8
mov ax, word [ebx + 0xe8]
push eax
push dword [ebx + 0xe4]
push dword [ebx + 0xe0]
lea edx, [ebp - 0x4c]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x4c]
push 0x5a3e18
mov ax, word [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
lea edx, [ebp - 0x50]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x50]
push 0x5a3de4
mov ax, word [ebx + 0xf2]
push eax
push dword [ebx + 0xee]
push dword [ebx + 0xea]
lea edx, [ebp - 0x54]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x54]
push 0x5a39d8
push 0x5a3dfc
mov ax, word [ebx + 0xfc]
push eax
push dword [ebx + 0xf8]
push dword [ebx + 0xf4]
lea edx, [ebp - 0x58]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x58]
push 0x5a3df0
mov ax, word [ebx + 0x106]
push eax
push dword [ebx + 0x102]
push dword [ebx + 0xfe]
lea edx, [ebp - 0x5c]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x5c]
push 0x5a3df0
push dword [ebx + 0x64]
push 0x5a3df0
push dword [ebx + 0x68]
push 0x5a3df0
push dword [ebx + 0x74]
push 0x5a39d8
push 0x5a3dfc
mov ax, word [ebx + 0x110]
push eax
push dword [ebx + 0x10c]
push dword [ebx + 0x108]
lea edx, [ebp - 0x60]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x60]
push 0x5a39d8
lea edx, [ebp - 0x64]
mov eax, dword [ebx + 8]
call fcn.0040a0f0
push dword [ebp - 0x64]
push 0x5a3de4
push dword [ebx + 0x14]
push 0x5a3df0
push dword [ebx + 0x20]
push 0x5a3df0
push dword [ebx + 0x10]
push 0x5a3df0
push dword [ebx + 0x24]
push 0x5a39d8
push 0x5a3dfc
push dword [ebx + 0x28]
push 0x5a3df0
push dword [ebx + 0x40]
push 0x5a3df0
mov ax, word [ebx + 0x124]
push eax
push dword [ebx + 0x120]
push dword [ebx + 0x11c]
lea edx, [ebp - 0x68]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x68]
push 0x5a3df0
push dword [ebx + 0xa8]
push 0x5a3df0
push dword [esi + 0x70]
push 0x5a3df0
push dword [ebx + 0x7c]
push 0x5a39d8
push 0x5a3dfc
push dword [ebx + 0xb8]
push 0x5a3df0
push dword [ebx + 0x54]
push 0x5a3df0
push dword [ebx + 0x1c]
push 0x5a3e24
push dword [ebx + 0x2c]
push 0x5a39d8
mov ax, word [ebx + 0x142]
push eax
push dword [ebx + 0x13e]
push dword [ebx + 0x13a]
lea edx, [ebp - 0x6c]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x6c]
push 0x5a3de4
push dword [ebx + 0x34]
push 0x5a39d8
push 0x5a3dfc
push dword [ebx + 0x98]
push 0x5a3df0
push dword [ebx + 0x9c]
push 0x5a3df0
push dword [ebx + 0xa0]
push 0x5a3df0
mov ax, word [ebx + 0x14c]
push eax
push dword [ebx + 0x148]
push dword [ebx + 0x144]
lea edx, [ebp - 0x70]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x70]
push 0x5a3df0
push dword [ebx + 0xa4]
push 0x5a3df0
push dword [ebx + 0x44]
push 0x5a3df0
push dword [ebx + 0x48]
push 0x5a3e34
push 0x5a3dfc
push dword [ebx + 0x4c]
push 0x5a3df0
push dword [ebx + 0x50]
push 0x5a39d8
mov ax, word [ebx + 0x138]
push eax
push dword [ebx + 0x134]
push dword [ebx + 0x130]
lea edx, [ebp - 0x74]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x74]
push 0x5a3de4
push dword [ebx + 0x80]
push 0x5a3df0
push dword [ebx + 0x84]
push 0x5a3df0
push dword [ebx + 0x88]
push 0x5a3df0
push dword [ebx + 0x8c]
push 0x5a39d8
push 0x5a3dfc
push dword [ebx + 0x90]
push 0x5a39d8
mov ax, word [ebx + 0x156]
push eax
push dword [ebx + 0x152]
push dword [ebx + 0x14e]
lea edx, [ebp - 0x78]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x78]
push 0x5a3e18
mov ax, word [ebx + 0x160]
push eax
push dword [ebx + 0x15c]
push dword [ebx + 0x158]
lea edx, [ebp - 0x7c]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x7c]
push 0x5a3de4
push dword [ebp - 0x1c]
push 0x5a3df0
push dword [ebp - 0x20]
push 0x5a3e24
push dword [ebx + 0xb4]
push 0x5a3df0
push dword [ebx + 0xbc]
push 0x5a39d8
push 0x5a3dfc
mov ax, word [ebx + 0x174]
push eax
push dword [ebx + 0x170]
push dword [ebx + 0x16c]
lea edx, [ebp - 0x80]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x80]
push 0x5a3df0
push dword [ebx + 0x3c]
push 0x5a3df0
push dword [ebx + 0x30]
push 0x5a3df0
push dword [ebx + 0x58]
push 0x5a3df0
push dword [ebx + 0x5c]
push 0x5a3df0
push dword [ebx + 0x60]
push 0x5a3df0
push dword [ebx + 0xc0]
push 0x5a39d8
push 0x5a3dfc
push dword [ebx + 0xc4]
push 0x5a3df0
mov ax, word [ebx + 0x17e]
push eax
push dword [ebx + 0x17a]
push dword [ebx + 0x176]
lea edx, [ebp - 0x84]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x84]
push 0x5a3df0
mov ax, word [ebx + 0x188]
push eax
push dword [ebx + 0x184]
push dword [ebx + 0x180]
lea edx, [ebp - 0x88]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x88]
push 0x5a3df0
mov ax, word [ebx + 0x192]
push eax
push dword [ebx + 0x18e]
push dword [ebx + 0x18a]
lea edx, [ebp - 0x8c]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x8c]
push 0x5a39d8
push 0x5a3dfc
push dword [ebx + 0xc8]
push 0x5a3df0
mov ax, word [ebx + 0x19c]
push eax
push dword [ebx + 0x198]
push dword [ebx + 0x194]
lea edx, [ebp - 0x90]
mov eax, 0x5a3e08
call fcn.0040be14
push dword [ebp - 0x90]
push 0x5a3df0
push dword [ebx + 0xcc]
push 0x5a3df0
push dword [ebx + 0xd0]
push 0x5a3df0
push dword [ebx + 0xd4]
push 0x5a3e44
lea eax, [ebp - 0x10]
mov edx, 0x9d
call fcn.00404dac
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x24]
dec edi
jne 0x5a3208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a3974
lea eax, [ebp - 0x90]
mov edx, 0x18
call fcn.00404a58
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.00404a58
lea eax, [ebp - 4]
call fcn.00404a34
ret