Function at 0x455de8
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.0045cd1f
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 0x455e4b
and dword [esp + 0x14], 0
mov dword [esp + 0x3c], 1
jmp 0x455e5e
mov ecx, edi
call fcn.0044c8a3
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 0x455fa0
xor edx, edx
mov dword [esp + 0x2c], edx
movsx eax, word [edi + 0x28]
cmp esi, eax
je 0x455f8a
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x455e8f
cmp dword [eax + esi*4], 0
jl 0x455f8a
mov eax, dword [edi + 4]
movzx edi, byte [edx + eax + 0xc]
test edi, edi
je 0x455f86
mov cl, byte [ebp + 0x20]
push 2
cmp cl, 0xb
je 0x455eaf
movzx edi, cl
pop ecx
jmp 0x455eb6
cmp edi, 0xb
pop ecx
cmove edi, ecx
cmp edi, 5
jne 0x455ec3
cmp dword [edx + eax + 4], 0
cmove edi, ecx
mov eax, edi
sub eax, 1
je 0x455f2e
sub eax, 1
je 0x455f25
sub eax, 1
je 0x455f2e
sub eax, 1
mov ecx, ebx
mov eax, dword [ebp + 0x14]
je 0x455f12
inc eax
add esi, eax
push esi
push 0x33
pop edx
call fcn.0043670d
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.004487e4
pop ecx
mov edx, edi
mov ecx, ebx
call fcn.00436c48
jmp 0x455f7e
push dword [ebp + 0x24]
inc eax
add eax, esi
push eax
push 0x32
pop edx
call fcn.00436721
pop ecx
pop ecx
jmp 0x455f82
mov ecx, dword [esp + 0x10]
call fcn.0044febb
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 4]
push dword [edx + eax]
push dword [esi]
push 0x4aecd4
push dword [esp + 0x34]
call fcn.0042010c
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.0043669d
add esp, 0x1c
mov edx, esi
mov ecx, ebx
push 0xfffffffffffffff9
call fcn.00436eca
pop ecx
xor edx, edx
mov ecx, ebx
inc edx
call fcn.00436c30
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 0x455e72
mov edx, dword [edi + 0x18]
mov dword [esp + 0x30], edx
test edx, edx
je 0x45609a
mov eax, dword [esp + 0x28]
test dword [eax + 0x1c], 0x200
jne 0x45609a
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 0x456092
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 0x45600c
movzx eax, byte [ebp + 0x1c]
push eax
call fcn.00455d51
pop ecx
test eax, eax
jne 0x456072
mov ecx, ebx
call fcn.0043696d
push 0x10
push eax
push dword [esp + 0x58]
mov dword [esp + 0x54], eax
push dword [esp + 0x1c]
call fcn.00448b1b
add esp, 0x10
cmp esi, 4
jne 0x45603b
mov edx, dword [ebp + 0x24]
mov ecx, ebx
call fcn.00436736
jmp 0x456067
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test eax, eax
jne 0x456047
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.0044fec8
add esp, 0x10
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.004369af
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 0x455fef
mov eax, dword [esp + 0x10]
and dword [eax + 0x38], 0
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x4560d5
cmp dword [eax], 0
jne 0x4560b0
and dword [ebp + 0x30], 0
mov byte [ebp + 0x20], 4
jmp 0x4560d5
mov eax, dword [eax + 0x10]
mov dword [esp + 0x38], eax
test eax, eax
je 0x4560d5
mov ecx, ebx
call fcn.0043696d
mov ecx, ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
call fcn.0043696d
mov dword [esp + 0x68], eax
cmp byte [ebp + 0x1c], 0
je 0x4562d1
cmp dword [esp + 0x14], 0
jne 0x4562d1
mov ecx, ebx
call fcn.0043696d
mov dl, byte [ebp + 0x20]
mov ecx, eax
movzx esi, byte [edi + 0x30]
mov dword [esp + 0x34], ecx
cmp dl, 0xb
je 0x456108
movzx esi, dl
jmp 0x456111
push 2
cmp esi, 0xb
pop eax
cmove esi, eax
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x4561c2
cmp dword [eax + 0x10], 0
jne 0x4561c2
cmp dword [eax + 8], 0
jne 0x4561bf
push 4
pop esi
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x456160
push eax
push ecx
push dword [ebp + 0x14]
mov ecx, ebx
push 0x35
pop edx
call fcn.0043669d
add esp, 0xc
mov edx, 0x90
mov ecx, ebx
call fcn.00436c30
push dword [ebp + 0x14]
mov ecx, ebx
push dword [esp + 0x38]
push dword [ebp + 0xc]
push 0x20
pop edx
call fcn.0043669d
add esp, 0xc
test esi, esi
je 0x456296
cmp esi, 3
jbe 0x45629b
cmp esi, 4
je 0x4561b0
cmp esi, 5
je 0x4561fc
cmp esi, 6
jne 0x456296
push dword [ebp + 0xc]
mov edx, dword [ebp + 0x30]
mov ecx, dword [esp + 0x14]
push 0
push edi
call fcn.0046383f
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, ebx
call fcn.00436736
jmp 0x4562a8
push 6
pop esi
cmp esi, 5
jb 0x456133
test eax, eax
jne 0x4561da
movzx eax, dl
cmp esi, eax
je 0x456133
cmp dword [edi + 8], 0
je 0x456133
push 0xd
pop edx
mov ecx, ebx
call fcn.004366ff
mov ecx, dword [esp + 0x34]
inc eax
mov dword [esp + 0x5c], eax
jmp 0x456137
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov esi, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
test dword [eax + 0x1c], 0x2000
je 0x45622d
push ecx
push ecx
push 0x6e
mov edx, edi
mov ecx, esi
call fcn.00461bff
add esp, 0xc
mov dword [esp + 0x44], eax
test eax, eax
jne 0x456262
xor ecx, ecx
push ecx
push ecx
mov edx, edi
mov ecx, esi
call fcn.004544d0
pop ecx
pop ecx
test eax, eax
jne 0x456262
cmp dword [edi + 8], eax
je 0x45628c
mov ecx, esi
call fcn.0044feae
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov edx, edi
mov ecx, esi
push dword [ebp + 0xc]
call fcn.0045166b
add esp, 0x10
jmp 0x45628c
mov ecx, esi
call fcn.0044feae
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.004513d6
add esp, 0x24
mov dword [esp + 0x44], 1
jmp 0x4562a8
push 2
pop eax
mov esi, eax
mov ecx, dword [esp + 0x10]
mov edx, esi
push edi
call fcn.00450009
pop ecx
mov edx, dword [esp + 0x34]
mov ecx, ebx
call fcn.004369af
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4562d1
push 0xd
pop edx
call fcn.004366ff
lea edx, [esi - 1]
mov dword [esp + 0x6c], eax
mov ecx, ebx
call fcn.00436c48
mov esi, dword [edi + 8]
and dword [esp + 0x18], 0
mov dword [esp + 0x50], esi
test esi, esi
je 0x45683c
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax*4], 0
je 0x456828
mov ecx, ebx
cmp dword [esp + 0x38], esi
jne 0x45631e
mov eax, dword [esp + 0x68]
xor edx, edx
mov dword [esp + 0x24], eax
call fcn.00436736
mov edx, dword [esp + 0x64]
mov ecx, ebx
mov dword [esp + 0x4c], eax
call fcn.004369af
jmp 0x456327
call fcn.0043696d
mov dword [esp + 0x24], eax
cmp byte [esp + 0xf], 0
jne 0x456342
mov ecx, dword [ebp + 0x14]
mov edx, edi
inc ecx
push ecx
mov ecx, ebx
call fcn.00454bf8
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 0x456392
mov ecx, dword [ebp + 8]
push dword [ecx + eax*4]
mov ecx, ebx
push 0
push 0x46
pop edx
call fcn.00436721
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.00449080
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
and dword [ecx + 0x38], 0
jmp 0x456396
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 0x45643f
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 0x4563f2
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.0044882c
pop ecx
mov ecx, dword [esp + 0x10]
and dword [ecx + 0x38], 0
jmp 0x456425
cmp edx, 0xffffffff
je 0x456407
movsx eax, word [edi + 0x28]
cmp edx, eax
je 0x456407
mov eax, dword [ebp + 0x14]
inc eax
add eax, edx
jmp 0x45640a
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.00436721
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 0x4563bf
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.0043669d
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x456481
cmp dword [esp + 0x14], esi
jne 0x456481
cmp byte [ebp + 0x1c], 0
jne 0x456481
mov edx, dword [esp + 0x24]
mov ecx, ebx
call fcn.004369af
jmp 0x456821
movzx eax, byte [esi + 0x36]
test eax, eax
je 0x456471
mov cl, byte [ebp + 0x20]
cmp cl, 0xb
je 0x456496
movzx eax, cl
jmp 0x45649f
push 2
cmp eax, 0xb
pop ecx
cmove eax, ecx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x38], esi
jne 0x4564c2
mov eax, dword [ebp + 0x30]
cmp dword [eax + 8], 0
jne 0x4564bb
push 4
pop eax
mov dword [esp + 0x20], eax
jmp 0x4564d6
push 6
pop eax
mov dword [esp + 0x20], eax
cmp eax, 5
jne 0x4564d6
lea edx, [esp + 0x5c]
mov ecx, ebx
call fcn.00455da9
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], 0
jne 0x456539
cmp dword [esi + 0x14], 0
jne 0x456539
cmp dword [esp + 0x14], esi
jne 0x456539
cmp eax, 5
jne 0x456539
mov eax, dword [esp + 0x28]
test dword [eax + 0x1c], 0x2000
je 0x456517
mov ecx, dword [esp + 0x10]
mov edx, edi
push 0
push 0
push 0x6e
call fcn.00461bff
add esp, 0xc
test eax, eax
jne 0x456539
mov eax, dword [esp + 0x28]
test dword [eax + 0x1c], 0x4000
je 0x456471
cmp dword [edi + 0x10], 0
jne 0x456539
mov ecx, edi
call fcn.00453db2
test eax, eax
je 0x456471
mov ecx, dword [esp + 0x10]
call fcn.00447771
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.0043691e
mov edx, dword [esp + 0x24]
add esp, 0x10
cmp esi, edx
jne 0x45656e
mov ecx, dword [esp + 0x34]
jmp 0x456581
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
call fcn.004499d3
mov edx, dword [esp + 0x14]
mov ecx, eax
cmp dword [ebp + 0x18], 0
mov dword [esp + 0x2c], ecx
jne 0x456598
mov eax, dword [esp + 0x20]
cmp eax, 5
jne 0x456713
test byte [edi + 0x24], 0x20
jne 0x4565e3
push ecx
push dword [esp + 0x34]
mov edx, 0x84
mov ecx, ebx
call fcn.00436721
mov eax, dword [ebp + 0x18]
pop ecx
pop ecx
test eax, eax
je 0x45670f
push eax
push dword [esp + 0x28]
mov ecx, ebx
push dword [esp + 0x34]
push 0x35
pop edx
call fcn.0043669d
add esp, 0xc
mov edx, 0x90
mov ecx, ebx
call fcn.00436c30
jmp 0x45670f
cmp esi, edx
je 0x456632
and dword [esp + 0x48], 0
xor eax, eax
cmp ax, word [edx + 0x32]
jae 0x456632
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.0044c8bb
cwde
mov ecx, ebx
push eax
push dword [esp + 0x38]
push 0x62
pop edx
call fcn.0043669d
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
inc edi
movzx eax, word [edx + 0x32]
cmp edi, eax
jl 0x4565f8
mov edi, dword [esp + 0x1c]
cmp dword [ebp + 0x18], 0
je 0x45670f
movzx edx, word [edx + 0x32]
mov ecx, ebx
call fcn.00436b11
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 0x45670f
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.0044d297
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 0x4566be
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.004367ed
add esp, 0x14
mov edx, 0x90
mov ecx, ebx
call fcn.00436c30
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 0x456681
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x45675c
cmp eax, 3
jbe 0x45674a
cmp eax, 4
je 0x45673b
cmp eax, 6
jne 0x45675c
push dword [esp + 0x30]
mov edx, dword [ebp + 0x30]
mov ecx, dword [esp + 0x14]
push esi
push edi
call fcn.0046383f
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, ebx
call fcn.00436736
jmp 0x4567e2
mov ecx, dword [esp + 0x10]
mov edx, eax
push esi
call fcn.0044ff13
pop ecx
jmp 0x4567e2
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x48], ecx
test dword [eax + 0x1c], 0x2000
je 0x45678b
push ecx
push ecx
mov ecx, dword [esp + 0x18]
mov edx, edi
push 0x6e
call fcn.00461bff
add esp, 0xc
mov dword [esp + 0x48], eax
test eax, eax
jne 0x45679e
xor ecx, ecx
push ecx
push ecx
mov ecx, dword [esp + 0x18]
mov edx, edi
call fcn.004544d0
pop ecx
pop ecx
test eax, eax
je 0x4567a7
mov ecx, dword [esp + 0x10]
call fcn.0044feae
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.004513d6
add esp, 0x24
mov dword [esp + 0x44], 1
mov ecx, ebx
cmp dword [esp + 0x38], esi
jne 0x4567f5
mov edx, dword [esp + 0x4c]
call fcn.00436c48
jmp 0x4567fe
mov edx, dword [esp + 0x24]
call fcn.004369af
mov ecx, dword [esp + 0x10]
call fcn.00447775
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x34]
je 0x456821
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.00449a09
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 0x4562ec
lea edx, [esp + 0x5c]
mov ecx, ebx
call fcn.00455da9
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