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

Disassembly:
sub esp, 0x3c
mov ecx, dword [esp + 0x48]
push ebx
push ebp
mov ebp, dword [esp + 0x48]
push esi
mov dword [esp + 0x24], ecx
mov cl, byte [esp + 0x58]
mov eax, dword [ebp + 0x14]
push edi
xor edi, edi
test cl, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], edi
jne 0x447900
mov ecx, dword [ebp + 0x250]
mov dword [esp + 0x18], 1
test ch, 0x80
je 0x447904
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x54]
cmp ebx, edi
jne 0x447922
lea esi, [esp + 0x2c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
jmp 0x44798f
cmp dword [ebx + 0x34], edi
je 0x44793b
push ebx
push 0x29
push eax
call fcn.004277e0
add esp, 0xc
cmp eax, edi
jne 0x447bdc
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x1c]
lea edx, [eax + 0xc]
cmp ecx, edi
mov dword [esp + 0x1c], edx
je 0x447971
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
mov esi, dword [eax + 0x394]
and esi, 0x40000
cmp esi, edi
je 0x447965
mov eax, ecx
jmp 0x44796a
mov eax, dword [edx + 0x2c]
add eax, ecx
mov ecx, dword [eax + 0x1c]
cmp ecx, edi
jne 0x44795d
mov ecx, dword [eax + 0x14]
add eax, 0x14
cmp ecx, edi
jne 0x447984
cmp dword [eax + 4], edi
jne 0x447984
mov dword [esp + 0x28], eax
mov ecx, dword [ebx + 8]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov edx, dword [ebp + 0x48]
cmp dword [edx + 8], 0xffffffff
jne 0x4479a9
push ebp
call fcn.00475600
add esp, 4
cmp eax, edi
jne 0x447bdc
mov ebp, dword [esp + 0x70]
cmp ebp, edi
jne 0x4479b5
xor ecx, ecx
jmp 0x4479b8
mov ecx, dword [ebp + 4]
mov ebx, dword [esp + 0x74]
cmp ebx, edi
jne 0x4479c4
xor eax, eax
jmp 0x4479c7
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x14]
lea eax, [eax + ecx + 0x34]
mov dword [esp + 0x38], eax
mov ecx, dword [edx + 0x140]
cmp ecx, edi
je 0x4479f7
push eax
call dword [ecx]
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x3c]
add esp, 4
add eax, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], eax
cmp dword [esp + 0x18], edi
jne 0x447a2a
cmp dword [esp + 0x54], edi
je 0x447a2a
lea ecx, [esp + 0x10]
add eax, 8
push ecx
push eax
push edx
call fcn.00410bb0
add esp, 0xc
cmp eax, edi
jne 0x447bdc
mov edx, dword [esp + 0x10]
lea edi, [edx + 4]
mov dword [esp + 0x34], edi
jmp 0x447a45
lea ecx, [esp + 0x34]
push ecx
push eax
push edx
call fcn.00410bb0
add esp, 0xc
cmp eax, edi
jne 0x447bdc
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jbe 0x447a69
mov edx, dword [esp + 0x38]
sub edi, ecx
add edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov eax, edi
add eax, 4
mov dword [edi], 0x29
mov dword [eax], ecx
mov edx, dword [esi]
add eax, 4
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
add eax, 8
mov dword [eax], edx
mov edx, dword [ecx + 0x48]
add eax, 4
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
add eax, 4
mov dword [eax], edx
mov edx, dword [esp + 0x6c]
add eax, 4
mov dword [eax], ecx
add eax, 4
mov dword [eax], edx
add eax, 4
test ebp, ebp
jne 0x447ac8
mov dword [eax], ebp
add eax, 4
jmp 0x447ae9
mov ecx, dword [ebp + 4]
mov dword [eax], ecx
mov ecx, dword [ebp + 4]
mov esi, dword [ebp]
add eax, 4
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, dword [ebp + 4]
test ebx, ebx
jne 0x447af4
mov dword [eax], ebx
add eax, 4
jmp 0x447b14
mov ecx, dword [ebx + 4]
mov dword [eax], ecx
mov ecx, dword [ebx + 4]
mov esi, dword [ebx]
add eax, 4
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, dword [ebx + 4]
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x447b28
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
jmp 0x447b2f
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x54]
test ebp, ebp
jne 0x447b78
test edi, edi
je 0x447b78
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x44]
xor esi, esi
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
cmp dword [eax], 0
jne 0x447b56
mov dword [edi + 0x48], eax
mov dword [edi + 0x44], eax
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 0x38]
or ecx, 4
mov dword [eax + 0x38], ecx
mov eax, dword [esp + 0x58]
mov dword [eax], 0
mov dword [eax + 4], 1
jmp 0x447bc4
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x28]
or al, 8
lea edx, [esp + 0x34]
push eax
mov eax, dword [esp + 0x18]
push edx
push ebx
push eax
call fcn.004326f0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x447bc0
test edi, edi
je 0x447bc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x58]
cmp ebx, eax
je 0x447bc0
mov ecx, dword [ebx]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
test ebp, ebp
jne 0x447bc8
test edi, edi
jne 0x447bda
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00410cc0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret