Function at 0x42733d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x18], ecx
push ebx
mov dword [ebp - 0x3c], ecx
setne byte [ebp - 1]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x48], ecx
mov byte [ebp - 2], cl
mov ecx, dword [eax]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x20], ecx
mov ecx, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], eax
call fcn.0042df3f
test byte [edi + 0x24], 0x20
mov ebx, eax
movsx edx, word [edi + 0x2a]
mov dword [ebp - 0x44], edx
jne 0x42738d
and dword [ebp - 0xc], 0
mov dword [ebp - 0x30], 1
jmp 0x42739e
mov ecx, edi
call fcn.0041e23e
mov dword [ebp - 0xc], eax
movzx eax, word [eax + 0x32]
mov dword [ebp - 0x30], eax
xor esi, esi
mov dword [ebp - 0x28], esi
test edx, edx
jle 0x4274c9
xor edx, edx
mov dword [ebp - 0x24], edx
movsx eax, word [edi + 0x28]
cmp esi, eax
je 0x4274b6
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x4273cd
cmp dword [eax + esi*4], 0
jl 0x4274b6
mov eax, dword [edi + 4]
movzx edi, byte [eax + edx + 0xc]
test edi, edi
je 0x4274b3
mov cl, byte [ebp + 0x20]
push 2
cmp cl, 0xa
je 0x4273ed
movzx edi, cl
pop ecx
jmp 0x4273f4
cmp edi, 0xa
pop ecx
cmove edi, ecx
cmp edi, 5
jne 0x427401
cmp dword [eax + edx + 4], 0
cmove edi, ecx
mov eax, edi
dec eax
je 0x427460
dec eax
je 0x427458
dec eax
je 0x427460
dec eax
mov ecx, ebx
mov eax, dword [ebp + 0x14]
je 0x427445
inc eax
add esi, eax
push esi
push 0x4c
pop edx
call fcn.0040917e
pop ecx
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov eax, dword [ebp - 0x24]
push esi
mov edx, dword [ecx + 4]
mov ecx, dword [ebp - 8]
mov edx, dword [edx + eax + 4]
call fcn.0041a4a0
pop ecx
mov edx, edi
mov ecx, ebx
call fcn.00409643
jmp 0x4274ad
push dword [ebp + 0x24]
inc eax
add eax, esi
push eax
push 0x4b
pop edx
call fcn.00409192
pop ecx
pop ecx
jmp 0x4274b0
mov ecx, dword [ebp - 8]
call fcn.004217a3
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
push dword [eax + edx]
push dword [ecx]
push 0x4ac7a8
push dword [ebp - 0x20]
call fcn.003f39bd
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov eax, dword [ebp - 0x28]
inc ecx
add eax, ecx
mov ecx, ebx
push eax
push edi
push 0x513
push 0x36
pop edx
call fcn.0040910e
add esp, 0x1c
mov edx, esi
mov ecx, ebx
push 0xfffffffffffffff9
call fcn.004098c3
pop ecx
xor edx, edx
mov ecx, ebx
inc edx
call fcn.0040962b
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x14]
inc esi
add edx, 0x10
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edx
cmp esi, dword [ebp - 0x44]
jl 0x4273b0
mov edx, dword [edi + 0x18]
mov dword [ebp - 0x28], edx
test edx, edx
je 0x4275b2
mov eax, dword [ebp - 0x20]
test dword [eax + 0x18], 0x200
jne 0x4275b2
mov ecx, dword [ebp - 8]
or eax, 0xffffffff
sub eax, dword [ebp + 0x14]
cmp byte [ebp + 0x20], 0xa
push 2
mov dword [ecx + 0x38], eax
movzx eax, byte [ebp + 0x20]
pop esi
cmovne esi, eax
and dword [ebp - 0x34], 0
cmp dword [edx], 0
jle 0x4275ab
lea eax, [edx + 0xc]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp + 0x2c]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x44], ecx
test edx, edx
je 0x427530
movzx eax, byte [ebp + 0x1c]
push eax
call fcn.004272f0
pop ecx
test eax, eax
jne 0x427590
mov ecx, ebx
call fcn.0040935e
push 0x10
push eax
push dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
push dword [ebp - 8]
call fcn.0041a79b
add esp, 0x10
cmp esi, 4
jne 0x42755c
mov edx, dword [ebp + 0x24]
mov ecx, ebx
call fcn.004091a7
jmp 0x427586
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
test eax, eax
jne 0x427567
mov eax, dword [edi]
push 2
pop ecx
push 3
cmp esi, 5
mov edx, 0x113
push 0
cmove esi, ecx
mov ecx, dword [ebp - 8]
push eax
push esi
call fcn.004217b0
add esp, 0x10
mov edx, dword [ebp - 0x40]
mov ecx, ebx
call fcn.004093a0
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, dword [ebp - 0x2c]
add eax, 0x18
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], eax
cmp edx, dword [ecx]
jl 0x427514
mov eax, dword [ebp - 8]
and dword [eax + 0x38], 0
cmp byte [ebp + 0x1c], 0
je 0x427754
cmp dword [ebp - 0xc], 0
jne 0x427754
mov ecx, ebx
call fcn.0040935e
mov cl, byte [ebp + 0x20]
movzx esi, byte [edi + 0x30]
mov dword [ebp - 0x34], eax
cmp cl, 0xa
je 0x4275e1
movzx esi, cl
jmp 0x4275ea
push 2
cmp esi, 0xa
pop edx
cmove esi, edx
cmp byte [ebp - 1], 0
je 0x427613
push dword [ebp + 0x18]
mov ecx, ebx
push eax
push dword [ebp + 0x14]
push 0x4e
pop edx
call fcn.0040910e
add esp, 0xc
mov edx, 0x90
mov ecx, ebx
call fcn.0040962b
mov cl, byte [ebp + 0x20]
cmp esi, 5
jne 0x427645
cmp cl, 5
je 0x427645
mov eax, dword [edi + 8]
jmp 0x427632
mov cl, byte [eax + 0x36]
cmp cl, 4
je 0x427638
cmp cl, 3
je 0x427638
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x427622
jmp 0x427645
push 0xd
pop edx
mov ecx, ebx
call fcn.00409170
mov dword [ebp - 0x38], eax
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp - 0x34]
push dword [ebp + 0xc]
push 0x20
pop edx
call fcn.0040910e
add esp, 0xc
test esi, esi
jle 0x42771e
cmp esi, 3
jle 0x427723
cmp esi, 4
je 0x427712
cmp esi, 5
jne 0x42771e
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov esi, dword [ebp - 8]
mov dword [ebp - 0x3c], ecx
test dword [eax + 0x18], 0x2000
je 0x4276ab
push ecx
push ecx
push 0x6d
mov edx, edi
mov ecx, esi
call fcn.00432c62
add esp, 0xc
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4276e0
xor ecx, ecx
push ecx
push ecx
mov edx, edi
mov ecx, esi
call fcn.00425bca
pop ecx
pop ecx
test eax, eax
jne 0x4276e0
cmp dword [edi + 8], eax
je 0x427709
mov ecx, esi
call fcn.00421796
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov edx, edi
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00422e9b
add esp, 0x10
jmp 0x427709
mov ecx, esi
call fcn.00421796
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 [ebp - 0x3c]
call fcn.00422c0a
add esp, 0x24
mov dword [ebp - 0x3c], 1
jmp 0x42772f
mov edx, dword [ebp + 0x24]
mov ecx, ebx
call fcn.004091a7
jmp 0x42772f
push 2
pop eax
mov esi, eax
mov ecx, dword [ebp - 8]
mov edx, esi
push edi
call fcn.004218df
pop ecx
mov edx, dword [ebp - 0x34]
mov ecx, ebx
call fcn.004093a0
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x427754
push 0xd
pop edx
call fcn.00409170
mov edx, esi
mov dword [ebp - 0x48], eax
mov ecx, ebx
call fcn.00409643
mov esi, dword [edi + 8]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x44], esi
test esi, esi
je 0x427ba1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax*4], 0
je 0x427b8f
cmp byte [ebp - 2], 0
jne 0x427792
mov eax, dword [ebp + 0x14]
mov edx, edi
inc eax
mov ecx, ebx
push eax
call fcn.004262ef
mov eax, dword [ebp - 0x10]
pop ecx
mov byte [ebp - 2], 1
add eax, dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebp - 0x2c], eax
call fcn.0040935e
cmp dword [esi + 0x24], 0
mov dword [ebp - 0x18], eax
je 0x4277e2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
push dword [ecx + eax*4]
mov ecx, ebx
push 0
push 0x3b
pop edx
call fcn.00409192
mov ecx, dword [ebp - 8]
or eax, 0xffffffff
sub eax, dword [ebp + 0x14]
add esp, 4
mov dword [ecx + 0x38], eax
push dword [ebp - 0x18]
mov edx, dword [esi + 0x24]
call fcn.0041ac76
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
and dword [ecx + 0x38], 0
jmp 0x4277e5
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp - 0x10]
mov eax, dword [edx + eax*4]
xor edx, edx
inc eax
mov dword [ebp - 0x34], edx
cmp di, word [esi + 0x34]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
jae 0x427889
and dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 4]
movsx edx, word [eax + edx*2]
mov dword [ebp - 0x40], edx
cmp edx, 0xfffffffe
jne 0x427840
push dword [ebp - 0x24]
or eax, 0xffffffff
sub eax, dword [ebp + 0x14]
mov dword [ecx + 0x38], eax
mov edx, dword [esi + 0x28]
mov eax, dword [ebp - 0x1c]
mov edx, dword [edx + eax + 8]
call fcn.0041a4e8
pop ecx
mov ecx, dword [ebp - 8]
and dword [ecx + 0x38], 0
jmp 0x427873
cmp edx, 0xffffffff
je 0x427855
movsx eax, word [edi + 0x28]
cmp edx, eax
je 0x427855
mov eax, dword [ebp + 0x14]
inc eax
add eax, edx
jmp 0x427858
mov eax, dword [ebp + 0x14]
push dword [ebp - 0x24]
xor edx, edx
mov ecx, ebx
cmp dword [ebp - 0x40], edx
push eax
setl dl
add edx, 0x41
call fcn.00409192
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x34]
add dword [ebp - 0x1c], 0x18
inc edx
movzx eax, word [esi + 0x34]
inc dword [ebp - 0x24]
mov dword [ebp - 0x34], edx
cmp edx, eax
jl 0x42780c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
push dword [ecx + eax*4]
movzx eax, word [esi + 0x34]
mov ecx, ebx
push eax
push dword [ebp - 0x28]
push 0x63
pop edx
call fcn.0040910e
mov ecx, dword [ebp - 0xc]
add esp, 0xc
cmp byte [ebp - 1], 0
je 0x4278c9
cmp ecx, esi
jne 0x4278c9
cmp byte [ebp + 0x1c], 0
jne 0x4278c9
mov edx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.004093a0
jmp 0x427b89
movzx eax, byte [esi + 0x36]
test eax, eax
je 0x4278ba
mov dl, byte [ebp + 0x20]
cmp dl, 0xa
je 0x4278de
movzx eax, dl
jmp 0x4278e7
push 2
cmp eax, 0xa
pop edx
cmove eax, edx
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], eax
jne 0x427943
cmp dword [esi + 0x14], 0
jne 0x427943
cmp ecx, esi
jne 0x427943
cmp eax, 5
jne 0x427943
mov eax, dword [ebp - 0x20]
test dword [eax + 0x18], 0x2000
je 0x427925
mov ecx, dword [ebp - 8]
mov edx, edi
push 0
push 0
push 0x6d
call fcn.00432c62
add esp, 0xc
test eax, eax
jne 0x427943
mov eax, dword [ebp - 0x20]
test dword [eax + 0x18], 0x4000
je 0x4278ba
cmp dword [edi + 0x10], 0
jne 0x427943
mov ecx, edi
call fcn.004254c8
test eax, eax
je 0x4278ba
movzx eax, word [esi + 0x32]
mov ecx, ebx
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x1c
pop edx
call fcn.0040930f
mov edx, dword [ebp - 0xc]
add esp, 0x10
cmp esi, edx
jne 0x42796a
mov ecx, dword [ebp - 0x28]
jmp 0x42797a
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x30]
call fcn.0041b45d
mov edx, dword [ebp - 0xc]
mov ecx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 0x24], ecx
jne 0x42798f
mov eax, dword [ebp - 0x1c]
cmp eax, 5
jne 0x427ae6
test byte [edi + 0x24], 0x20
jne 0x4279d8
push ecx
push dword [ebp - 0x2c]
mov edx, 0x81
mov ecx, ebx
call fcn.00409192
cmp byte [ebp - 1], 0
pop ecx
pop ecx
je 0x427ae3
push dword [ebp + 0x18]
mov ecx, ebx
push dword [ebp - 0x18]
push dword [ebp - 0x24]
push 0x4e
pop edx
call fcn.0040910e
add esp, 0xc
mov edx, 0x90
mov ecx, ebx
call fcn.0040962b
jmp 0x427ae3
cmp esi, edx
je 0x427a21
and dword [ebp - 0x40], 0
xor eax, eax
cmp ax, word [edx + 0x32]
jae 0x427a21
mov edi, dword [ebp - 0x40]
lea eax, [ecx + edi]
mov ecx, esi
push eax
mov eax, dword [edx + 4]
mov dx, word [eax + edi*2]
call fcn.0041e256
cwde
mov ecx, ebx
push eax
push dword [ebp - 0x2c]
push 0x60
pop edx
call fcn.0040910e
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
inc edi
movzx eax, word [edx + 0x32]
cmp edi, eax
jl 0x4279eb
mov edi, dword [ebp - 0x14]
cmp byte [ebp - 1], 0
je 0x427ae3
movzx edx, word [edx + 0x32]
mov ecx, ebx
call fcn.0040950e
mov ecx, dword [esi + 0x38]
add eax, edx
and cl, 3
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
cmp cl, 2
mov dword [ebp - 0x40], 0x4d
cmove eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x34], ecx
test edx, edx
jle 0x427ae3
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x20]
mov edx, dword [edx + ecx*4]
mov ecx, edi
call fcn.0041ec0d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ecx + 4]
movsx ecx, word [ecx + edx*2]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0xc]
movzx ecx, word [ecx + 0x32]
dec ecx
cmp edx, ecx
jne 0x427a9e
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x40], 0x4e
mov ecx, dword [ebp + 0x18]
push 0xfffffffffffffffe
push eax
mov eax, dword [ebp - 0x50]
inc ecx
add eax, edx
mov edx, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x4c]
add eax, ecx
mov ecx, ebx
push esi
push eax
call fcn.00409258
add esp, 0x14
mov edx, 0x90
mov ecx, ebx
call fcn.0040962b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x34]
inc ecx
mov dword [ebp - 0x34], ecx
movzx eax, word [eax + 0x32]
cmp ecx, eax
jl 0x427a68
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x1c]
test eax, eax
jle 0x427b0e
cmp eax, 3
jle 0x427b00
cmp eax, 4
jne 0x427b0e
mov edx, dword [ebp + 0x24]
mov ecx, ebx
call fcn.004091a7
jmp 0x427b69
mov ecx, dword [ebp - 8]
mov edx, eax
push esi
call fcn.004217ff
pop ecx
jmp 0x427b69
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.00421796
mov eax, dword [ebp - 0x20]
test dword [eax + 0x18], 0x2000
je 0x427b37
mov ecx, dword [ebp - 8]
push edx
push edx
push 0x6d
mov edx, edi
call fcn.00432c62
add esp, 0xc
mov edx, eax
push dword [ebp - 0x2c]
cmp esi, dword [ebp - 0xc]
sete cl
movzx ecx, cl
push ecx
mov ecx, dword [ebp - 8]
push 5
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x24]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edx
mov edx, edi
call fcn.00422c0a
add esp, 0x24
mov dword [ebp - 0x3c], 1
mov edx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.004093a0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
je 0x427b89
push dword [ebp - 0x30]
mov ecx, dword [ebp - 8]
mov edx, eax
call fcn.0041b493
pop ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov esi, dword [esi + 0x14]
inc eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x10], eax
test esi, esi
jne 0x42776c
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x427bbc
lea edx, [eax + 1]
mov ecx, ebx
call fcn.004091a7
mov edx, dword [ebp - 0x48]
mov ecx, ebx
call fcn.00409643
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp - 0x3c]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret