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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call fcn.00476db8
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x1c]
push eax
movzx eax, byte [esi + 0x1b]
push eax
movzx eax, byte [esi + 0x1a]
push eax
movzx eax, byte [esi + 0x19]
push eax
movzx eax, byte [esi + 0x18]
push eax
push dword [esi + 4]
push dword [esi]
push ebx
call fcn.004772a8
add esp, 0x24
test byte [esi + 8], 1
je 0x474bdc
fld dword [esi + 0x28]
push ecx
push ecx
fstp qword [esp]
push ebx
call fcn.004775a7
add esp, 0xc
test byte [esi + 9], 8
je 0x474bef
movzx eax, byte [esi + 0x2c]
push eax
push ebx
call fcn.004775e2
pop ecx
pop ecx
test byte [esi + 8], 2
je 0x474c07
movzx eax, byte [esi + 0x19]
push eax
lea eax, [esi + 0x44]
push eax
push ebx
call fcn.00477619
add esp, 0xc
test byte [esi + 8], 4
je 0x474c68
fld dword [esi + 0x9c]
sub esp, 0x40
fstp qword [esp + 0x38]
fld dword [esi + 0x98]
fstp qword [esp + 0x30]
fld dword [esi + 0x94]
fstp qword [esp + 0x28]
fld dword [esi + 0x90]
fstp qword [esp + 0x20]
fld dword [esi + 0x8c]
fstp qword [esp + 0x18]
fld dword [esi + 0x88]
fstp qword [esp + 0x10]
fld dword [esi + 0x84]
fstp qword [esp + 8]
fld dword [esi + 0x80]
fstp qword [esp]
push ebx
call fcn.004776c1
add esp, 0x44
test byte [esi + 8], 8
je 0x474c81
movzx eax, word [esi + 0x14]
push eax
push dword [esi + 0x10]
push ebx
call fcn.00476dda
add esp, 0xc
jmp 0x474c92
cmp byte [esi + 0x19], 3
jne 0x474c92
push 0x408228
push ebx
call fcn.00476c05
test byte [esi + 8], 0x10
je 0x474cdb
test byte [ebx + 0x72], 8
je 0x474cc1
cmp byte [esi + 0x19], 3
jne 0x474cc1
xor ecx, ecx
cmp word [esi + 0x16], cx
jbe 0x474cc1
mov eax, dword [esi + 0x4c]
add eax, ecx
or dl, 0xff
sub dl, byte [eax]
inc ecx
mov byte [eax], dl
movzx eax, word [esi + 0x16]
cmp ecx, eax
jl 0x474cac
movzx eax, byte [esi + 0x19]
push eax
movzx eax, word [esi + 0x16]
push eax
lea eax, [esi + 0x50]
push eax
push dword [esi + 0x4c]
push ebx
call fcn.0047797a
add esp, 0x14
test byte [esi + 8], 0x20
je 0x474cf3
movzx eax, byte [esi + 0x19]
push eax
lea eax, [esi + 0x5a]
push eax
push ebx
call fcn.00477a3c
add esp, 0xc
test byte [esi + 8], 0x40
je 0x474d0a
movzx eax, word [esi + 0x14]
push eax
push dword [esi + 0x7c]
push ebx
call fcn.00476e72
add esp, 0xc
test byte [esi + 9], 1
je 0x474d24
movzx eax, byte [esi + 0x6c]
push eax
push dword [esi + 0x68]
push dword [esi + 0x64]
push ebx
call fcn.00478080
add esp, 0x10
test byte [esi + 9], 4
je 0x474d61
push dword [esi + 0xb0]
movzx eax, byte [esi + 0xb5]
push dword [esi + 0xac]
push eax
movzx eax, byte [esi + 0xb4]
push eax
push dword [esi + 0xa8]
push dword [esi + 0xa4]
push dword [esi + 0xa0]
push ebx
call fcn.004780e6
add esp, 0x20
test byte [esi + 8], 0x80
je 0x474d7b
movzx eax, byte [esi + 0x78]
push eax
push dword [esi + 0x74]
push dword [esi + 0x70]
push ebx
call fcn.0047824a
add esp, 0x10
test byte [esi + 9], 2
je 0x474d91
lea eax, [esi + 0x3c]
push eax
push ebx
call fcn.004782b0
or byte [ebx + 0x6e], 1
pop ecx
pop ecx
xor edi, edi
cmp dword [esi + 0x30], edi
mov dword [ebp + 0xc], edi
jle 0x474dfe
mov eax, dword [esi + 0x38]
mov eax, dword [edi + eax]
test eax, eax
jl 0x474dca
mov eax, dword [esi + 0x38]
add eax, edi
push dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push ebx
call fcn.00477cdc
mov eax, dword [esi + 0x38]
add esp, 0x14
mov dword [edi + eax], 0xfffffffe
jmp 0x474df0
cmp eax, 0xffffffff
jne 0x474df0
mov eax, dword [esi + 0x38]
add eax, edi
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push ebx
call fcn.00477c52
mov eax, dword [esi + 0x38]
add esp, 0x10
mov dword [edi + eax], 0xfffffffd
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add edi, 0x10
cmp eax, dword [esi + 0x30]
jl 0x474d9b
pop edi
pop esi
pop ebx
pop ebp
ret