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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x284
mov eax, dword [0x4a4368]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x284], eax
push esi
xor eax, eax
test ebx, ebx
push edi
je 0x471b31
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push eax
push eax
push 1
push eax
push eax
push eax
push 0x497098
mov dword [esp + 0x44], eax
call dword [0x4811a0]
mov edi, eax
test edi, edi
mov dword [esp + 0xc], edi
je 0x471a0e
mov esi, dword [0x48119c]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x18
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0x74080
push edi
call esi
test eax, eax
je 0x471a07
mov edx, dword [esp + 0x18]
test dl, 1
je 0x471a07
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov ecx, 0x84
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov dword [esp + 0x48], eax
mov al, byte [ebp + 0xc]
mov cl, al
and cl, 1
or cl, 0xfa
shl cl, 4
mov byte [esp + 0x35], cl
mov edi, 0x10
mov cl, al
sar edi, cl
test edx, edi
jne 0x471a0e
mov edi, dword [esp + 0xc]
push 0
lea edx, [esp + 0x14]
push edx
push 0x210
mov byte [esp + 0x44], al
lea eax, [esp + 0x84]
push eax
push 0x20
lea ecx, [esp + 0x40]
push ecx
push 0x7c088
push edi
mov byte [esp + 0x56], 0xec
mov byte [esp + 0x51], 1
mov byte [esp + 0x52], 1
mov dword [esp + 0x4c], 0x200
call esi
test eax, eax
jne 0x471a25
push edi
call dword [0x481168]
xor eax, eax
mov ecx, dword [esp + 0x28c]
call fcn.0044afa5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov byte [esp + 0x60], 0
lea eax, [esp + 0x4d]
mov esi, 0xa
lea ebx, [ebx]
mov cl, byte [eax - 1]
mov dl, byte [eax]
mov byte [eax - 1], dl
mov byte [eax], cl
add eax, 2
dec esi
jne 0x471a70
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, ebx
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov ecx, 0xa
lea esi, [esp + 0xbe]
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x74], 0
lea eax, [esp + 0x4d]
mov esi, 0x14
mov cl, byte [eax - 1]
mov dl, byte [eax]
mov byte [eax - 1], dl
mov byte [eax], cl
add eax, 2
dec esi
jne 0x471ac4
lea esi, [esp + 0x4c]
xor ecx, ecx
mov eax, ebx
sub esi, ebx
mov edi, edi
cmp byte [eax], 0x20
jne 0x471af1
mov dl, byte [esi + eax]
inc ecx
mov byte [eax], dl
inc eax
cmp ecx, 0xc
jl 0x471ae0
mov ecx, 0xa
lea esi, [esp + 0xb6]
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x74], 0
lea eax, [esp + 0x4d]
mov esi, 0x14
mov cl, byte [eax - 1]
mov dl, byte [eax]
mov byte [eax - 1], dl
mov byte [eax], cl
add eax, 2
dec esi
jne 0x471b11
mov eax, dword [esp + 0xc]
push eax
call dword [0x481168]
mov eax, 1
mov ecx, dword [esp + 0x28c]
call fcn.0044afa5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8