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

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x228]
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [esp + 0x10], esi
jne 0x44716c
mov al, byte [esp + 0x80]
mov cl, byte [esp + 0x7c]
mov dl, byte [esp + 0x78]
mov byte [esp + 0x80], al
mov byte [esp + 0x81], cl
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
mov byte [esp + 0x8a], dl
mov edx, dword [esp + 0x78]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0045cd40
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x1c
cmp dword [esi + 0x18c], ebx
jne 0x447183
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x1c
mov ecx, esi
call fcn.00446eb0
mov ebp, eax
cmp ebp, ebx
jne 0x44719f
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x1c
mov edx, dword [esp + 0x68]
mov ecx, dword [esi + 0x1bc]
mov eax, dword [esi + 0x1c0]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x14]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], ecx
push edx
mov ecx, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], eax
call fcn.004469b0
test eax, eax
jne 0x447219
mov ecx, esi
call fcn.00446f20
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x1c
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
sub esp, 0x10
mov edx, esp
mov dword [edx], esi
add eax, esi
mov dword [edx + 4], edi
lea ecx, [ebx + edi]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], eax
call fcn.00446ff0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x1c4]
mov eax, dword [eax + 0x228]
cmp eax, 0x378
mov dword [esp + 0x68], ecx
ja 0x4473b1
je 0x447364
sub eax, 0x22b
je 0x4472f2
sub eax, 0xa
jne 0x4473f7
movzx dx, byte [esp + 0x78]
movzx ax, byte [esp + 0x7c]
and edx, 0xfff8
shl edx, 5
or edx, eax
mov al, byte [esp + 0x80]
shr al, 3
movzx ax, al
and edx, 0xfffc
shl edx, 3
or edx, eax
mov eax, ecx
imul eax, edi
add eax, ebp
test ebx, ebx
lea esi, [eax + esi*2]
jle 0x4473f7
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x4472e8
mov ecx, eax
mov eax, edx
mov bp, ax
mov edi, esi
shl ebp, 0x10
mov bp, ax
shr ecx, 1
mov eax, ebp
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [esp + 0x68]
add esi, ecx
dec ebx
jne 0x4472c2
jmp 0x4473f7
movzx dx, byte [esp + 0x78]
movzx ax, byte [esp + 0x7c]
and edx, 0xfff8
shl edx, 5
or edx, eax
mov al, byte [esp + 0x80]
shr al, 3
movzx ax, al
and edx, 0xfff8
shl edx, 2
or edx, eax
mov eax, ecx
imul eax, edi
add eax, ebp
test ebx, ebx
lea esi, [eax + esi*2]
jle 0x4473f7
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x44735a
mov ecx, eax
mov eax, edx
mov bp, ax
mov edi, esi
shl ebp, 0x10
mov bp, ax
shr ecx, 1
mov eax, ebp
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [esp + 0x68]
add esi, ecx
dec ebx
jne 0x447334
jmp 0x4473f7
mov edx, ecx
imul edx, edi
add edx, ebp
lea esi, [esi + esi*2]
add esi, edx
test ebx, ebx
jle 0x4473f7
mov dl, byte [esp + 0x80]
mov ebp, ebx
mov edi, dword [esp + 0x3c]
test edi, edi
mov eax, esi
jle 0x4473aa
mov ecx, edi
lea ecx, [ecx]
mov bl, byte [esp + 0x7c]
mov byte [eax + 1], bl
mov bl, byte [esp + 0x78]
mov byte [eax], dl
mov byte [eax + 2], bl
add eax, 3
dec ecx
jne 0x447390
mov ecx, dword [esp + 0x68]
add esi, ecx
dec ebp
jne 0x447381
jmp 0x4473f7
cmp eax, 0x22b8
jne 0x4473f7
movzx edx, byte [esp + 0x80]
xor eax, eax
mov ah, byte [esp + 0x78]
mov al, byte [esp + 0x7c]
shl eax, 8
or eax, edx
mov edx, ecx
imul edx, edi
add edx, ebp
test ebx, ebx
lea esi, [edx + esi*4]
jle 0x4473f7
lea ecx, [ecx]
mov edx, dword [esp + 0x3c]
test edx, edx
jle 0x4473f2
mov ecx, edx
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x68]
add esi, ecx
dec ebx
jne 0x4473e0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x228]
test eax, eax
jne 0x447416
call fcn.0045a3d0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x1c
cmp dword [ecx + 0x1ac], 0x4000
jne 0x447433
mov eax, dword [ecx + 0x18c]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x80]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret 0x1c