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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x44
push 0
push 0
dec ecx
jne 0x47e749
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 0x2c]
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
mov dword [ebp - 0x10], edx
mov edi, eax
xor eax, eax
push ebp
push 0x47ee02
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
jne 0x47e78b
mov ecx, 0xb1
mov edx, 0x47ee1c
mov eax, 0x47ee58
call fcn.004051a4
mov dl, 1
mov eax, dword [0x47e6bc]
call fcn.0047f520
mov ebx, eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x84], edi
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov dword [ebp - 0xa0], eax
fild dword [ebp - 0xa0]
fild dword [ebp - 0x18]
fdivp st(1)
fstp dword [ebx + 0x14]
wait
lea edi, [ebx + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x10], 0
je 0x47ed99
mov edx, 0x47ee70
mov eax, dword [ebp - 0x10]
call fcn.0041fd94
mov esi, eax
test esi, esi
je 0x47ed99
push 0
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0xa4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xa4]
mov ecx, 0x47ee80
mov eax, dword [ebp - 0x10]
call fcn.0041ff60
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00405d34
je 0x47e869
push 0
lea edx, [ebp - 0xa8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xa8]
mov ecx, 0x47ee9c
mov eax, dword [ebp - 0x10]
call fcn.004202a0
test al, al
jne 0x47e86d
xor eax, eax
jmp 0x47e86f
mov al, 1
test al, al
je 0x47e9bb
push 0
lea edx, [ebp - 0xac]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xac]
mov ecx, 0x47eeb4
mov eax, dword [ebp - 0x10]
call fcn.00420058
mov edi, eax
push 0x40590000
push 0
lea edx, [ebp - 0xb0]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xb0]
mov ecx, 0x47eed4
mov eax, dword [ebp - 0x10]
call fcn.004201e8
fstp dword [ebp - 0x60]
wait
push 0
push 0
lea edx, [ebp - 0xb4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xb4]
mov ecx, 0x47eefc
mov eax, dword [ebp - 0x10]
call fcn.004201e8
fstp dword [ebp - 0x64]
wait
push 0x40240000
push 0
lea edx, [ebp - 0xb8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xb8]
mov ecx, 0x47ef20
mov eax, dword [ebp - 0x10]
call fcn.004201e8
fstp dword [ebp - 0x68]
wait
mov eax, dword [0x4fcf84]
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x9c]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x98], eax
cmp edi, 8
ja case.0x47e93f.4
jmp dword [edi*4 + 0x47e946]
mov al, 7
jmp 0x47e98c
mov al, 1
jmp 0x47e98c
mov al, 3
jmp 0x47e98c
mov al, 5
jmp 0x47e98c
xor eax, eax
jmp 0x47e98c
mov al, 2
jmp 0x47e98c
mov al, 4
jmp 0x47e98c
mov al, 6
jmp 0x47e98c
mov al, 8
push dword [ebp - 0x64]
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x54]
call fcn.0047d498
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x68]
lea ecx, [ebp - 0x9c]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0047f9e0
mov dword [ebx + 0x80], eax
cmp byte [ebp + 8], 0
jne 0x47ed99
push 0
lea edx, [ebp - 0xbc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xbc]
mov ecx, 0x47ef40
mov eax, dword [ebp - 0x10]
call fcn.004202a0
xor al, 1
test al, al
je 0x47e9f7
mov eax, ebx
call fcn.0047f664
mov dword [ebx + 0x78], eax
push 0
lea edx, [ebp - 0xc0]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xc0]
mov ecx, 0x47ef58
mov eax, dword [ebp - 0x10]
call fcn.004202a0
test al, al
je 0x47ed99
push 0
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0xc4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xc4]
mov ecx, 0x47ef6c
mov eax, dword [ebp - 0x10]
call fcn.0041ff60
push 0
lea edx, [ebp - 0xc8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xc8]
mov ecx, 0x47ef90
mov eax, dword [ebp - 0x10]
call fcn.004202a0
mov byte [ebp - 0x19], al
push 0
lea edx, [ebp - 0xcc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xcc]
mov ecx, 0x47efb4
mov eax, dword [ebp - 0x10]
call fcn.00420058
mov dword [ebp - 0x20], eax
push 0x40240000
push 0
lea edx, [ebp - 0xd0]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xd0]
mov ecx, 0x47efd0
mov eax, dword [ebp - 0x10]
call fcn.004201e8
fstp dword [ebp - 0x24]
wait
push 0
lea edx, [ebp - 0xd4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xd4]
mov ecx, 0x47eff8
mov eax, dword [ebp - 0x10]
call fcn.004202a0
mov byte [ebp - 0x29], al
push 0
push 0
lea edx, [ebp - 0xd8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xd8]
mov ecx, 0x47f028
mov eax, dword [ebp - 0x10]
call fcn.004201e8
fstp dword [ebp - 0x28]
wait
push 8
push 8
mov eax, 0x47f04c
mov dword [ebp - 0xfc], eax
mov eax, 0x47f064
mov dword [ebp - 0xf8], eax
mov eax, 0x47f070
mov dword [ebp - 0xf4], eax
mov eax, 0x47f088
mov dword [ebp - 0xf0], eax
mov eax, 0x47f098
mov dword [ebp - 0xec], eax
mov eax, 0x47f0b8
mov dword [ebp - 0xe8], eax
mov eax, 0x47f0cc
mov dword [ebp - 0xe4], eax
mov eax, 0x47f0e8
mov dword [ebp - 0xe0], eax
mov eax, 0x47f0f8
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xfc]
mov edx, 0x47f10c
mov eax, esi
call fcn.00423b54
mov byte [ebp - 0x31], al
push 0
lea edx, [ebp - 0x100]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x100]
mov ecx, 0x47f120
mov eax, dword [ebp - 0x10]
call fcn.00420058
mov edi, eax
mov dl, 1
mov eax, dword [0x416b64]
call fcn.00416c68
mov dword [ebp - 0x3c], eax
test edi, edi
jle 0x47ec50
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x38], 1
lea edx, [ebp - 0x200]
mov eax, dword [ebp - 0x38]
call fcn.00403a40
lea edx, [ebp - 0x200]
lea eax, [ebp - 0xc]
call fcn.00405484
push 0
lea eax, [ebp - 0x204]
push eax
lea edx, [ebp - 0x208]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x208]
push eax
lea eax, [ebp - 0x210]
mov ecx, dword [ebp - 0xc]
mov edx, 0x47f158
call fcn.0040550c
mov edx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
call fcn.00405bf0
mov ecx, dword [ebp - 0x20c]
mov eax, dword [ebp - 0x10]
pop edx
call fcn.0041ff60
mov edx, dword [ebp - 0x204]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
inc dword [ebp - 0x38]
dec dword [ebp - 0x6c]
jne 0x47ebca
push dword [ebp - 0x28]
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x44]
movzx eax, byte [ebp - 0x31]
call fcn.0047d498
push 0
lea edx, [ebp - 0x214]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x214]
mov ecx, 0x47f170
mov eax, dword [ebp - 0x10]
call fcn.004202a0
mov byte [ebx + 0x68], al
push 0
lea edx, [ebp - 0x218]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x218]
mov ecx, 0x47f194
mov eax, dword [ebp - 0x10]
call fcn.004202a0
mov byte [ebx + 0x69], al
cmp byte [ebx + 0x68], 0
je 0x47ecb8
cmp byte [ebx + 0x69], 0
jne 0x47ecbc
xor eax, eax
jmp 0x47ecbe
mov al, 1
mov byte [ebx + 0xa8], al
push 0
lea edx, [ebp - 0x21c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x21c]
mov ecx, 0x47f1c4
mov eax, dword [ebp - 0x10]
call fcn.00420058
imul eax, eax, 0x3e8
mov edi, dword [ebx + 0x3c]
mov dword [edi + 0x1c], eax
movzx edx, byte [ebx + 0x69]
mov eax, edi
call fcn.0047e5c8
push 0x3e8
lea edx, [ebp - 0x220]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x220]
mov ecx, 0x47f1f4
mov eax, dword [ebp - 0x10]
call fcn.00420058
mov dword [ebx + 0x6c], eax
push 0x1f4
lea edx, [ebp - 0x224]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x224]
mov ecx, 0x47f220
mov eax, dword [ebp - 0x10]
call fcn.00420058
mov dword [ebx + 0x70], eax
cmp byte [ebx + 0x68], 0
je 0x47ed60
cmp byte [ebx + 0x69], 0
je 0x47ed60
xor eax, eax
mov dword [ebx + 0x74], eax
jmp 0x47ed67
mov dword [ebx + 0x74], 0x42c80000
push dword [ebp - 0x24]
movzx eax, byte [ebp - 0x29]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x20]
push eax
movzx eax, byte [ebp - 0x19]
push eax
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0048047c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ee09
lea eax, [ebp - 0x224]
mov edx, 5
call fcn.00405a48
lea eax, [ebp - 0x210]
call fcn.0040525c
lea eax, [ebp - 0x20c]
mov edx, 3
call fcn.00405a48
lea eax, [ebp - 0x100]
call fcn.00405a30
lea eax, [ebp - 0xd8]
mov edx, 0xe
call fcn.00405a48
lea eax, [ebp - 0xc]
call fcn.0040525c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405a48
ret