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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x98], edx
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x94], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x84], edx
mov edx, dword [esi + 4]
sbb eax, eax
mov dword [esp + 0x80], ecx
mov ecx, dword [esi + 8]
sub edx, ecx
mov dword [esp + 0x18], edx
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x10]
neg eax
push edi
mov edi, dword [esi + 0xc]
mov dword [esp + 0x74], edx
mov edx, 1
shl edx, cl
mov dword [esp + 0x78], ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x90], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x80], ecx
cmp eax, ebx
je 0x4421fc
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x38], edx
jmp 0x442200
mov dword [esp + 0x38], ecx
mov edx, dword [ebp + 4]
mov dword [esp + 0x20], edx
cmp eax, ebx
je 0x442226
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x38]
add ebx, eax
mov dword [esp + 0x64], eax
add eax, ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x68], eax
xor ebx, ebx
jmp 0x442232
mov dword [esp + 0x64], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0xbc]
add edx, ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x44], edx
lea edx, [ecx + eax]
mov dword [esp + 0x24], edx
cmp edi, 8
ja 0x442257
mov edi, 8
sub edx, edi
mov dword [esp + 0x60], edx
mov dword [esp + 0x18], ecx
mov edi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
cmp ecx, edx
ja 0x4426d0
mov eax, 0x20
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
jmp 0x44229b
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0xb8]
mov eax, edi
sub eax, dword [esp + 0x20]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x5c], eax
cmp edi, ecx
je 0x442318
movzx eax, byte [ebx]
push dword [esp + 0x88]
add eax, 0xa
push dword [esp + 0x88]
cdq
push edx
push eax
call fcn.005e5190
mov ecx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esp + 0x10]
push 0xcf1bbcdc
push 0xb7a56463
sbb eax, edx
push eax
push ecx
call fcn.005e5190
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + edx]
add eax, 0xa
cdq
add ecx, eax
mov eax, dword [esp + 0x2c]
adc eax, edx
mov ebx, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
jmp 0x44232f
mov ebx, dword [esp + 0x28]
push edi
call fcn.00441fb0
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov ebx, eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], edi
cmp dword [esp + 0x70], eax
jae 0x442346
mov eax, dword [esp + 0x3c]
dec eax
and eax, ebx
jmp 0x442363
mov edx, dword [esp + 0x10]
mov ecx, 0x20
sub ecx, eax
sub ecx, dword [esp + 0x1c]
mov eax, ebx
call fcn.005e7780
mov ecx, dword [esp + 0x3c]
dec ecx
and eax, ecx
mov ecx, dword [esp + 0x3c]
dec ecx
cmp eax, ecx
je 0x442372
inc edi
jmp 0x4426c6
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x44238c
mov edx, dword [esp + 0x10]
mov ecx, 0x40
sub ecx, eax
mov eax, ebx
call fcn.005e7780
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x94], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x98], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0xa0], edx
mov edx, dword [esi + 0x10]
shl eax, cl
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0xa4], edx
mov edx, dword [esi + 0x14]
lea ebx, [ecx + eax*8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], 0
call fcn.005e7780
mov edx, dword [esp + 0x74]
lea ecx, [ebx + edx*8]
mov dword [esp + 0x7c], eax
mov eax, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], ecx
cmp ebx, ecx
jae 0x442586
mov ecx, dword [esp + 0x7c]
cmp dword [eax + 4], ecx
jne 0x442569
mov eax, dword [eax]
cmp eax, dword [esp + 0x38]
jbe 0x442569
cmp dword [esp + 0x90], 0
je 0x4424e8
mov ebx, dword [esp + 0x80]
mov ecx, dword [esp + 0x64]
cmp eax, ebx
jb 0x442438
mov ecx, dword [esp + 0x20]
lea edx, [eax + ecx]
mov dword [esp + 0x14], edx
cmp eax, ebx
jae 0x442451
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x24]
jmp 0x442459
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], ecx
cmp eax, ebx
mov eax, dword [esp + 0x50]
jb 0x442465
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
sub eax, edx
add eax, edi
cmp eax, ecx
jb 0x442477
mov eax, ecx
mov ebx, eax
mov ecx, edi
call fcn.00446420
mov ecx, dword [esp + 0x14]
mov ebp, eax
lea edx, [ecx + ebp]
cmp edx, dword [esp + 0x48]
je 0x442491
jmp 0x4424a3
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
lea ecx, [edi + ebp]
call fcn.00446420
add eax, ebp
cmp eax, dword [esp + 0x28]
jb 0x442562
xor edx, edx
cmp edi, dword [esp + 0x18]
jbe 0x4424e3
mov ecx, dword [esp + 0x14]
mov ebx, edi
dec ecx
sub ebx, dword [esp + 0x14]
mov ebp, edi
mov dword [esp + 0x14], ebx
lea ebx, [ecx + 1]
cmp ebx, dword [esp + 0x34]
jbe 0x4424e3
mov ebx, dword [esp + 0x14]
mov bl, byte [ebx + ecx]
cmp bl, byte [ecx]
jne 0x4424e3
dec ebp
dec ecx
inc edx
cmp ebp, dword [esp + 0x18]
ja 0x4424c6
lea ecx, [edx + eax]
jmp 0x442548
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
lea ebp, [eax + ecx]
mov edx, ebp
mov ecx, edi
call fcn.00446420
cmp eax, dword [esp + 0x28]
jb 0x442562
mov dword [esp + 0x14], 0
cmp edi, dword [esp + 0x18]
jbe 0x442540
mov ebx, edi
sub ebx, ebp
mov edx, edi
lea ecx, [ebp - 1]
mov dword [esp + 0x34], ebx
jmp 0x442524
mov ebx, dword [esp + 0x34]
lea ebp, [ecx + 1]
cmp ebp, dword [esp + 0x44]
jbe 0x442540
mov bl, byte [ebx + ecx]
cmp bl, byte [ecx]
jne 0x442540
inc dword [esp + 0x14]
dec edx
dec ecx
cmp edx, dword [esp + 0x18]
ja 0x442520
mov ecx, dword [esp + 0x14]
mov edx, ecx
add ecx, eax
cmp ecx, dword [esp + 0x2c]
jbe 0x442562
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], edx
mov ebp, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
add eax, 8
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x4c]
jb 0x4423fe
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x4425d0
mov ecx, dword [esi]
mov edx, dword [esi + 4]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
push ebp
call fcn.00441f00
add esp, 0x2c
inc edi
jmp 0x4426c6
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x54]
lea ebx, [eax + edx]
sub edi, eax
mov eax, dword [esp + 0x58]
sub eax, dword [ecx]
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 8]
lea eax, [eax + eax*2]
lea eax, [edx + eax*4]
mov edx, dword [ecx + 8]
cmp edx, dword [ecx + 0xc]
je 0x4426e2
mov dword [eax + 8], ebx
mov edx, edi
sub edx, dword [esp + 0x18]
sub esp, 0x18
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax], edx
inc dword [ecx + 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
push ebp
call fcn.00441f00
add edi, ebx
add esp, 0x2c
cmp edi, dword [esp + 0x60]
ja 0x4426c2
mov ecx, dword [esi]
mov edx, dword [esi + 4]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edi
push edx
push eax
mov eax, dword [esp + 0x5c]
push ebp
call fcn.00442090
lea ecx, [edi - 1]
add esp, 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x60]
jbe 0x442290
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x18]
pop edi
pop ebp
pop ebx
add esp, 0xa0
ret
pop edi
pop ebp
mov eax, 0xffffffba
pop ebx
add esp, 0xa0
ret