Function at 0x45b400
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x54c4
call fcn.004bd1b0
mov eax, dword [0x4fc040]
xor eax, esp
mov dword [esp + 0x54c0], eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [esp + 0x14], esi
test edi, edi
je case.0x45b535.3
mov ecx, dword [0x500088]
mov edx, edi
push 0x459740
call fcn.0048ecb0
mov ebx, eax
add esp, 4
test ebx, ebx
je case.0x45b535.3
shr esi, 0x10
mov dword [esp + 0x10], esi
test esi, esi
je 0x45b511
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x45b4f2
lea edx, [esp + 0x18]
push edx
lea edx, [ebx + 0x38]
call fcn.0045a280
mov esi, eax
lea edi, [esp + 0x2b4]
mov ecx, 0x86
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.00459ca0
mov ecx, dword [ebx + 8]
push esi
push eax
push dword [ebx + 0x40]
mov edx, dword [ecx]
lea eax, [esp + 0x2bc]
push eax
push 1
push ecx
mov eax, dword [edx]
call eax
add esp, 0x18
mov ecx, dword [ebx + 0x34]
mov edi, esi
test ecx, ecx
je 0x45b4f2
lea edx, [ebx + 0x38]
call fcn.0045a1a0
test al, al
je 0x45b4e8
mov ecx, ebx
call fcn.0045a7b0
mov esi, eax
test esi, esi
jne 0x45b4b1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54c0]
xor ecx, esp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
mov esi, edi
test edi, edi
je case.0x45b535.3
mov ecx, dword [ebx + 8]
mov edx, esi
call fcn.0045b180
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54c0]
xor ecx, esp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
mov edx, edi
mov ecx, 1
call fcn.0042a680
mov ecx, dword [esp + 0x14]
movzx eax, cx
dec eax
cmp eax, 0x1f
ja case.0x45b535.3
movzx eax, byte [eax + 0x45b8d4]
jmp dword [eax*4 + 0x45b8b8]
mov ecx, dword [ebx + 0x34]
mov word [ebx + 0x20], 0x101
test ecx, ecx
je case.0x45b535.3
lea eax, [esp + 0x18]
lea edx, [ebx + 0x38]
push eax
call fcn.0045a280
add esp, 4
lea edi, [esp + 0x2b0]
mov esi, eax
lea edx, [esp + 0x2b0]
mov eax, dword [ebx + 8]
mov ecx, 0x86
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push 0
push 0
push dword [ebx + 0x40]
push edx
push 2
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [ebx + 0x34]
add esp, 0x18
call fcn.0045a690
mov dword [ebx + 0x34], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54c0]
xor ecx, esp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x22], 0
je 0x45b5ce
mov byte [ebx + 0x23], 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54c0]
xor ecx, esp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x2c], 0
je 0x45b5fe
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 1
push eax
push 0x40047307
push dword [ebx + 4]
call dword [0x4ff9d8]
xor eax, eax
cmp dword [esp + 0x14], eax
sete al
mov dword [esp + 0x10], eax
jmp 0x45b606
mov dword [esp + 0x10], 0
push 0
push 0x5000
lea eax, [esp + 0x4d0]
push eax
push dword [ebx + 4]
call dword [0x4ffb88]
mov edi, eax
mov ecx, 2
mov edx, edi
call fcn.0042a680
test edi, edi
jns 0x45b644
call dword [0x500394]
mov esi, eax
cmp esi, 0x2733
je case.0x45b535.3
mov ecx, dword [ebx + 8]
test edi, edi
jns 0x45b667
mov edx, esi
call fcn.0045b180
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54c0]
xor ecx, esp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx]
je 0x45b7c2
mov eax, dword [eax + 8]
lea edx, [esp + 0x4c8]
push edi
push edx
push dword [esp + 0x18]
push ecx
call eax
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54c0]
xor ecx, esp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
push 1
push 0x5000
lea eax, [esp + 0x4d0]
push eax
push dword [ebx + 4]
call dword [0x4ffb88]
mov esi, eax
mov ecx, 2
mov edx, esi
call fcn.0042a680
test esi, esi
jg 0x45b6e9
call dword [0x500394]
mov ecx, dword [ebx + 8]
mov edx, eax
call fcn.0045b180
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54c0]
xor ecx, esp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 8]
lea edx, [esp + 0x4c8]
push esi
push edx
push 2
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 8]
call eax
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54c0]
xor ecx, esp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
lea ecx, [ebx + 0xc]
mov byte [ebx + 0x21], 1
call fcn.00459100
mov edi, eax
mov ecx, ebx
add edi, dword [ebx + 0x28]
call fcn.0045b1e0
lea ecx, [ebx + 0xc]
call fcn.00459100
mov edx, eax
add edx, dword [ebx + 0x28]
cmp edx, edi
jge case.0x45b535.3
mov ecx, dword [ebx + 8]
push edx
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54c0]
xor ecx, esp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
push 0
push 0x5000
lea eax, [esp + 0x4d0]
push eax
push dword [ebx + 4]
call dword [0x4ffb88]
mov esi, eax
test esi, esi
js 0x45b7e4
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
je 0x45b7c2
mov eax, dword [eax + 8]
lea edx, [esp + 0x4c8]
push esi
push edx
push 0
push ecx
call eax
add esp, 0x10
test esi, esi
jg case.0x45b535.32
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54c0]
xor ecx, esp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 4]
push 0
push 0
push ecx
call eax
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54c0]
xor ecx, esp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
call dword [0x500394]
cmp eax, 0x2733
je case.0x45b535.3
mov ecx, dword [ebx + 8]
mov edx, eax
call fcn.0045b180
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54c0]
xor ecx, esp
call fcn.00495b16
mov esp, ebp
pop ebp
ret
push 0x80
lea eax, [esp + 0x234]
mov dword [esp + 0x14], 0x80
push 0
push eax
call fcn.00497aa0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x234]
push eax
push dword [ebx + 4]
call dword [0x4ffb7c]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45b85d
call dword [0x500394]
cmp eax, 0x2afa
je case.0x45b535.3
cmp word [esp + 0x230], 2
jne 0x45b881
cmp byte [ebx + 0x24], 0
je 0x45b881
push dword [esp + 0x234]
call fcn.0045a3a0
add esp, 4
test al, al
je 0x45b899
mov eax, dword [ebx + 8]
push esi
push 0x45a700
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
call eax
add esp, 0xc
test eax, eax
je case.0x45b535.3
push esi
call dword [0x4ffb98]
mov ecx, dword [esp + 0x54cc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00495b16
mov esp, ebp
pop ebp
ret