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

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
mov eax, dword [esi + 0x88]
push edi
mov edi, 1
cmp eax, 5
je 0x440cb6
add eax, 0xfffffffa
cmp eax, edi
ja 0x440a9c
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 4]
shl edi, cl
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
lea ebx, [eax + edx]
lea ecx, [edi - 1]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x34], eax
add eax, ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x54]
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x10]
sub ebx, edx
mov dword [esp + 0x14], ecx
mov ecx, ebx
sub ecx, dword [esp + 0x14]
mov dword [esp + 0x50], edx
mov dword [esp + 0x40], ebx
cmp ecx, eax
jbe 0x4408da
mov ecx, ebx
sub ecx, eax
jmp 0x4408de
mov ecx, dword [esp + 0x14]
cmp dword [esi + 0x14], 0
je 0x4408ee
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
jmp 0x4408f2
mov dword [esp + 0x1c], ecx
cmp ebx, edi
jbe 0x4408fe
sub ebx, edi
mov dword [esp + 0x28], ebx
jmp 0x440906
mov dword [esp + 0x28], 0
mov ecx, dword [esi + 0x84]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esi + 0x20]
dec edi
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x80]
mov dword [esp + 0x2c], edi
mov edi, dword [esi + 0x18]
sub ebx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x20], ecx
cmp edi, ebx
jae 0x440976
jmp 0x440944
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
push eax
lea eax, [edi + edx]
call fcn.00448090
mov edx, dword [ebp + eax*4]
mov ecx, edi
and ecx, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [eax + ecx*4], edx
mov ecx, dword [esp + 0x34]
mov dword [ebp + ecx*4], edi
inc edi
add esp, 4
cmp edi, ebx
jb 0x440940
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x54]
push edx
mov dword [esi + 0x18], ebx
call fcn.00448090
mov esi, dword [ebp + eax*4]
add esp, 4
cmp esi, dword [esp + 0x1c]
sbb eax, eax
xor ecx, ecx
inc eax
cmp ecx, dword [esp + 0x18]
sbb edx, edx
neg edx
test edx, eax
je 0x440eca
cmp esi, dword [esp + 0x34]
jb 0x4409d5
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
lea edx, [esi + eax]
mov eax, dword [esp + 0x14]
mov cl, byte [edx + eax]
cmp cl, byte [eax + edi]
jne 0x440a5b
mov ebx, dword [esp + 0x58]
mov ecx, edi
call fcn.0043dd00
jmp 0x440a36
mov ecx, dword [esp + 0x38]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x54]
cmp eax, dword [edx]
jne 0x440a5b
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
lea edi, [esi + ecx + 4]
mov ebp, edx
mov ecx, eax
add ebp, 4
sub ecx, edi
add ecx, ebp
cmp ecx, ebx
jae 0x440a05
mov ebx, eax
sub ebx, edi
add ebx, ebp
mov edx, edi
mov ecx, ebp
call fcn.0043dd00
lea edx, [eax + edi]
mov dword [esp + 0x30], eax
cmp edx, dword [esp + 0x24]
jne 0x440a2f
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x3c]
lea ecx, [eax + ebp]
call fcn.0043dd00
add eax, dword [esp + 0x30]
mov edi, dword [esp + 0x54]
add eax, 4
cmp eax, dword [esp + 0x14]
jbe 0x440a5b
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x5c]
sub ecx, esi
mov dword [esp + 0x14], eax
add ecx, 2
add eax, edi
mov dword [edx], ecx
cmp eax, dword [esp + 0x58]
je 0x440eca
cmp esi, dword [esp + 0x28]
jbe 0x440eca
and esi, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
mov esi, dword [eax + esi*4]
mov eax, dword [esp + 0x18]
dec eax
cmp esi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
sbb ecx, ecx
xor edx, edx
inc ecx
cmp edx, eax
sbb eax, eax
neg eax
test eax, ecx
jne 0x4409a7
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 4]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x7c]
shl edi, cl
mov ecx, dword [esi + 0xc]
lea ebx, [ecx + eax]
mov dword [esp + 0x34], ecx
lea edx, [edi - 1]
mov dword [esp + 0x48], edx
mov edx, dword [esi + 8]
add ecx, edx
mov dword [esp + 0x30], edx
mov edx, ebp
sub edx, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x78]
mov eax, 1
mov dword [esp + 0x2c], ebx
shl eax, cl
mov ecx, dword [esi + 0x10]
mov ebx, edx
sub ebx, ecx
mov dword [esp + 0x20], edx
cmp ebx, eax
jbe 0x440af8
mov ebx, edx
sub ebx, eax
jmp 0x440afa
mov ebx, ecx
cmp dword [esi + 0x14], 0
mov dword [esp + 0x18], ecx
jne 0x440b08
mov dword [esp + 0x18], ebx
cmp edx, edi
jbe 0x440b14
sub edx, edi
mov dword [esp + 0x24], edx
jmp 0x440b1c
mov dword [esp + 0x24], 0
mov ecx, dword [esi + 0x84]
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
dec edi
mov dword [esp + 0x40], edi
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x80]
mov edi, ebp
sub edi, dword [esp + 0x50]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 3
mov dword [esp + 0x38], ecx
cmp eax, edi
jae 0x440b9f
mov ebp, 0x20
sub ebp, ecx
mov dword [esp + 0x44], ebp
jmp 0x440b65
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
mov edx, dword [eax + ecx]
imul edx, edx, 0x9e3779b1
mov ecx, ebp
mov ebp, dword [esp + 0x10]
shr edx, cl
mov ecx, eax
and ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], edx
mov edx, dword [ebx + edx*4]
mov dword [ebp + ecx*4], edx
mov ecx, dword [esp + 0x3c]
mov dword [ebx + ecx*4], eax
inc eax
cmp eax, edi
jb 0x440b61
mov ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x18], edi
mov eax, dword [ebp]
imul eax, eax, 0x9e3779b1
mov ecx, 0x20
sub ecx, dword [esp + 0x38]
shr eax, cl
mov esi, dword [ebx + eax*4]
cmp esi, dword [esp + 0x18]
sbb eax, eax
xor ecx, ecx
inc eax
cmp ecx, edx
sbb ecx, ecx
neg ecx
test ecx, eax
je 0x440eca
cmp esi, dword [esp + 0x34]
jb 0x440bfb
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x14]
add eax, esi
mov cl, byte [eax + edi]
cmp cl, byte [edi + ebp]
jne 0x440c79
mov ebx, dword [esp + 0x58]
mov edx, eax
mov ecx, ebp
call fcn.0043dd00
jmp 0x440c50
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + eax]
cmp ecx, dword [ebp]
jne 0x440c79
lea edi, [esi + eax + 4]
mov eax, dword [esp + 0x28]
lea ecx, [ebp + 4]
mov edx, ecx
sub edx, edi
add eax, edx
mov edx, dword [esp + 0x58]
cmp eax, edx
jb 0x440c22
mov eax, edx
mov ebx, eax
mov edx, edi
call fcn.0043dd00
lea ecx, [eax + edi]
mov dword [esp + 0x44], eax
cmp ecx, dword [esp + 0x28]
jne 0x440c4d
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
lea ecx, [eax + ebp + 4]
call fcn.0043dd00
add eax, dword [esp + 0x44]
add eax, 4
cmp eax, dword [esp + 0x14]
jbe 0x440c75
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
sub edx, esi
mov dword [esp + 0x14], eax
add edx, 2
add eax, ebp
mov dword [ecx], edx
cmp eax, dword [esp + 0x58]
je 0x440eca
mov edx, dword [esp + 0x1c]
cmp esi, dword [esp + 0x24]
jbe 0x440eca
and esi, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
mov esi, dword [eax + esi*4]
dec edx
cmp esi, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp eax, edx
sbb eax, eax
neg eax
test eax, ecx
jne 0x440bd0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x7c]
shl edi, cl
mov ecx, dword [esi + 8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
lea edx, [edi - 1]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 4]
lea ebx, [eax + edx]
add eax, ecx
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x54]
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x10]
sub ebx, edx
mov dword [esp + 0x1c], ecx
mov ecx, ebx
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x34], ebx
cmp ecx, eax
jbe 0x440d16
mov ecx, ebx
sub ecx, eax
jmp 0x440d1a
mov ecx, dword [esp + 0x1c]
cmp dword [esi + 0x14], 0
je 0x440d2a
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jmp 0x440d2e
mov dword [esp + 0x18], ecx
cmp ebx, edi
jbe 0x440d3a
sub ebx, edi
mov dword [esp + 0x20], ebx
jmp 0x440d42
mov dword [esp + 0x20], 0
mov ecx, dword [esi + 0x84]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esi + 0x20]
dec edi
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x80]
mov dword [esp + 0x48], edi
mov edi, dword [esi + 0x18]
sub ebx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x28], ecx
cmp edi, ebx
jae 0x440db6
jmp 0x440d84
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x28]
push eax
lea eax, [edi + edx]
call fcn.0041b330
mov edx, dword [ebp + eax*4]
mov ecx, edi
and ecx, dword [esp + 0x4c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [eax + ecx*4], edx
mov ecx, dword [esp + 0x48]
mov dword [ebp + ecx*4], edi
inc edi
add esp, 4
cmp edi, ebx
jb 0x440d80
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x54]
push edx
mov dword [esi + 0x18], ebx
call fcn.0041b330
mov esi, dword [ebp + eax*4]
add esp, 4
cmp esi, dword [esp + 0x18]
sbb eax, eax
xor ecx, ecx
inc eax
cmp ecx, dword [esp + 0x1c]
sbb edx, edx
neg edx
test edx, eax
je 0x440eca
cmp esi, dword [esp + 0x40]
jb 0x440e15
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
lea edx, [esi + eax]
mov eax, dword [esp + 0x14]
mov cl, byte [edx + eax]
cmp cl, byte [eax + edi]
jne 0x440e99
mov ebx, dword [esp + 0x58]
mov ecx, edi
call fcn.0043dd00
jmp 0x440e78
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + ecx]
mov edx, dword [esp + 0x54]
cmp eax, dword [edx]
jne 0x440e99
mov ebp, edx
add ebp, 4
lea edi, [esi + ecx + 4]
mov ecx, dword [esp + 0x24]
mov eax, ebp
sub eax, edi
add eax, ecx
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jb 0x440e45
mov eax, ecx
mov ebx, eax
mov edx, edi
mov ecx, ebp
call fcn.0043dd00
lea edx, [eax + edi]
mov dword [esp + 0x48], eax
cmp edx, dword [esp + 0x24]
jne 0x440e71
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
lea ecx, [eax + ebp]
call fcn.0043dd00
add eax, dword [esp + 0x48]
mov edi, dword [esp + 0x54]
add eax, 4
cmp eax, dword [esp + 0x14]
jbe 0x440e99
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
sub ecx, esi
mov dword [esp + 0x14], eax
add ecx, 2
add eax, edi
mov dword [edx], ecx
cmp eax, dword [esp + 0x58]
je 0x440eca
cmp esi, dword [esp + 0x20]
jbe 0x440eca
and esi, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov esi, dword [eax + esi*4]
mov eax, dword [esp + 0x1c]
dec eax
cmp esi, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
sbb ecx, ecx
xor edx, edx
inc ecx
cmp edx, eax
sbb eax, eax
neg eax
test eax, ecx
jne 0x440de7
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret