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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [ebx + 0x24], edx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0xac]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0xb0]
mov dword [ebx + 0x18], eax
lea eax, [esi + 0xa8]
mov ecx, dword [eax]
mov dword [ebx + 0x44], ecx
mov eax, dword [eax]
shr eax, 3
imul eax, dword [esi + 0xac]
add eax, 3
and eax, 0xfffffffc
cmp ecx, 0x10
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x98], eax
mov eax, dword [ebx + 0x18]
push edi
mov dword [ebx + 0x90], edx
mov dword [ebx + 0x94], edx
mov dword [ebx + 0x9c], eax
jne 0x4773d5
mov dword [ebx + 0x34], 0xf800
mov dword [ebx + 0x38], 0x7e0
mov dword [ebx + 0x3c], 0x1f
jmp 0x4773ea
mov dword [ebx + 0x34], 0xff0000
mov dword [ebx + 0x38], 0xff00
mov dword [ebx + 0x3c], 0xff
mov eax, dword [ebp + 0x10]
xor ecx, ecx
inc ecx
mov dword [eax + 4], ecx
mov dword [eax], 0x4000
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov edi, dword [ebx + 0x14]
mov dword [eax + 0x10], edi
mov edi, dword [ebx + 0x18]
mov dword [eax + 0x14], edi
mov dword [eax + 0x100], edx
mov dword [eax + 0x104], edx
mov edi, dword [ebx + 0x44]
add esi, 0xa6
mov dword [eax + 0x1c], ecx
mov dword [eax + 0xf8], ecx
mov dword [eax + 0xfc], ecx
mov dword [eax + 0x18], edi
movzx edi, word [esi]
push 8
mov dword [eax + 0x28], edi
movzx esi, word [esi]
mov dword [eax + 0x2c], esi
pop esi
push 0x24
mov dword [eax + 0x34], esi
mov dword [eax + 0x38], esi
mov dword [eax + 0x3c], esi
pop esi
push 3
mov dword [eax + 0x40], esi
mov dword [eax + 0x44], esi
pop esi
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov ecx, 0x4e20
push 4
mov dword [eax + 0xc0], ecx
mov dword [eax + 0xc4], ecx
mov dword [eax + 0xc8], ecx
pop ecx
mov dword [eax + 0x30], 0x2000
mov dword [eax + 0x24], edx
mov dword [eax + 0x48], 0x33
mov dword [eax + 0x54], esi
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x6c], 0x1a2c
mov dword [eax + 0x70], 0xce4
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], 0x834
mov dword [eax + 0x7c], 0x1bbc
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], 0x578
mov dword [eax + 0x88], 0x320
mov dword [eax + 0x8c], edx
mov dword [eax + 0xb4], 0xc37
mov dword [eax + 0xb8], 0xcda
mov dword [eax + 0xbc], edx
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov dword [eax + 0xb0], edx
mov dword [eax + 0xcc], edx
mov dword [eax + 0xd0], edx
mov dword [eax + 0xd4], edx
mov dword [eax + 0xd8], edx
mov dword [eax + 0xdc], edx
mov dword [eax + 0xe0], edx
mov dword [eax + 0xe4], edx
mov dword [eax + 0xe8], ecx
mov dword [eax + 0xec], esi
mov dword [eax + 0xf4], ecx
mov edi, dword [ebp + 0x14]
push 0x4b
pop ecx
mov esi, 0x12ef0
rep movsd dword es:[edi], dword [esi]
cmp dword [ebx + 0x44], 8
jne 0x4775ac
xor esi, esi
mov dword [eax + 0x20], 0x14
mov ecx, dword [ebx + 0x44]
inc esi
shl esi, cl
mov ecx, dword [ebp + 0x14]
push 8
mov dword [eax + 0x68], esi
or byte [ecx + 2], 8
mov dword [eax + 0xf0], 4
mov dword [ecx + 0x11c], 3
pop esi
sub esi, dword [eax + 0x34]
mov dword [ebx + 0x40], esi
jmp 0x477615
or dword [eax + 0x20], 0xffffffff
mov dword [eax + 0x68], edx
mov ecx, dword [ebx + 0x44]
cmp ecx, 0x10
jne 0x4775d4
mov dword [eax + 0xf0], 5
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x11c], 4
jmp 0x477612
cmp ecx, 0x18
jne 0x4775f2
mov dword [eax + 0xf0], 6
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x11c], 5
jmp 0x477612
cmp ecx, 0x20
jne 0x4776c7
mov dword [eax + 0xf0], 7
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x11c], 6
mov ecx, dword [ebp + 0x14]
or byte [ecx + 2], 1
or dword [ecx + 0x128], 0x20
lea edi, [ebx + 0xb0]
mov esi, edi
xor al, al
mov byte [ebp + 0xb], dl
mov byte [ebp + 0xf], dl
mov dword [ebp + 0x10], 0xec
mov cl, byte [ebp + 0xb]
mov byte [esi + 1], cl
mov cl, byte [ebp + 0xf]
mov byte [esi], al
mov byte [esi + 2], cl
mov byte [esi + 3], dl
add esi, 4
add al, 0x20
jne 0x477659
add byte [ebp + 0xb], 0x20
jne 0x477659
add byte [ebp + 0xf], 0x40
dec dword [ebp + 0x10]
jne 0x477637
mov eax, edi
mov ecx, 0x13108
mov dword [ebp + 8], 0x13130
sub ecx, eax
sub dword [ebp + 8], eax
mov dword [ebp + 0xc], 0xa
mov esi, dword [ecx + eax]
mov dword [eax], esi
mov esi, dword [ebp + 8]
mov esi, dword [esi + eax]
mov dword [eax + 0x3d8], esi
add eax, 4
dec dword [ebp + 0xc]
jne 0x477678
cmp dword [ebx + 0x44], 8
jne 0x4776a4
push edx
push edx
push edx
push edi
push pe_nt_image_headers32
push 1
jmp 0x4776b1
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push dword [ebx + 0x34]
push edx
push edx
push 2
call fcn.004791e6
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0xc], eax
mov dword [ecx + 0x124], eax
xor eax, eax
inc eax
jmp 0x4776c9
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10