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

Disassembly:
sub esp, 0x1c
lea eax, [esp + 0x20]
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, ecx
push 2
push eax
push esi
mov byte [edi + 4], 0xa
call fcn.004c5a20
lea eax, [edi + 0x10]
push 2
push eax
push esi
call fcn.004c5a20
lea ecx, [edi + 0xc]
push 2
push ecx
push esi
call fcn.004c5a20
fld dword [0x680264]
fcomp dword [0x63b180]
add esp, 0x24
fnstsw ax
test ah, 1
jne 0x47e9ab
lea edx, [edi + 0xe]
push 2
push edx
push esi
call fcn.004c5a20
add esp, 0xc
jmp 0x47e9b1
mov word [edi + 0xe], 0xffff
push ebx
push ebp
lea eax, [edi + 0x16]
push 2
push eax
push esi
call fcn.004c5a20
lea ecx, [esp + 0x28]
push 2
push ecx
push esi
call fcn.004c5a20
lea edx, [esp + 0x36]
push 2
push edx
push esi
call fcn.004c5a20
lea eax, [esp + 0x44]
push 2
push eax
push esi
call fcn.004c5a20
lea ecx, [esp + 0x52]
push 2
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0x28]
push 1
push edx
push esi
call fcn.004c5a20
add esp, 0x48
lea eax, [edi + 0x2a]
push 2
push eax
push esi
call fcn.004c5a20
lea ecx, [edi + 0x2c]
push 4
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0x30]
push 1
push edx
push esi
call fcn.004c5a20
lea ebx, [edi + 0x34]
push 4
push ebx
push esi
call fcn.004c5a20
lea ebp, [edi + 0x38]
push 4
push ebp
push esi
call fcn.004c5a20
lea eax, [edi + 0x3c]
push 4
push eax
push esi
call fcn.004c5a20
add esp, 0x48
lea eax, [esp + 0x18]
push 2
push eax
push esi
call fcn.004c5a20
lea ecx, [esp + 0x26]
push 2
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0x50]
push 2
push edx
push esi
call fcn.004c5a20
push 1
lea eax, [edi + 0x52]
push eax
push esi
call fcn.004c5a20
lea ecx, [edi + 0x53]
push 1
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0x54]
push 2
push edx
push esi
call fcn.004c5a20
add esp, 0x48
lea eax, [edi + 0x56]
push 1
push eax
push esi
call fcn.004c5a20
lea ecx, [edi + 0x58]
push 2
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0x5a]
push 1
push edx
push esi
call fcn.004c5a20
fld dword [0x680264]
fcomp dword [0x63b17c]
add esp, 0x24
fnstsw ax
test ah, 1
jne 0x47eae5
lea eax, [edi + 0x5b]
push 1
push eax
push esi
call fcn.004c5a20
add esp, 0xc
jmp 0x47eae9
mov byte [edi + 0x5b], 0
lea ecx, [edi + 0x5c]
push 2
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0x5e]
push 2
push edx
push esi
call fcn.004c5a20
lea eax, [edi + 0x60]
push 2
push eax
push esi
call fcn.004c5a20
lea ecx, [edi + 0x62]
push 2
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0x64]
push 4
push edx
push esi
call fcn.004c5a20
lea eax, [edi + 0x68]
push 4
push eax
push esi
call fcn.004c5a20
add esp, 0x48
lea ecx, [edi + 0x6c]
push 1
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0x6d]
push 1
push edx
push esi
call fcn.004c5a20
lea eax, [edi + 0x6e]
push 2
push eax
push esi
call fcn.004c5a20
lea ecx, [edi + 0x70]
push 1
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0x84]
push 2
push edx
push esi
call fcn.004c5a20
lea eax, [edi + 0x88]
push 4
push eax
push esi
call fcn.004c5a20
add esp, 0x48
lea ecx, [edi + 0x93]
push 1
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0x94]
push 1
push edx
push esi
call fcn.004c5a20
lea eax, [edi + 0x95]
push 1
push eax
push esi
call fcn.004c5a20
lea ecx, [edi + 0x96]
push 1
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0x97]
push 1
push edx
push esi
call fcn.004c5a20
lea eax, [edi + 0x8c]
push 4
push eax
push esi
call fcn.004c5a20
add esp, 0x48
lea ecx, [edi + 0x98]
push 1
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0xa8]
push 4
push edx
push esi
call fcn.004c5a20
lea eax, [edi + 0xac]
push 4
push eax
push esi
call fcn.004c5a20
lea ecx, [edi + 0xb0]
push 4
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0xb4]
push 1
push edx
push esi
call fcn.004c5a20
lea eax, [edi + 0xb5]
push 1
push eax
push esi
call fcn.004c5a20
add esp, 0x48
lea ecx, [edi + 0xb6]
push 1
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0xb7]
push 1
push edx
push esi
call fcn.004c5a20
fld dword [0x680264]
fcomp dword [0x63b178]
add esp, 0x18
fnstsw ax
test ah, 1
jne 0x47ec87
lea eax, [edi + 0xa0]
push 1
push eax
push esi
call fcn.004c5a20
add esp, 0xc
jmp 0x47ec8e
mov byte [edi + 0xa0], 0
fld dword [0x680264]
fcomp dword [0x63b174]
fnstsw ax
test ah, 1
jne 0x47ecb5
lea ecx, [edi + 0xa1]
push 1
push ecx
push esi
call fcn.004c5a20
add esp, 0xc
jmp 0x47ecbc
mov byte [edi + 0xa1], 0
fld dword [0x680264]
fcomp dword [0x63b170]
fnstsw ax
test ah, 1
jne 0x47ece3
lea edx, [edi + 0xa2]
push 1
push edx
push esi
call fcn.004c5a20
add esp, 0xc
jmp 0x47ecea
mov byte [edi + 0xa2], 0
fld dword [0x680264]
fcomp dword [0x63b16c]
fnstsw ax
test ah, 1
jne 0x47ed11
lea eax, [edi + 0xa4]
push 4
push eax
push esi
call fcn.004c5a20
add esp, 0xc
jmp 0x47ed1b
mov dword [edi + 0xa4], 0
fld dword [0x680264]
fcomp dword [0x63b168]
fnstsw ax
test ah, 1
jne 0x47ed7e
lea ecx, [edi + 0xb8]
push 1
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0xb9]
push 1
push edx
push esi
call fcn.004c5a20
lea eax, [edi + 0xbc]
push 4
push eax
push esi
call fcn.004c5a20
lea ecx, [edi + 0xc0]
push 4
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0xc4]
push 4
push edx
push esi
call fcn.004c5a20
add esp, 0x3c
jmp 0x47eda6
mov eax, dword [ebx]
mov ecx, dword [ebp]
mov edx, dword [edi + 0x3c]
mov byte [edi + 0xb8], 0
mov byte [edi + 0xb9], 0
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], ecx
mov dword [edi + 0xc4], edx
lea eax, [edi + 0x90]
lea ebx, [edi + 0x78]
mov dword [esp + 0x24], eax
lea ebp, [edi + 0x72]
mov dword [esp + 0x28], 3
push 2
push ebp
push esi
call fcn.004c5a20
push 4
push ebx
push esi
call fcn.004c5a20
mov ecx, dword [esp + 0x3c]
push 1
push ecx
push esi
call fcn.004c5a20
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
add esp, 0x24
add ebp, 2
add ebx, 4
inc ecx
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jne 0x47edbe
lea ebp, [edi + 0x9b]
push 1
push ebp
push esi
call fcn.004c5a20
mov al, byte [ebp]
add esp, 0xc
test al, al
jbe 0x47eea3
and eax, 0xff
push 8
push eax
call fcn.006132aa
mov dword [edi + 0x9c], eax
mov al, byte [ebp]
add esp, 8
xor ebx, ebx
test al, al
jbe 0x47eead
lea edx, [esp + 0x12]
push 2
push edx
push esi
call fcn.004c5a20
mov eax, dword [edi + 0x9c]
push 2
movsx ebp, bx
shl ebp, 3
lea ecx, [eax + ebp + 4]
push ecx
push esi
call fcn.004c5a20
mov edx, dword [edi + 0x9c]
push 1
lea eax, [edx + ebp + 5]
push eax
push esi
call fcn.004c5a20
mov ax, word [esp + 0x36]
add esp, 0x24
test ax, ax
jl 0x47ee88
mov edx, dword [esp + 0x34]
movsx ecx, ax
mov eax, dword [edx + ecx*4]
jmp 0x47ee8a
xor eax, eax
mov ecx, dword [edi + 0x9c]
inc ebx
mov dword [ecx + ebp], eax
movzx dx, byte [edi + 0x9b]
cmp bx, dx
jl 0x47ee36
jmp 0x47eead
mov dword [edi + 0x9c], 0
lea eax, [esp + 0x14]
push 2
push eax
push esi
call fcn.004c5a20
lea ecx, [esp + 0x22]
push 2
push ecx
push esi
call fcn.004c5a20
lea edx, [edi + 0x99]
push 1
push edx
push esi
call fcn.004c5a20
lea eax, [edi + 0x9a]
push 1
push eax
push esi
call fcn.004c5a20
mov ax, word [esp + 0x60]
add esp, 0x30
test ax, ax
pop ebp
pop ebx
jle 0x47ef14
movsx ecx, ax
push 1
push ecx
call fcn.006132aa
movsx edx, word [esp + 0x30]
push edx
push eax
push esi
mov dword [edi + 8], eax
call fcn.004c5a20
add esp, 0x14
jmp 0x47ef1b
mov dword [edi + 8], 0
fld dword [0x680264]
fcomp dword [0x63b164]
fnstsw ax
test ah, 1
jne 0x47ef3f
lea eax, [edi + 0x12]
push 2
push eax
push esi
call fcn.004c5a20
add esp, 0xc
jmp 0x47ef47
mov cx, word [edi + 0x10]
mov word [edi + 0x12], cx
fld dword [0x680264]
fcomp dword [0x63b160]
fnstsw ax
test ah, 1
jne 0x47ef6b
lea edx, [edi + 0x14]
push 2
push edx
push esi
call fcn.004c5a20
add esp, 0xc
jmp 0x47ef73
mov ax, word [edi + 0x10]
mov word [edi + 0x14], ax
mov ax, word [esp + 0xc]
mov ecx, dword [esp + 0x30]
test ax, ax
jl 0x47ef89
movsx edx, ax
mov eax, dword [ecx + edx*4]
jmp 0x47ef8b
xor eax, eax
mov dword [edi + 0x40], eax
mov ax, word [esp + 0xe]
test ax, ax
jl 0x47efa0
movsx eax, ax
mov eax, dword [ecx + eax*4]
jmp 0x47efa2
xor eax, eax
mov dword [edi + 0x48], eax
mov ax, word [esp + 0x10]
test ax, ax
jl 0x47efb7
movsx edx, ax
mov eax, dword [ecx + edx*4]
jmp 0x47efb9
xor eax, eax
mov dword [edi + 0x44], eax
mov ax, word [esp + 0x12]
test ax, ax
jl 0x47efce
movsx eax, ax
mov eax, dword [ecx + eax*4]
jmp 0x47efd0
xor eax, eax
mov dword [edi + 0x4c], eax
mov ax, word [esp + 0x14]
test ax, ax
jl 0x47efe9
mov ecx, dword [esp + 0x2c]
movsx edx, ax
mov eax, dword [ecx + edx*4]
jmp 0x47efef
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov dword [edi + 0x18], eax
mov ax, word [esp + 0x16]
test ax, ax
jl 0x47f004
movsx eax, ax
mov eax, dword [ecx + eax*4]
jmp 0x47f006
xor eax, eax
mov dword [edi + 0x1c], eax
mov ax, word [esp + 0x18]
test ax, ax
jl 0x47f01b
movsx edx, ax
mov eax, dword [ecx + edx*4]
jmp 0x47f01d
xor eax, eax
mov dword [edi + 0x20], eax
mov ax, word [esp + 0x1a]
test ax, ax
jl 0x47f040
movsx eax, ax
mov eax, dword [ecx + eax*4]
mov dword [edi + 0x24], eax
pop edi
mov eax, 1
pop esi
add esp, 0x1c
ret 0xc
xor eax, eax
mov dword [edi + 0x24], eax
pop edi
mov eax, 1
pop esi
add esp, 0x1c
ret 0xc