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

Disassembly:
sub esp, 0x200
mov eax, dword [esp + 0x208]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x218]
mov ecx, dword [eax + 0x44]
mov eax, dword [eax + 0x20]
xor ebx, ebx
mov edx, dword [esi + 8]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x220]
mov dword [esp + 0x134], edx
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x14], ecx
shr edx, 2
mov ebp, 0x5a
mov ecx, 0xa
and edx, 1
cmp eax, ebx
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], 0x7d0
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x140], edx
mov dword [esp + 0x144], ebx
je 0x447c29
cmp eax, 0x1e
jge 0x447be9
cmp eax, ecx
jge 0x447bd9
sub ecx, eax
imul ecx, ecx
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4 + 0x7d0]
mov dword [esp + 0x28], ecx
lea edx, [eax*4]
mov ebp, 0xd2
sub ebp, edx
jmp 0x447c25
mov ecx, dword [esp + 0x220]
mov edx, ecx
sub edx, eax
lea edx, [edx + edx*2]
cmp edx, ecx
jge 0x447c29
lea edx, [ecx + ecx]
lea eax, [eax + eax*2]
sub eax, edx
cdq
idiv ecx
mov ecx, 1
sub ecx, eax
lea eax, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + eax*4]
lea ebp, [ecx + ecx*8]
lea eax, [eax + eax*4]
shl eax, 4
mov dword [esp + 0x28], eax
shl ebp, 1
mov dword [esp + 0x30], ebp
mov edi, dword [esp + 0x228]
mov ecx, dword [esp + 0x22c]
mov eax, edi
neg eax
shl eax, 3
sub eax, edi
lea eax, [ecx + eax*2 + 0x28]
cmp eax, 5
mov dword [esp + 0x3c], eax
jge 0x447c55
mov dword [esp + 0x3c], 5
mov eax, dword [0x50bc50]
cmp eax, ebx
je 0x447c60
call eax
mov edx, dword [esi + 0x14]
mov dword [esp + 0x10], 1
dec edx
cmp edx, 1
jbe 0x44821e
mov eax, dword [esi + 0x10]
mov ebx, 1
lea ecx, [eax - 1]
cmp ecx, ebx
jbe 0x448203
mov ecx, dword [esp + 0x10]
mov edx, 0xfffffff0
shl ecx, 4
sub edx, ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x24]
add edx, 0xa
test edi, edi
mov dword [esp + 0x24], edx
jne 0x447cd6
imul eax, dword [esp + 0x10]
add eax, ebx
lea ecx, [eax + eax*2]
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*4]
mov eax, dword [esp + 0x18]
mov edx, dword [0x4850e8]
mov dword [eax + ecx*8], edx
mov edx, dword [0x4850ec]
mov dword [eax + ecx*8 + 4], edx
jmp 0x447d32
imul eax, dword [esp + 0x10]
add eax, ebx
mov edx, dword [esp + 0x230]
lea ebp, [edi + 1]
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
shl ecx, 3
mov eax, dword [ecx + edx]
imul eax, ebp
cdq
idiv edi
mov edx, dword [esp + 0x18]
mov dword [ecx + edx], eax
mov eax, dword [esi + 0x10]
imul eax, dword [esp + 0x10]
add eax, ebx
mov edx, dword [esp + 0x230]
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
shl ecx, 3
mov eax, dword [ecx + edx + 4]
imul eax, ebp
cdq
idiv edi
mov edx, dword [esp + 0x18]
mov dword [ecx + edx + 4], eax
mov eax, dword [esp + 0x218]
mov edx, dword [esp + 0x214]
mov dword [esp + 0x20], 0
mov ecx, dword [eax + 0x38]
mov eax, dword [edx]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x10]
imul eax, dword [esp + 0x10]
add eax, ebx
mov dword [esp + 0x60], ecx
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*4]
mov eax, dword [esp + 0x18]
mov ecx, 0x100000
mov dword [esp + 0x78], ecx
lea edi, [eax + edx*8]
mov edx, dword [esi + 4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x140]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x13c]
sub ecx, edx
mov eax, 1
add ecx, 3
mov edx, ebx
shl eax, cl
mov ecx, dword [esi]
shl edx, 4
sub ecx, edx
lea ebp, [eax - 1]
neg eax
cmp ebp, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], ebp
jl 0x447dd0
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
sub eax, ecx
mov dword [esp + 0x70], ebp
cmp ebp, eax
jl 0x447de6
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x58]
mov eax, 0xfffffff0
sub eax, edx
mov dword [esp + 0x6c], ecx
cmp ecx, eax
jg 0x447dfd
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x74], ecx
cmp ecx, eax
jg 0x447e0d
mov dword [esp + 0x74], eax
mov eax, dword [esi + 8]
mov ebp, dword [esp + 0x10]
imul eax, ebp
mov ecx, dword [esp + 0x60]
add eax, ebx
shl eax, 4
push 0
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x3c]
add eax, ecx
mov dword [esp + 0x124], edx
mov dword [esp + 0x10c], eax
mov ecx, dword [edi + 4]
mov eax, dword [edi]
lea edx, [esp + 0x6c]
push edx
push ecx
push eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
call fcn.00448270
mov eax, dword [esp + 0x88]
add esp, 0x10
cmp eax, 0xc8
jle 0x44803f
xor eax, eax
cmp ebx, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
jne 0x447eab
cmp ebp, ebx
jne 0x447e8c
xor edx, edx
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], edx
jmp 0x447eea
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*4]
shl edx, 3
sub edi, edx
mov eax, dword [edi]
mov dword [esp + 0x100], eax
mov edx, dword [edi + 4]
jmp 0x447ee3
cmp ebp, 1
jne 0x447ec5
mov eax, dword [edi - 0x1e8]
mov dword [esp + 0x100], eax
mov edx, dword [edi - 0x1e4]
jmp 0x447ee3
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x18]
push 0
push ebp
push ebx
push 0
push eax
push ecx
call fcn.00446030
add esp, 0x18
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], edx
mov edi, eax
mov ebp, edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebp
xor ecx, ecx
lea eax, [esp + 0x44]
mov edx, dword [eax - 4]
test edx, edx
jne 0x447f08
cmp dword [eax], 0
je 0x447f24
inc ecx
add eax, 8
cmp ecx, 1
jb 0x447efc
lea edx, [esp + 0x68]
push 1
push edx
push 0
push 0
call fcn.00448270
add esp, 0x10
mov edx, dword [esp + 0x54]
xor ecx, ecx
lea eax, [esp + 0x44]
cmp edi, dword [eax - 4]
jne 0x447f37
cmp edx, dword [eax]
je 0x447f51
inc ecx
add eax, 8
cmp ecx, 2
jb 0x447f2e
lea eax, [esp + 0x68]
push 2
push eax
push ebp
push edi
call fcn.00448270
add esp, 0x10
cmp dword [esp + 0x78], 0x1f4
jle 0x448007
mov ebp, dword [esp + 0xec]
mov edi, 0xff
lea edx, [esp + 0x40]
mov dword [esp + 0x14], 3
mov ecx, dword [esp + ebp*8 + 0x40]
mov dword [esp + 0x38], ecx
jmp 0x447f8c
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0xec]
mov eax, dword [edx]
cmp ecx, eax
jne 0x447fb1
mov eax, dword [edx + 4]
mov ecx, dword [esp + ebp*8 + 0x44]
lea ebp, [eax + 2]
cmp ecx, ebp
jne 0x447fa5
and edi, 0xfffffffb
jmp 0x447fd0
add eax, 0xfffffffe
cmp ecx, eax
jne 0x447fd0
and edi, 0xfffffff7
jmp 0x447fd0
mov ebp, dword [esp + ebp*8 + 0x44]
cmp ebp, dword [edx + 4]
jne 0x447fd0
lea ebp, [eax + 2]
cmp ecx, ebp
jne 0x447fc6
and edi, 0xfffffffe
jmp 0x447fd0
add eax, 0xfffffffe
cmp ecx, eax
jne 0x447fd0
and edi, 0xfffffffd
mov eax, dword [esp + 0x14]
add edx, 8
dec eax
mov dword [esp + 0x14], eax
jne 0x447f81
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
push fcn.00448270
lea ecx, [esp + 0x6c]
push edi
push ecx
push edx
push eax
call fcn.004470f0
mov ebp, dword [esp + 0x34]
add esp, 0x14
jmp 0x44800c
mov ebp, 1
cmp dword [esp + 0x78], 0x1f4
jle 0x44803c
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
push 0
lea ecx, [esp + 0x6c]
push fcn.00448270
push ecx
push edx
push eax
call fcn.004471d0
add esp, 0x14
jmp 0x448044
inc ebp
jmp 0x448044
mov ebp, 1
mov eax, ebp
xor edi, edi
lea ecx, [esp + 0x7c]
shl eax, 7
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x8c]
mov eax, dword [esp + 0x10]
mov edx, edi
sar edx, 1
add edx, eax
mov eax, edi
imul edx, dword [esi + 0x10]
mov ebp, ebx
and eax, 1
add ebp, edx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea edx, [eax + eax*2]
lea edx, [edx + edx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
lea eax, [edx + eax*8]
mov edx, dword [ecx]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x1c], edx
mov edx, dword [ecx]
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x14], edx
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0xc], edx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 0xec], 0
mov edx, dword [edx]
sub edx, ebp
mov dword [eax + 0x154], edx
jns 0x4480da
mov dword [eax + 0x154], 0
mov edx, dword [esp + 0x14]
inc edi
add ecx, 8
add edx, 4
cmp edi, 4
mov dword [esp + 0x14], edx
jl 0x44805e
xor ebp, ebp
mov ecx, dword [esp + 0x10]
mov eax, ebp
sar eax, 1
lea edx, [eax + ecx]
mov eax, dword [esi + 0x10]
imul eax, edx
mov ecx, ebp
and ecx, 1
add eax, ecx
add eax, ebx
lea edi, [eax + eax*2]
lea edi, [edi + edi*4]
lea eax, [eax + edi*4]
mov edi, dword [esp + 0x18]
lea edi, [edi + eax*8]
mov eax, dword [esi + 8]
push eax
imul eax, edx
add eax, ecx
mov ecx, dword [esp + 0x21c]
add eax, ebx
mov edx, dword [ecx + 0x38]
shl eax, 4
add eax, edx
push eax
call dword [0x50bc58]
add esp, 8
cmp eax, 0x12c
mov ecx, eax
jg 0x448150
mov ecx, 0x12c
mov edx, dword [esp + 0x34]
add edx, ecx
mov ecx, dword [edi + 0x154]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x28]
add edx, eax
mov dword [esp + 0x20], ecx
cmp edx, ecx
jge 0x4481a2
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0xec], 3
mov edx, dword [esi + 0x14]
inc ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x10]
sub ecx, 2
sub edx, 2
imul ecx, edx
mov edx, dword [esp + 0x2c]
shr ecx, 1
cmp edx, ecx
ja 0x448233
mov ecx, dword [esp + 0x20]
cmp dword [edi], 0
jne 0x4481c5
mov edx, dword [edi + 4]
test edx, edx
jne 0x4481c5
cmp eax, 0x3e8
jle 0x4481c5
cmp ecx, 0x3e8
jge 0x4481c5
add dword [esp + 0x1c], 0x200
cmp eax, 0xbb8
mov eax, ecx
jl 0x4481d3
cdq
sub eax, edx
sar eax, 1
mov edx, dword [esp + 0x1c]
add edx, eax
inc ebp
cmp ebp, 4
mov dword [esp + 0x1c], edx
jl 0x4480f4
mov eax, dword [esi + 0x10]
mov edi, dword [esp + 0x228]
add ebx, 2
lea ecx, [eax - 1]
cmp ebx, ecx
jb 0x447c9e
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x14]
add eax, 2
dec edx
cmp eax, edx
mov dword [esp + 0x10], eax
jb 0x447c75
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
sar ebx, 7
lea ecx, [ebx + eax*4]
mov eax, dword [esp + 0x1c]
cdq
idiv ecx
cmp eax, ebp
jle 0x448240
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x200
ret
cmp eax, dword [esp + 0x3c]
jle 0x448256
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x200
ret
call dword [0x50bb08]
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x200
ret