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

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, ecx
push edi
push 2
lea eax, [esi + 0x10]
push eax
push ebp
call fcn.004c5a20
lea edi, [esi + 0x12]
push 2
push edi
push ebp
call fcn.004c5a20
lea ebx, [esi + 0x14]
push 2
push ebx
push ebp
call fcn.004c5a20
lea ecx, [esi + 0x16]
push 2
push ecx
push ebp
call fcn.004c5a20
mov ax, word [edi]
add esp, 0x30
cmp ax, 0x300
jne 0x47f5be
mov word [edi], 0x1a4
jmp 0x47f5c9
cmp ax, 0x302
jne 0x47f5c9
mov word [edi], 0x2b3
mov ax, word [ebx]
cmp ax, 0x300
jne 0x47f5d9
mov word [ebx], 0x1a4
jmp 0x47f5e4
cmp ax, 0x302
jne 0x47f5e4
mov word [ebx], 0x2b3
movsx edx, word [edi]
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + edx*4]
mov byte [esi + 4], 0xa
test edi, edi
je 0x47f8eb
mov cl, byte [edi + 0xb4]
mov byte [esi + 0xb4], cl
mov dx, word [edi + 0xc]
mov word [esi + 0xc], dx
mov ax, word [edi + 0xe]
mov word [esi + 0xe], ax
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x18], ecx
mov edx, dword [edi + 0x1c]
mov dword [esi + 0x1c], edx
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x24], ecx
mov dl, byte [edi + 0x28]
mov byte [esi + 0x28], dl
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x44], ecx
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x4c], edx
mov ax, word [edi + 0x50]
mov word [esi + 0x50], ax
mov cl, byte [edi + 0x52]
mov byte [esi + 0x52], cl
mov dl, byte [edi + 0x53]
mov byte [esi + 0x53], dl
mov ax, word [edi + 0x54]
mov word [esi + 0x54], ax
mov cx, word [edi + 0x58]
mov word [esi + 0x58], cx
mov dl, byte [edi + 0x5a]
mov byte [esi + 0x5a], dl
mov al, byte [edi + 0x5b]
mov byte [esi + 0x5b], al
mov cx, word [edi + 0x5c]
mov word [esi + 0x5c], cx
mov dx, word [edi + 0x5e]
mov word [esi + 0x5e], dx
mov ax, word [edi + 0x60]
mov word [esi + 0x60], ax
mov cx, word [edi + 0x62]
mov word [esi + 0x62], cx
mov edx, dword [edi + 0x64]
mov dword [esi + 0x64], edx
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov cl, byte [edi + 0x6c]
mov byte [esi + 0x6c], cl
mov dl, byte [edi + 0x6d]
mov byte [esi + 0x6d], dl
mov ax, word [edi + 0x6e]
mov word [esi + 0x6e], ax
mov cl, byte [edi + 0x70]
mov byte [esi + 0x70], cl
mov dx, word [edi + 0x84]
mov word [esi + 0x84], dx
mov eax, dword [edi + 0x88]
mov dword [esi + 0x88], eax
mov cl, byte [edi + 0x93]
mov byte [esi + 0x93], cl
mov dl, byte [edi + 0x94]
mov byte [esi + 0x94], dl
mov al, byte [edi + 0x95]
mov byte [esi + 0x95], al
mov cl, byte [edi + 0x96]
mov byte [esi + 0x96], cl
mov dl, byte [edi + 0x97]
mov byte [esi + 0x97], dl
mov eax, dword [edi + 0x8c]
mov dword [esi + 0x8c], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov edx, dword [edi + 0x48]
mov dword [esi + 0x48], edx
mov al, byte [edi + 0x99]
mov byte [esi + 0x99], al
mov cl, byte [edi + 0x9a]
mov byte [esi + 0x9a], cl
mov dl, byte [edi + 0x98]
mov byte [esi + 0x98], dl
mov eax, dword [edi + 0xa8]
mov dword [esi + 0xa8], eax
mov ecx, dword [edi + 0xac]
mov dword [esi + 0xac], ecx
mov dl, byte [edi + 0xb5]
mov byte [esi + 0xb5], dl
mov al, byte [edi + 0xb6]
mov byte [esi + 0xb6], al
mov cl, byte [edi + 0xb7]
mov byte [esi + 0xb7], cl
mov dl, byte [edi + 0xb8]
mov byte [esi + 0xb8], dl
mov al, byte [edi + 0xb9]
mov byte [esi + 0xb9], al
mov ecx, dword [edi + 0xbc]
mov dword [esi + 0xbc], ecx
mov edx, dword [edi + 0xc0]
mov dword [esi + 0xc0], edx
mov eax, dword [edi + 0xc4]
mov dword [esi + 0xc4], eax
mov cl, byte [edi + 0xa0]
mov byte [esi + 0xa0], cl
mov dl, byte [edi + 0xa1]
mov byte [esi + 0xa1], dl
mov al, byte [edi + 0xa2]
lea edx, [esi + 0x90]
mov byte [esi + 0xa2], al
mov ecx, dword [edi + 0xa4]
mov dword [esp + 0x1c], edx
lea edx, [esi + 0x78]
mov eax, edi
mov dword [esi + 0xa4], ecx
mov dword [esp + 0x18], edx
lea ecx, [esi + 0x72]
sub eax, esi
mov dword [esp + 0x10], 3
mov bx, word [ecx + eax]
mov word [ecx], bx
mov ebx, dword [edx + eax]
mov dword [edx], ebx
mov ebx, dword [esp + 0x1c]
add ecx, 2
mov dl, byte [ebx + eax]
mov byte [ebx], dl
mov edx, dword [esp + 0x18]
add edx, 4
inc ebx
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x10]
dec ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ebx
jne 0x47f816
mov al, byte [edi + 0x9b]
test al, al
mov byte [esi + 0x9b], al
jbe 0x47f8cb
and eax, 0xff
push 8
push eax
call fcn.006132aa
mov dword [esi + 0x9c], eax
mov al, byte [esi + 0x9b]
add esp, 8
xor ecx, ecx
test al, al
jbe 0x47f8d5
mov edx, dword [edi + 0x9c]
mov ebx, dword [esi + 0x9c]
movsx eax, cx
shl eax, 3
inc ecx
mov edx, dword [eax + edx]
mov dword [eax + ebx], edx
mov edx, dword [edi + 0x9c]
mov ebx, dword [esi + 0x9c]
mov dl, byte [eax + edx + 4]
mov byte [eax + ebx + 4], dl
mov edx, dword [edi + 0x9c]
mov ebx, dword [esi + 0x9c]
mov dl, byte [eax + edx + 5]
mov byte [eax + ebx + 5], dl
movzx ax, byte [esi + 0x9b]
cmp cx, ax
jl 0x47f87b
jmp 0x47f8d5
mov dword [esi + 0x9c], 0
lea eax, [esi + 8]
mov dword [eax], 0
mov ecx, dword [edi + 8]
push ecx
push eax
call fcn.004a0590
add esp, 8
lea edx, [esi + 0xb0]
push 4
push edx
push ebp
call fcn.004c5a20
lea eax, [esi + 0x5a]
push 1
push eax
push ebp
call fcn.004c5a20
lea ecx, [esi + 0x56]
push 1
push ecx
push ebp
call fcn.004c5a20
lea edx, [esi + 0x2a]
push 2
push edx
push ebp
call fcn.004c5a20
lea eax, [esi + 0x2c]
push 4
push eax
push ebp
call fcn.004c5a20
lea ecx, [esi + 0x30]
push 1
push ecx
push ebp
call fcn.004c5a20
add esp, 0x48
lea edx, [esi + 0x34]
push 4
push edx
push ebp
call fcn.004c5a20
lea eax, [esi + 0x38]
push 4
push eax
push ebp
call fcn.004c5a20
lea ecx, [esi + 0x84]
push 2
push ecx
push ebp
call fcn.004c5a20
lea edx, [esi + 0x78]
push 4
push edx
push ebp
call fcn.004c5a20
fld dword [0x680264]
fcomp dword [0x63b17c]
add esp, 0x30
fnstsw ax
test ah, 1
jne 0x47f99e
add esi, 0x5b
push 1
push esi
push ebp
call fcn.004c5a20
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov byte [esi + 0x5b], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x10