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

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
push edi
push 2
lea eax, [esi + 0x10]
push eax
push ebp
call fcn.004bee50
lea edi, [esi + 0x12]
push 2
push edi
push ebp
call fcn.004bee50
lea ecx, [esi + 0x14]
push 2
push ecx
push ebp
call fcn.004bee50
lea edx, [esi + 0x16]
push 2
push edx
push ebp
call fcn.004bee50
movsx eax, word [edi]
mov ecx, dword [esp + 0x48]
add esp, 0x30
mov edi, dword [ecx + eax*4]
mov byte [esi + 4], 0xa
test edi, edi
je 0x47939a
mov dl, byte [edi + 0xb0]
push ebx
mov byte [esi + 0xb0], dl
mov ax, word [edi + 0xc]
mov word [esi + 0xc], ax
mov cx, word [edi + 0xe]
mov word [esi + 0xe], cx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov al, byte [edi + 0x28]
mov byte [esi + 0x28], al
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x44], edx
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov cx, word [edi + 0x50]
mov word [esi + 0x50], cx
mov dl, byte [edi + 0x52]
mov byte [esi + 0x52], dl
mov al, byte [edi + 0x53]
mov byte [esi + 0x53], al
mov cx, word [edi + 0x54]
mov word [esi + 0x54], cx
mov dx, word [edi + 0x58]
mov word [esi + 0x58], dx
mov al, byte [edi + 0x5a]
mov byte [esi + 0x5a], al
mov cl, byte [edi + 0x5b]
mov byte [esi + 0x5b], cl
mov dx, word [edi + 0x5c]
mov word [esi + 0x5c], dx
mov ax, word [edi + 0x5e]
mov word [esi + 0x5e], ax
mov cx, word [edi + 0x60]
mov word [esi + 0x60], cx
mov dx, word [edi + 0x62]
mov word [esi + 0x62], dx
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 0x68]
mov dword [esi + 0x68], ecx
mov dl, byte [edi + 0x6c]
mov byte [esi + 0x6c], dl
mov al, byte [edi + 0x6d]
mov byte [esi + 0x6d], al
mov cx, word [edi + 0x6e]
mov word [esi + 0x6e], cx
mov dl, byte [edi + 0x70]
mov byte [esi + 0x70], dl
mov ax, word [edi + 0x84]
mov word [esi + 0x84], ax
mov ecx, dword [edi + 0x88]
mov dword [esi + 0x88], ecx
mov dl, byte [edi + 0x93]
mov byte [esi + 0x93], dl
mov al, byte [edi + 0x94]
mov byte [esi + 0x94], al
mov cl, byte [edi + 0x95]
mov byte [esi + 0x95], cl
mov dl, byte [edi + 0x96]
mov byte [esi + 0x96], dl
mov al, byte [edi + 0x97]
mov byte [esi + 0x97], al
mov ecx, dword [edi + 0x8c]
mov dword [esi + 0x8c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov cl, byte [edi + 0x99]
mov byte [esi + 0x99], cl
mov dl, byte [edi + 0x9a]
mov byte [esi + 0x9a], dl
mov al, byte [edi + 0x98]
mov dword [esp + 0x10], 3
mov byte [esi + 0x98], al
mov ecx, dword [edi + 0xa4]
mov dword [esi + 0xa4], ecx
mov edx, dword [edi + 0xa8]
mov dword [esi + 0xa8], edx
mov al, byte [edi + 0xb1]
mov byte [esi + 0xb1], al
mov cl, byte [edi + 0xb2]
mov byte [esi + 0xb2], cl
mov dl, byte [edi + 0xb3]
mov byte [esi + 0xb3], dl
mov al, byte [edi + 0xb4]
mov byte [esi + 0xb4], al
mov cl, byte [edi + 0xb5]
mov byte [esi + 0xb5], cl
mov edx, dword [edi + 0xb8]
mov dword [esi + 0xb8], edx
mov eax, dword [edi + 0xbc]
mov dword [esi + 0xbc], eax
mov ecx, dword [edi + 0xc0]
mov dword [esi + 0xc0], ecx
mov dl, byte [edi + 0xa0]
mov byte [esi + 0xa0], dl
mov al, byte [edi + 0xa1]
lea edx, [esi + 0x90]
mov byte [esi + 0xa1], al
mov cl, byte [edi + 0xa2]
mov dword [esp + 0x1c], edx
lea edx, [esi + 0x78]
mov eax, edi
mov byte [esi + 0xa2], cl
mov dword [esp + 0x18], edx
lea ecx, [esi + 0x72]
sub eax, esi
mov bx, word [eax + ecx]
mov word [ecx], bx
mov ebx, dword [eax + edx]
mov dword [edx], ebx
mov ebx, dword [esp + 0x1c]
add ecx, 2
mov dl, byte [eax + ebx]
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 0x4792c4
mov al, byte [edi + 0x9b]
test al, al
mov byte [esi + 0x9b], al
jbe 0x479379
and eax, 0xff
push 8
push eax
call fcn.005fab6a
mov dword [esi + 0x9c], eax
mov al, byte [esi + 0x9b]
add esp, 8
xor ecx, ecx
test al, al
jbe 0x479383
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 0x479329
jmp 0x479383
mov dword [esi + 0x9c], 0
lea eax, [esi + 8]
mov dword [eax], 0
mov ecx, dword [edi + 8]
push ecx
push eax
call fcn.0049a010
add esp, 8
pop ebx
lea edx, [esi + 0xac]
push 4
push edx
push ebp
call fcn.004bee50
lea eax, [esi + 0x5a]
push 1
push eax
push ebp
call fcn.004bee50
lea ecx, [esi + 0x56]
push 1
push ecx
push ebp
call fcn.004bee50
lea edx, [esi + 0x2a]
push 2
push edx
push ebp
call fcn.004bee50
lea eax, [esi + 0x2c]
push 4
push eax
push ebp
call fcn.004bee50
lea ecx, [esi + 0x30]
push 1
push ecx
push ebp
call fcn.004bee50
add esp, 0x48
lea edx, [esi + 0x34]
push 4
push edx
push ebp
call fcn.004bee50
lea eax, [esi + 0x38]
push 4
push eax
push ebp
call fcn.004bee50
lea ecx, [esi + 0x84]
push 2
push ecx
push ebp
call fcn.004bee50
lea edx, [esi + 0x78]
push 4
push edx
push ebp
call fcn.004bee50
fld dword [0x660284]
fcomp dword [0x62028c]
add esp, 0x30
fnstsw ax
test ah, 1
jne 0x47944c
add esi, 0x5b
push 1
push esi
push ebp
call fcn.004bee50
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ecx
ret 0x10
mov byte [esi + 0x5b], 0
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret 0x10