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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4481b6
sub esp, 0x7c
lea edi, [esp + 0x84]
xor eax, eax
call fcn.00459406
mov ecx, dword [esp + 0x80]
jmp 0x447c74
xor eax, eax
mov ecx, edi
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
lea ebx, [ecx + 0xc]
mov dword [esp + 0x50], ebx
cmp edx, 2
jge 0x44803e
mov dword [esp + 0x34], edx
mov ebp, dword [ecx + 4]
mov edi, ebx
mov ebx, dword [ecx]
mov edx, dword [ecx + 8]
test ebp, ebp
je 0x447fda
mov esi, dword [ebx]
dec ebp
mov dword [ecx + 4], ebp
dec edx
mov dword [ecx + 8], edx
mov ebp, dword [0x5a34c0]
neg edx
sar edx, 0x1f
and edx, 4
add edx, ebx
test ebp, ebp
jne 0x447cc2
mov dword [ecx], edx
jmp 0x447ccb
mov edi, ecx
mov eax, edx
call fcn.00459240
mov dword [esp + 0x24], esi
mov dword [esp], esi
call fcn.00448e60
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x447dfa
mov ecx, dword [0x57d058]
test ecx, ecx
jne 0x447cfd
mov edi, dword [esp + 0x80]
jmp 0x447c70
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004481c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x10]
lea ebx, [edx + eax]
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 4]
mov esi, dword [ecx + 0x14]
mov edi, dword [ecx + 0xc]
cmp esi, ebx
jae 0x447d75
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x2c], edx
lea eax, [0x4cc560]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.004439c0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x4c]
cmp edx, ebx
ja 0x4481ac
mov dword [esp + 0x30], esi
mov dword [esp + 0x48], edi
lea ecx, [0x4cc560]
mov dword [esp], ecx
lea ebx, [edx + edx*4]
sub esi, edx
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ebx, 3
sar esi, 0x1f
and esi, ebx
lea edx, [edi + esi]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.0040f320
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x80]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x14], eax
mov eax, dword [0x5a34c0]
test eax, eax
jne 0x447de4
mov ecx, dword [esp + 0x48]
mov dword [edi + 0xc], ecx
jmp 0x447c70
mov eax, dword [esp + 0x48]
mov ecx, edi
mov edi, dword [esp + 0x50]
call fcn.00459240
mov edi, ecx
jmp 0x447c70
mov edx, dword [eax]
test edx, edx
jne 0x447e03
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x24]
cmp edx, ebx
jae 0x447e14
lea esi, [ebx - 1]
jmp 0x447e16
mov esi, ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00449470
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
cmp byte [edx + 0x27], 3
ja 0x447e44
xor ebx, ebx
jmp 0x447e50
lea ebx, [edx + 0x27]
mov ebp, dword [edx + 0x1c]
lea ebx, [ebx + ebp*4 + 0xd]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x447e5b
mov ebx, edx
jmp 0x447ee6
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], eax
mov dword [esp], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
call fcn.00449b20
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x447eaa
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
jmp 0x447ee2
cmp eax, 0x100000
jae 0x4481a2
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + eax*4 + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00449590
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x54]
mov ebp, eax
xor eax, eax
call fcn.00459406
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebp
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x10]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0xc]
mov esi, ecx
mov ecx, dword [ecx + 0x14]
cmp ecx, ebx
jae 0x447f90
lea eax, [0x4cc560]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.004439c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x80]
mov dword [ebx + 0x14], edx
mov edx, dword [0x5a34c0]
test edx, edx
jne 0x447f7f
mov dword [ebx + 0xc], eax
jmp 0x447f88
mov edi, dword [esp + 0x50]
call fcn.00459240
mov esi, ebx
mov edx, ecx
mov ebp, eax
xor eax, eax
lea ecx, [edx + 1]
mov dword [esi + 0x10], ecx
mov ecx, dword [0x5a34c0]
lea edx, [edx + edx*4]
lea edi, [ebp + edx*8]
test ecx, ecx
jne 0x447fb2
lea esi, [esp + 0x54]
call fcn.004598bc
jmp 0x447fce
lea eax, [0x4cc560]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call fcn.0040f210
xor eax, eax
mov edi, dword [esp + 0x80]
jmp 0x447c70
mov edx, dword [esp + 0x34]
test edx, edx
je 0x448032
cmp edx, 1
jne 0x44802d
mov eax, edi
lea edi, [esp + 0x84]
call fcn.004598bc
mov ecx, dword [esp + 0x80]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 2
mov edx, dword [0x5a34c0]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x44801f
mov dword [ecx + 0xc], ebx
jmp 0x448120
mov edi, eax
mov eax, ebx
call fcn.00459240
jmp 0x448120
cmp edx, 2
jmp 0x448040
mov byte [esp + 0xac], 0
add esp, 0x7c
ret
mov edi, ebx
jne 0x4480cd
mov eax, edi
lea edi, [esp + 0x84]
call fcn.004598bc
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
cmp edx, 1
jbe 0x448196
lea edi, [ecx + 0x18]
mov edx, dword [0x5a34c0]
lea esi, [ebx + 0x28]
test edx, edx
jne 0x448081
call fcn.004598bc
jmp 0x44809b
lea eax, [0x4cc560]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.0040f210
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x80]
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x14], 2
mov edx, dword [0x5a34c0]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x4480c2
mov dword [ecx + 0xc], ebx
jmp 0x448120
mov edi, eax
mov eax, ebx
call fcn.00459240
jmp 0x448120
mov eax, edi
lea edi, [esp + 0x84]
call fcn.004598bc
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
mov ebp, dword [ecx + 0x14]
cmp edx, 1
jb 0x44818a
dec edx
mov dword [ecx + 0x10], edx
lea edx, [ebp - 1]
mov dword [ecx + 0x14], edx
mov ebp, dword [0x5a34c0]
neg edx
sar edx, 0x1f
and edx, 0x28
add edx, ebx
test ebp, ebp
jne 0x448117
mov dword [ecx + 0xc], edx
jmp 0x448120
mov edi, eax
mov eax, edx
call fcn.00459240
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x44817a
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.004496e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x34]
test eax, eax
setg al
mov byte [esp + 0xac], al
add esp, 0x7c
ret
mov eax, 1
mov ecx, edx
call fcn.00459320
mov eax, 1
mov ecx, edx
call fcn.004592c0
mov ecx, 0x100000
call fcn.004592c0
mov eax, edx
mov ecx, ebx
call fcn.00459320
nop
call fcn.00457e00
jmp fcn.00447c40