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

Disassembly:
sub esp, 0xc4
push ebx
mov ebx, dword [esp + 0xcc]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
push ebp
mov ebp, dword [edi + 0xc]
push esi
mov esi, eax
mov eax, dword [ebx]
mov dword [esp + 0xa0], eax
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 0x10], eax
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa4], ecx
mov ecx, dword [edi + 8]
sbb eax, eax
mov edx, 1
shl edx, cl
neg eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x88], edx
mov edx, dword [edi + 4]
sub edx, ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x84], edx
mov dword [esp + 0x94], ecx
test eax, eax
je 0x4474fb
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x50], edx
jmp 0x4474ff
mov dword [esp + 0x50], ecx
mov edx, dword [ebx + 4]
mov dword [esp + 0x28], edx
xor edx, edx
cmp eax, edx
je 0x447525
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x50]
add edx, eax
mov dword [esp + 0x68], eax
add eax, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
jmp 0x447531
mov dword [esp + 0x68], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x58], eax
lea eax, [ecx + esi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], ecx
cmp esi, ebp
jae 0x44755d
sub eax, ecx
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret
mov eax, edi
lea esi, [esp + 0xa0]
call fcn.00446fa0
xor esi, esi
test ebp, ebp
jbe 0x4475a8
lea ecx, [esp + 0x10]
push ecx
lea eax, [ebx + 0x20]
push eax
mov eax, dword [esp + 0xe4]
mov edx, ebp
sub edx, esi
push edx
lea ecx, [esi + eax]
push ecx
lea edx, [esp + 0xb0]
push edx
mov dword [esp + 0x24], 0
call fcn.00447010
add esi, eax
add esp, 0x14
cmp esi, ebp
jb 0x447571
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + ebp]
lea eax, [ecx - 8]
mov dword [esp + 0x2c], esi
cmp esi, eax
jae 0x447a75
lea ecx, [esp + 0x10]
push ecx
lea ecx, [ebx + 0x20]
push ecx
sub eax, esi
push eax
lea edx, [esp + 0xac]
push esi
push edx
mov dword [esp + 0x24], 0
call fcn.00447010
xor ecx, ecx
add esp, 0x14
mov dword [esp + 0x8c], eax
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x10], ecx
jbe 0x4476ac
mov ecx, dword [esp + 0x84]
mov eax, 1
shl eax, cl
lea ebp, [ebx + 0x128]
dec eax
mov dword [esp + 0x38], eax
lea ebx, [ebx]
mov ecx, dword [esp + 0x20]
lea eax, [ebx + 0x20]
mov ebx, dword [eax + ecx*4]
mov eax, dword [esp + 0x4c]
sub ebx, eax
add ebx, esi
push eax
mov eax, ebx
call fcn.0044cb00
mov esi, dword [esp + 0x3c]
and esi, eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], ebx
mov ebx, dword [esp + 0xd8]
mov dword [ebp], edx
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x70], edx
mov edx, dword [edi + 0xc]
shl esi, cl
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x14]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x7c], edx
mov edx, dword [edi + 0x14]
mov dword [esp + 0x84], edx
lea edx, [ecx + esi*8]
mov esi, dword [esp + 0x30]
inc eax
mov dword [ebp + 4], edx
add esp, 4
add ebp, 0x10
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x10]
jb 0x447620
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x10], ecx
jbe 0x447a5b
lea eax, [ebx + 0x124]
mov dword [esp + 0x3c], eax
jmp 0x4476cc
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov ebp, dword [eax - 4]
mov esi, dword [eax]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x28]
mov ebx, ebp
sub ebx, ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x98], ebx
cmp ebp, dword [esp + 0xc]
jae 0x447767
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi]
mov ebp, dword [edi + 8]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x6c], edx
mov edx, dword [edi + 0x10]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x1c]
add eax, esi
mov ecx, ebp
shl esi, cl
mov ecx, dword [esp + 0xd4]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x7c], edx
movzx edx, byte [eax]
add esi, edx
mov dword [ecx + esi*8], ebx
mov ebx, dword [esp + 0x34]
mov dword [ecx + esi*8 + 4], ebx
mov bl, 1
mov ecx, ebp
shl bl, cl
inc dl
dec bl
and bl, dl
jmp 0x447a36
mov edx, dword [esp + 0x88]
lea edx, [eax + edx*8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x64], edx
cmp eax, edx
jae 0x4478ff
mov edx, eax
mov eax, dword [esp + 0x34]
cmp dword [edx + 4], eax
jne 0x4478e6
mov eax, dword [edx]
cmp eax, dword [esp + 0x50]
jbe 0x4478e6
cmp dword [esp + 0x90], 0
je 0x447859
mov ebx, dword [esp + 0x94]
cmp eax, ebx
jae 0x4477b9
mov ecx, dword [esp + 0x68]
lea edx, [eax + ecx]
mov dword [esp + 0x30], edx
cmp eax, ebx
jae 0x4477d2
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
jmp 0x4477da
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
cmp eax, ebx
mov eax, dword [esp + 0x40]
jb 0x4477e6
mov eax, dword [esp + 0x58]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
sub eax, edx
add eax, ebp
cmp eax, ecx
jb 0x4477f8
mov eax, ecx
mov ebx, eax
mov ecx, ebp
call fcn.0043dd00
mov ecx, dword [esp + 0x30]
lea edx, [eax + ecx]
mov dword [esp + 0x18], eax
cmp edx, dword [esp + 0x14]
je 0x447816
mov ebx, eax
jmp 0x44782c
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
lea ecx, [eax + ebp]
call fcn.0043dd00
mov ebx, eax
add ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x4c]
jb 0x4478d7
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
mov eax, dword [esp + 0x1c]
push ebp
call fcn.004472a0
add esp, 0x14
jmp 0x4478ba
mov ebx, dword [esp + 0x1c]
lea edx, [eax + ecx]
mov ecx, ebp
mov dword [esp + 0x18], edx
call fcn.0043dd00
mov ebx, eax
cmp ebx, dword [esp + 0x4c]
jb 0x4478d7
mov dword [esp + 0x14], 0
cmp ebp, dword [esp + 0xc]
jbe 0x4478b6
mov ecx, dword [esp + 0x18]
mov edx, ebp
sub edx, ecx
lea eax, [ecx - 1]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], edx
mov ecx, ebp
lea edx, [eax + 1]
cmp edx, dword [esp + 0x58]
jbe 0x4478b6
mov edx, dword [esp + 0x18]
mov dl, byte [eax + edx]
cmp dl, byte [eax]
jne 0x4478b6
inc dword [esp + 0x14]
dec ecx
dec eax
cmp ecx, dword [esp + 0xc]
ja 0x447896
mov eax, dword [esp + 0x14]
lea ecx, [eax + ebx]
cmp ecx, dword [esp + 0x5c]
jbe 0x4478d7
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x98]
mov ecx, dword [esp + 0x28]
add edx, 8
mov dword [esp + 0x24], edx
cmp edx, dword [esp + 0x64]
jb 0x447783
mov edx, dword [esp + 0x38]
test edx, edx
jne 0x447962
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov ebp, dword [edi + 8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xd4]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x70], edx
mov edx, dword [edi + 0x14]
add eax, esi
mov ecx, ebp
shl esi, cl
mov ecx, dword [esp + 0xd4]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x80], edx
movzx edx, byte [eax]
add esi, edx
mov dword [ecx + esi*8], ebx
mov ebx, dword [esp + 0x34]
mov dword [ecx + esi*8 + 4], ebx
mov bl, 1
mov ecx, ebp
shl bl, cl
inc dl
dec bl
and bl, dl
jmp 0x447a36
mov eax, ebp
sub eax, dword [edx]
sub eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
lea edx, [ecx + ecx*2]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0xd8]
cmp ecx, dword [edx + 0x10]
je 0x447a85
mov edx, dword [esp + 0x54]
mov ecx, ebp
sub ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
add edx, ecx
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov eax, dword [esp + 0xd8]
inc dword [eax + 0xc]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0xc]
mov dword [esp + 0xb8], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xd4]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xbc], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0xc4], edx
mov edx, dword [edi + 0x14]
add eax, esi
shl esi, cl
mov dword [esp + 0xcc], edx
movzx edx, byte [eax]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0xd4]
mov ecx, dword [ecx + 0x14]
add esi, edx
mov dword [ecx + esi*8], ebx
mov ebx, dword [esp + 0x34]
mov dword [ecx + esi*8 + 4], ebx
mov ecx, dword [esp + 0xc0]
mov bl, 1
shl bl, cl
inc dl
dec bl
and bl, dl
mov edx, dword [esp + 0x48]
add ebp, edx
mov dword [esp + 0xc], ebp
add dword [esp + 0x3c], 0x10
mov byte [eax], bl
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x10]
jb 0x4476c6
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0xd4]
add esi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x1c]
lea eax, [ecx - 8]
mov dword [esp + 0x2c], esi
cmp esi, eax
jb 0x4475c5
mov eax, ecx
sub eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret
pop esi
pop ebp
mov eax, 0xffffffba
pop ebx
add esp, 0xc4
ret