Function at 0x617be0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.0040506c
lea esi, [ebp - 0x10]
xor eax, eax
push ebp
push 0x618176
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x848cb0], 0
jne 0x617d06
push 0x618184
call sub.kernel32.dll_LoadLibraryA
mov dword [0x848cb0], eax
cmp dword [0x848cb0], 0
jne 0x617c5e
mov eax, dword [esi]
mov byte [eax + 0x1c0], 1
jmp 0x61814b
push 0x618190
mov eax, dword [0x848cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x848cb4], eax
push 0x6181a0
mov eax, dword [0x848cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x848cb8], eax
push 0x6181b4
mov eax, dword [0x848cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x848cbc], eax
push 0x6181c8
mov eax, dword [0x848cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x848cc0], eax
push 0x6181dc
mov eax, dword [0x848cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x848cc4], eax
push 0x6181f0
mov eax, dword [0x848cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x848cc8], eax
push 0x618200
mov eax, dword [0x848cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x848ccc], eax
push 0x618214
mov eax, dword [0x848cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x848cd0], eax
mov eax, dword [esi]
cmp byte [eax + 0x38], 0
jne 0x617d41
mov eax, dword [esi]
cmp byte [eax + 0x198], 0
je 0x617d41
mov eax, dword [esi]
call fcn.006093c4
test al, al
jne 0x617d41
mov eax, dword [esi]
push eax
push fcn.00617be0
push 0
push 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [esi]
mov eax, dword [esi]
call fcn.006177cc
jmp 0x61814b
mov eax, dword [esi]
mov byte [eax + 0x1c0], 0
lea eax, [ebp - 0x88]
push eax
mov ecx, 7
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.004050dc
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.0040ab48
mov eax, dword [ebp - 0x84]
mov edx, 0x618230
call fcn.00404fc8
je 0x617d92
push ebp
call fcn.00617bc0
pop ecx
jmp 0x61814b
lea eax, [ebp - 0x14]
mov ecx, 7
mov edx, 1
call fcn.0040511c
mov edx, dword [ebp - 0x14]
mov eax, 0x618240
call fcn.004051c0
mov ebx, eax
cmp ebx, 1
jge 0x617dc4
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0x38]
jmp 0x61814b
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.004050dc
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404e84
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.004050dc
mov edx, dword [ebp - 0x18]
mov eax, 0x61824c
call fcn.004051c0
mov ebx, eax
test ebx, ebx
jle 0x617e47
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404e84
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 0x18]
call fcn.004050dc
mov eax, dword [ebp - 0x8c]
mov edx, 0x50
call fcn.0040b324
mov edi, eax
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.004050dc
jmp 0x617e4c
mov edi, 0x50
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
cmp dword [eax + 0x1a8], 0
jne 0x617e9f
push 0
push 0
push 0
push 1
push 0x618250
call dword [0x848cb4]
mov dword [ebp - 0xc], eax
push 0
push 0
push 3
push 0
push 0
push edi
mov eax, dword [ebp - 0x18]
call fcn.0040507c
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [0x848cbc]
mov dword [ebp - 8], eax
jmp 0x617efa
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x1a8]
call fcn.0040507c
push eax
push 3
push 0x618250
call dword [0x848cb4]
mov dword [ebp - 0xc], eax
push 0
push 0
push 3
mov eax, dword [esi]
mov eax, dword [eax + 0x1b0]
call fcn.0040507c
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x1ac]
call fcn.0040507c
push eax
push edi
mov eax, dword [ebp - 0x18]
call fcn.0040507c
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [0x848cbc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x617f13
push ebp
call fcn.00617b78
pop ecx
push ebp
call fcn.00617bc0
pop ecx
jmp 0x61814b
push 0
push 0x84400000
push 0
push 0
push 0x61825c
mov eax, dword [ebp - 0x1c]
call fcn.0040507c
push eax
push 0x618268
mov eax, dword [ebp - 8]
push eax
call dword [0x848cc0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x617f57
push ebp
call fcn.00617b78
pop ecx
push ebp
call fcn.00617bc0
pop ecx
jmp 0x61814b
mov eax, 0x10000
call fcn.00402a80
mov ebx, eax
mov dl, 1
mov eax, dword [0x41c938]
call fcn.00403d80
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call dword [0x848cc4]
mov dword [ebp - 0x24], 0x10000
push 0
lea eax, [ebp - 0x24]
push eax
push ebx
push 5
mov eax, dword [ebp - 4]
push eax
call dword [0x848cc8]
test eax, eax
je 0x617fca
mov edi, ebx
mov eax, dword [ebp - 0x24]
mov byte [edi + eax], 0
lea edx, [ebp - 0x90]
mov eax, edi
call fcn.0040bc5c
mov eax, dword [ebp - 0x90]
xor edx, edx
call fcn.0040b324
mov dword [ebp - 0x24], eax
jmp 0x617fcf
xor eax, eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x6180bb
mov eax, dword [esi]
add eax, 0x1c0
mov dword [ebp - 0x58], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x1c8]
mov dword [ebp - 0x80], edx
mov edx, dword [eax + 0x1cc]
mov dword [ebp - 0x7c], edx
mov eax, dword [esi]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x28
call fcn.00403584
mov dword [ebp - 0x50], 0x28
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 0x10000
push 0
push 8
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [0x848cd0]
test eax, eax
je 0x6180ed
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x6180ed
mov edx, dword [ebp - 0x3c]
mov ecx, eax
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [ebp - 0x7e], 0
je 0x61809d
mov eax, dword [ebp - 0x20]
call fcn.00421334
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
fild qword [ebp - 0x98]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xa0], eax
xor eax, eax
mov dword [ebp - 0x9c], eax
fild qword [ebp - 0xa0]
fdivr dword [0x61826c]
fmulp st(1)
call fcn.00403010
mov ecx, eax
mov edx, dword [esi]
mov eax, dword [ebp - 0x7c]
call dword [ebp - 0x80]
mov eax, dword [ebp - 0x20]
call fcn.00421334
cmp eax, dword [ebp - 0x24]
jae 0x6180ed
mov eax, dword [esi]
cmp byte [eax + 0x1c0], 0
je 0x618012
jmp 0x6180ed
lea eax, [ebp - 0x28]
push eax
push 0x400
push ebx
mov eax, dword [ebp - 4]
push eax
call dword [0x848ccc]
mov edx, ebx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp dword [ebp - 0x28], 0
je 0x6180ed
mov eax, dword [esi]
cmp byte [eax + 0x1c0], 0
je 0x6180bb
mov eax, ebx
call fcn.00402aa0
push ebp
call fcn.00617b78
pop ecx
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.00421320
xor eax, eax
push ebp
push 0x618144
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
cmp byte [eax + 0x1c0], 0
jne 0x61812e
mov edx, dword [ebp - 0x20]
mov eax, dword [esi]
mov si, 0xffe4
call fcn.00403fac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61814b
mov eax, dword [ebp - 0x20]
call fcn.00403db0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61817d
lea eax, [ebp - 0x90]
mov edx, 4
call fcn.00404be0
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404be0
ret