Function at 0x44fe9c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, ecx
xor ecx, ecx
push ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], ecx
mov byte [esp + 7], cl
mov dword [esp + 0x44], ecx
mov ecx, dword [eax]
push esi
mov esi, edx
mov dword [esp + 0x24], ecx
push edi
mov ecx, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], eax
call fcn.00456ba5
mov ebx, eax
movsx edx, word [esi + 0x2a]
xor eax, eax
mov dword [esp + 0x50], edx
lea edi, [esp + 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, esi
test byte [edi + 0x24], 0x20
jne 0x44feff
and dword [esp + 0x14], 0
mov dword [esp + 0x3c], 1
jmp 0x44ff12
mov ecx, edi
call fcn.00446b5b
mov dword [esp + 0x14], eax
movzx eax, word [eax + 0x32]
mov dword [esp + 0x3c], eax
xor esi, esi
mov dword [esp + 0x34], esi
test edx, edx
jle 0x450054
xor edx, edx
mov dword [esp + 0x2c], edx
movsx eax, word [edi + 0x28]
cmp esi, eax
je 0x45003e
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x44ff43
cmp dword [eax + esi*4], 0
jl 0x45003e
mov eax, dword [edi + 4]
movzx edi, byte [edx + eax + 0xc]
test edi, edi
je 0x45003a
mov cl, byte [ebp + 0x20]
push 2
cmp cl, 0xb
je 0x44ff63
movzx edi, cl
pop ecx
jmp 0x44ff6a
cmp edi, 0xb
pop ecx
cmove edi, ecx
cmp edi, 5
jne 0x44ff77
cmp dword [edx + eax + 4], 0
cmove edi, ecx
mov eax, edi
sub eax, 1
je 0x44ffe2
sub eax, 1
je 0x44ffd9
sub eax, 1
je 0x44ffe2
sub eax, 1
mov ecx, ebx
mov eax, dword [ebp + 0x14]
je 0x44ffc6
inc eax
add esi, eax
push esi
push 0x33
pop edx
call fcn.00431963
pop ecx
mov ecx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 4]
mov edx, dword [eax + edx + 4]
call fcn.00442c0b
pop ecx
mov edx, edi
mov ecx, ebx
call fcn.00431e98
jmp 0x450032
push dword [ebp + 0x24]
inc eax
add eax, esi
push eax
push 0x32
pop edx
call fcn.00431977
pop ecx
pop ecx
jmp 0x450036
mov ecx, dword [esp + 0x10]
call fcn.0044a105
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 4]
push dword [edx + eax]
push dword [esi]
push 0x4a4c04
push dword [esp + 0x34]
call fcn.0041bd57
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x44]
inc ecx
add eax, ecx
mov ecx, ebx
push eax
push edi
push 0x513
push 0x41
pop edx
call fcn.004318f3
add esp, 0x1c
mov edx, esi
mov ecx, ebx
push 0xfffffffffffffff9
call fcn.0043211b
pop ecx
xor edx, edx
mov ecx, ebx
inc edx
call fcn.00431e80
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
inc esi
add edx, 0x10
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], edx
cmp esi, dword [esp + 0x50]
jl 0x44ff26
mov edx, dword [edi + 0x18]
mov dword [esp + 0x30], edx
test edx, edx
je 0x45014e
mov eax, dword [esp + 0x28]
test dword [eax + 0x1c], 0x200
jne 0x45014e
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x14]
cmp byte [ebp + 0x20], 0xb
not eax
push 2
mov dword [ecx + 0x38], eax
movzx eax, byte [ebp + 0x20]
pop esi
cmovne esi, eax
and dword [esp + 0x40], 0
cmp dword [edx], 0
jle 0x450146
lea eax, [edx + 8]
mov dword [esp + 0x34], eax
mov edx, dword [ebp + 0x2c]
mov ecx, dword [eax - 4]
mov dword [esp + 0x50], ecx
test edx, edx
je 0x4500c0
movzx eax, byte [ebp + 0x1c]
push eax
call fcn.0044fe19
pop ecx
test eax, eax
jne 0x450126
mov ecx, ebx
call fcn.00431bbd
push 0x10
push eax
push dword [esp + 0x58]
mov dword [esp + 0x54], eax
push dword [esp + 0x1c]
call fcn.00442f13
add esp, 0x10
cmp esi, 4
jne 0x4500ef
mov edx, dword [ebp + 0x24]
mov ecx, ebx
call fcn.0043198c
jmp 0x45011b
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test eax, eax
jne 0x4500fb
mov eax, dword [edi]
push 2
pop ecx
push 3
cmp esi, 5
mov edx, 0x113
push 0
cmove esi, ecx
mov ecx, dword [esp + 0x18]
push eax
push esi
call fcn.0044a112
add esp, 0x10
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.00431bff
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
inc edx
mov eax, dword [esp + 0x34]
add eax, 0x18
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], eax
cmp edx, dword [ecx]
jl 0x4500a3
mov eax, dword [esp + 0x10]
and dword [eax + 0x38], 0
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x450189
cmp dword [eax], 0
jne 0x450164
and dword [ebp + 0x30], 0
mov byte [ebp + 0x20], 4
jmp 0x450189
mov eax, dword [eax + 0x10]
mov dword [esp + 0x38], eax
test eax, eax
je 0x450189
mov ecx, ebx
call fcn.00431bbd
mov ecx, ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
call fcn.00431bbd
mov dword [esp + 0x68], eax
cmp byte [ebp + 0x1c], 0
je 0x450385
cmp dword [esp + 0x14], 0
jne 0x450385
mov ecx, ebx
call fcn.00431bbd
mov dl, byte [ebp + 0x20]
mov ecx, eax
movzx esi, byte [edi + 0x30]
mov dword [esp + 0x34], ecx
cmp dl, 0xb
je 0x4501bc
movzx esi, dl
jmp 0x4501c5
push 2
cmp esi, 0xb
pop eax
cmove esi, eax
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x450276
cmp dword [eax + 0x10], 0
jne 0x450276
cmp dword [eax + 8], 0
jne 0x450273
push 4
pop esi
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x450214
push eax
push ecx
push dword [ebp + 0x14]
mov ecx, ebx
push 0x35
pop edx
call fcn.004318f3
add esp, 0xc
mov edx, 0x90
mov ecx, ebx
call fcn.00431e80
push dword [ebp + 0x14]
mov ecx, ebx
push dword [esp + 0x38]
push dword [ebp + 0xc]
push 0x20
pop edx
call fcn.004318f3
add esp, 0xc
test esi, esi
je 0x45034a
cmp esi, 3
jbe 0x45034f
cmp esi, 4
je 0x450264
cmp esi, 5
je 0x4502b0
cmp esi, 6
jne 0x45034a
push dword [ebp + 0xc]
mov edx, dword [ebp + 0x30]
mov ecx, dword [esp + 0x14]
push 0
push edi
call fcn.0045d3d9
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, ebx
call fcn.0043198c
jmp 0x45035c
push 6
pop esi
cmp esi, 5
jb 0x4501e7
test eax, eax
jne 0x45028e
movzx eax, dl
cmp esi, eax
je 0x4501e7
cmp dword [edi + 8], 0
je 0x4501e7
push 0xd
pop edx
mov ecx, ebx
call fcn.00431955
mov ecx, dword [esp + 0x34]
inc eax
mov dword [esp + 0x5c], eax
jmp 0x4501eb
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov esi, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
test dword [eax + 0x1c], 0x2000
je 0x4502e1
push ecx
push ecx
push 0x6e
mov edx, edi
mov ecx, esi
call fcn.0045b923
add esp, 0xc
mov dword [esp + 0x44], eax
test eax, eax
jne 0x450316
xor ecx, ecx
push ecx
push ecx
mov edx, edi
mov ecx, esi
call fcn.0044e643
pop ecx
pop ecx
test eax, eax
jne 0x450316
cmp dword [edi + 8], eax
je 0x450340
mov ecx, esi
call fcn.0044a0f8
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov edx, edi
mov ecx, esi
push dword [ebp + 0xc]
call fcn.0044b871
add esp, 0x10
jmp 0x450340
mov ecx, esi
call fcn.0044a0f8
push 0xffffffffffffffff
push 1
push 5
push 0
push 1
push dword [ebp + 0x14]
mov edx, edi
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x64]
call fcn.0044b5dc
add esp, 0x24
mov dword [esp + 0x44], 1
jmp 0x45035c
push 2
pop eax
mov esi, eax
mov ecx, dword [esp + 0x10]
mov edx, esi
push edi
call fcn.0044a247
pop ecx
mov edx, dword [esp + 0x34]
mov ecx, ebx
call fcn.00431bff
mov esi, dword [esp + 0x30]
test esi, esi
je 0x450385
push 0xd
pop edx
call fcn.00431955
lea edx, [esi - 1]
mov dword [esp + 0x6c], eax
mov ecx, ebx
call fcn.00431e98
mov esi, dword [edi + 8]
and dword [esp + 0x18], 0
mov dword [esp + 0x50], esi
test esi, esi
je 0x4508f0
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax*4], 0
je 0x4508dc
mov ecx, ebx
cmp dword [esp + 0x38], esi
jne 0x4503d2
mov eax, dword [esp + 0x68]
xor edx, edx
mov dword [esp + 0x24], eax
call fcn.0043198c
mov edx, dword [esp + 0x64]
mov ecx, ebx
mov dword [esp + 0x4c], eax
call fcn.00431bff
jmp 0x4503db
call fcn.00431bbd
mov dword [esp + 0x24], eax
cmp byte [esp + 0xf], 0
jne 0x4503f6
mov ecx, dword [ebp + 0x14]
mov edx, edi
inc ecx
push ecx
mov ecx, ebx
call fcn.0044ed6b
pop ecx
mov byte [esp + 0xf], 1
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x18]
add ecx, eax
cmp dword [esi + 0x24], 0
mov dword [esp + 0x30], ecx
je 0x450446
mov ecx, dword [ebp + 8]
push dword [ecx + eax*4]
mov ecx, ebx
push 0
push 0x46
pop edx
call fcn.00431977
mov ecx, dword [esp + 0x18]
add esp, 4
mov eax, dword [ebp + 0x14]
not eax
push dword [esp + 0x28]
mov dword [ecx + 0x38], eax
mov edx, dword [esi + 0x24]
call fcn.00443478
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
and dword [ecx + 0x38], 0
jmp 0x45044a
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
xor edi, edi
mov eax, dword [edx + eax*4]
xor edx, edx
inc eax
mov dword [esp + 0x40], edx
cmp di, word [esi + 0x34]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
jae 0x4504f3
and dword [esp + 0x20], edx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 4]
movsx edx, word [eax + edx*2]
cmp edx, 0xfffffffe
jne 0x4504a6
mov eax, dword [ebp + 0x14]
push dword [esp + 0x2c]
not eax
mov dword [ecx + 0x38], eax
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + eax + 4]
call fcn.00442c53
pop ecx
mov ecx, dword [esp + 0x10]
and dword [ecx + 0x38], 0
jmp 0x4504d9
cmp edx, 0xffffffff
je 0x4504bb
movsx eax, word [edi + 0x28]
cmp edx, eax
je 0x4504bb
mov eax, dword [ebp + 0x14]
inc eax
add eax, edx
jmp 0x4504be
mov eax, dword [ebp + 0x14]
push dword [esp + 0x2c]
sar edx, 0x1f
mov ecx, ebx
and edx, 1
push eax
add edx, 0x4c
call fcn.00431977
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
add dword [esp + 0x20], 0x18
inc edx
movzx eax, word [esi + 0x34]
inc dword [esp + 0x2c]
mov dword [esp + 0x40], edx
cmp edx, eax
jl 0x450473
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
push dword [ecx + eax*4]
movzx eax, word [esi + 0x34]
mov ecx, ebx
push eax
push dword [esp + 0x3c]
push 0x65
pop edx
call fcn.004318f3
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x450535
cmp dword [esp + 0x14], esi
jne 0x450535
cmp byte [ebp + 0x1c], 0
jne 0x450535
mov edx, dword [esp + 0x24]
mov ecx, ebx
call fcn.00431bff
jmp 0x4508d5
movzx eax, byte [esi + 0x36]
test eax, eax
je 0x450525
mov cl, byte [ebp + 0x20]
cmp cl, 0xb
je 0x45054a
movzx eax, cl
jmp 0x450553
push 2
cmp eax, 0xb
pop ecx
cmove eax, ecx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x38], esi
jne 0x450576
mov eax, dword [ebp + 0x30]
cmp dword [eax + 8], 0
jne 0x45056f
push 4
pop eax
mov dword [esp + 0x20], eax
jmp 0x45058a
push 6
pop eax
mov dword [esp + 0x20], eax
cmp eax, 5
jne 0x45058a
lea edx, [esp + 0x5c]
mov ecx, ebx
call fcn.0044fe5d
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], 0
jne 0x4505ed
cmp dword [esi + 0x14], 0
jne 0x4505ed
cmp dword [esp + 0x14], esi
jne 0x4505ed
cmp eax, 5
jne 0x4505ed
mov eax, dword [esp + 0x28]
test dword [eax + 0x1c], 0x2000
je 0x4505cb
mov ecx, dword [esp + 0x10]
mov edx, edi
push 0
push 0
push 0x6e
call fcn.0045b923
add esp, 0xc
test eax, eax
jne 0x4505ed
mov eax, dword [esp + 0x28]
test dword [eax + 0x1c], 0x4000
je 0x450525
cmp dword [edi + 0x10], 0
jne 0x4505ed
mov ecx, edi
call fcn.0044df39
test eax, eax
je 0x450525
mov ecx, dword [esp + 0x10]
call fcn.00441bb4
movzx eax, word [esi + 0x32]
mov ecx, ebx
push eax
push dword [esp + 0x38]
push dword [esp + 0x2c]
push dword [esp + 0x3c]
push 0x1c
pop edx
call fcn.00431b6e
mov edx, dword [esp + 0x24]
add esp, 0x10
cmp esi, edx
jne 0x450622
mov ecx, dword [esp + 0x34]
jmp 0x450635
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
call fcn.00443d65
mov edx, dword [esp + 0x14]
mov ecx, eax
cmp dword [ebp + 0x18], 0
mov dword [esp + 0x2c], ecx
jne 0x45064c
mov eax, dword [esp + 0x20]
cmp eax, 5
jne 0x4507c7
test byte [edi + 0x24], 0x20
jne 0x450697
push ecx
push dword [esp + 0x34]
mov edx, 0x84
mov ecx, ebx
call fcn.00431977
mov eax, dword [ebp + 0x18]
pop ecx
pop ecx
test eax, eax
je 0x4507c3
push eax
push dword [esp + 0x28]
mov ecx, ebx
push dword [esp + 0x34]
push 0x35
pop edx
call fcn.004318f3
add esp, 0xc
mov edx, 0x90
mov ecx, ebx
call fcn.00431e80
jmp 0x4507c3
cmp esi, edx
je 0x4506e6
and dword [esp + 0x48], 0
xor eax, eax
cmp ax, word [edx + 0x32]
jae 0x4506e6
mov edi, dword [esp + 0x48]
lea eax, [ecx + edi]
mov ecx, esi
push eax
mov eax, dword [edx + 4]
mov dx, word [eax + edi*2]
call fcn.00446b73
cwde
mov ecx, ebx
push eax
push dword [esp + 0x38]
push 0x62
pop edx
call fcn.004318f3
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
inc edi
movzx eax, word [edx + 0x32]
cmp edi, eax
jl 0x4506ac
mov edi, dword [esp + 0x1c]
cmp dword [ebp + 0x18], 0
je 0x4507c3
movzx edx, word [edx + 0x32]
mov ecx, ebx
call fcn.00431d61
mov ecx, dword [esi + 0x38]
add eax, edx
and cl, 3
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
cmp cl, 2
mov dword [esp + 0x48], 0x34
cmove eax, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x40], ecx
test edx, edx
je 0x4507c3
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x20]
mov edx, dword [edx + ecx*4]
mov ecx, edi
call fcn.0044754f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov ecx, dword [ecx + 4]
movsx ecx, word [ecx + edx*2]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x14]
movzx ecx, word [ecx + 0x32]
dec ecx
cmp edx, ecx
jne 0x450772
mov esi, dword [esp + 0x24]
mov dword [esp + 0x48], 0x35
mov ecx, dword [ebp + 0x18]
push 0xfffffffffffffffe
push eax
mov eax, dword [esp + 0x60]
inc ecx
add eax, edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x60]
add eax, ecx
mov ecx, ebx
push esi
push eax
call fcn.00431a3d
add esp, 0x14
mov edx, 0x90
mov ecx, ebx
call fcn.00431e80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x40], ecx
movzx eax, word [eax + 0x32]
cmp ecx, eax
jl 0x450735
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x450810
cmp eax, 3
jbe 0x4507fe
cmp eax, 4
je 0x4507ef
cmp eax, 6
jne 0x450810
push dword [esp + 0x30]
mov edx, dword [ebp + 0x30]
mov ecx, dword [esp + 0x14]
push esi
push edi
call fcn.0045d3d9
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, ebx
call fcn.0043198c
jmp 0x450896
mov ecx, dword [esp + 0x10]
mov edx, eax
push esi
call fcn.0044a15d
pop ecx
jmp 0x450896
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x48], ecx
test dword [eax + 0x1c], 0x2000
je 0x45083f
push ecx
push ecx
mov ecx, dword [esp + 0x18]
mov edx, edi
push 0x6e
call fcn.0045b923
add esp, 0xc
mov dword [esp + 0x48], eax
test eax, eax
jne 0x450852
xor ecx, ecx
push ecx
push ecx
mov ecx, dword [esp + 0x18]
mov edx, edi
call fcn.0044e643
pop ecx
pop ecx
test eax, eax
je 0x45085b
mov ecx, dword [esp + 0x10]
call fcn.0044a0f8
push dword [esp + 0x30]
cmp esi, dword [esp + 0x18]
mov edx, edi
mov ecx, dword [esp + 0x14]
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x4c]
push dword [esp + 0x40]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x68]
call fcn.0044b5dc
add esp, 0x24
mov dword [esp + 0x44], 1
mov ecx, ebx
cmp dword [esp + 0x38], esi
jne 0x4508a9
mov edx, dword [esp + 0x4c]
call fcn.00431e98
jmp 0x4508b2
mov edx, dword [esp + 0x24]
call fcn.00431bff
mov ecx, dword [esp + 0x10]
call fcn.00441bb8
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x34]
je 0x4508d5
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.00443d9b
pop ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
mov esi, dword [esi + 0x14]
inc eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x18], eax
test esi, esi
jne 0x4503a0
lea edx, [esp + 0x5c]
mov ecx, ebx
call fcn.0044fe5d
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret