Function at 0x4361c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
push 0x437b70
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
lea ebx, [ebp + 4]
mov dword [ebp - 0xc], 0
push eax
add ebx, 0xfffffffc
push ebx
call fcn.00428190
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push 0x437b70
push eax
push ebx
call fcn.00428190
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.00429990
mov ebx, dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebx + 0x2c]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.00429990
mov ecx, dword [ebp - 4]
add esp, 0x38
test ecx, ecx
je 0x436259
mov edx, dword [ebp - 8]
mov eax, dword [edx]
movzx eax, byte [eax + ecx - 1]
test byte [eax*2 + 0x55ef88], 0x20
je 0x43625c
dec ecx
mov dword [ebp - 4], ecx
mov eax, dword [edx]
mov byte [ecx + eax], 0
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x436234
mov edx, dword [ebp - 8]
push 0x515468
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push edx
call fcn.00429990
mov edi, dword [ebp + 0x18]
add esp, 0x10
and edi, 8
mov dword [ebp - 0x30], edi
je 0x4362a1
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call fcn.004376d0
push eax
push 0x515f0c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.00429a30
add esp, 0x1c
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4362d5
jmp 0x4362b0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
movzx eax, byte [eax + ecx - 1]
test byte [eax*2 + 0x55ef88], 0x20
je 0x4362d8
dec ecx
mov dword [ebp - 4], ecx
mov eax, dword [edx]
mov byte [ecx + eax], 0
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x4362b0
mov edx, dword [ebp - 8]
push 0x5125d8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push edx
call fcn.00429990
mov ecx, dword [ebp + 0x18]
add esp, 0x10
mov ebx, dword [ebx + 0xc]
mov esi, ecx
and esi, 0x62
mov dword [ebp + 0x14], ebx
mov dword [ebp - 0x2c], esi
je 0x43630a
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + 0x10]
mov dword [ebp + 0x14], ebx
test ebx, ebx
je 0x4366c9
mov edx, dword [0x583e70]
mov eax, ecx
and eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebx], 0
je 0x43657b
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.00429990
add esp, 0x10
cmp dword [ebp + 0x1c], ebx
jne 0x436360
test esi, esi
je 0x436360
push 0x516a10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.00429990
add esp, 0x10
mov eax, dword [0x583e74]
test eax, eax
je 0x436386
cmp ebx, dword [eax + 0xc]
jne 0x436386
push 0x516a18
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.00429990
add esp, 0x10
push dword [ebx + 0x20]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.00429990
add esp, 0x10
test byte [ebp + 0x18], 4
je 0x4363ca
push dword [ebx + 0x24]
push ebx
push dword [ebx + 0x1c]
call fcn.00447680
add esp, 4
push eax
push 0x516a24
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.00429a30
add esp, 0x1c
push ebx
call fcn.00437a90
push eax
push 0x516a34
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.00429a30
add esp, 0x18
test edi, edi
je 0x43647d
mov esi, dword [0x587b88]
sub esi, dword [ebx + 0x40]
mov edi, dword [0x587b8c]
sbb edi, dword [ebx + 0x44]
push 0
push 0x3e8
push edi
push esi
mov dword [ebp - 0x18], esi
call fcn.004fb6c0
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx]
lea ebx, [ecx + 0x2200]
imul ecx, eax, 0x3e8
sub esi, ecx
push esi
push 0
push 0x3c
push edx
push eax
call fcn.004f9030
push eax
push 0
push 0x3c
push edi
push dword [ebp - 0x18]
call fcn.004fb6c0
push 0
push 0x3e8
push edx
push eax
call fcn.004fb6c0
push eax
push 0x516a00
push 0x1e
push ebx
call fcn.0044d600
push ebx
push 0x515f0c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.00429a30
mov ebx, dword [ebp + 0x14]
add esp, 0x2c
cmp dword [ebx + 0x2c], 0
mov esi, dword [ebp - 0x10]
je 0x4364cd
mov eax, dword [esi]
test eax, eax
je 0x43649e
push eax
call fcn.004f7492
mov dword [esi], 0
add esp, 4
mov esi, dword [ebp - 0x10]
mov eax, dword [ebx + 0x2c]
push ebx
push esi
call eax
mov esi, dword [ebp - 0x10]
add esp, 8
mov eax, dword [esi]
test eax, eax
je 0x4364cd
push eax
push 0x515f0c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.00429a30
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov edi, dword [ebx + 0x30]
test edi, edi
je 0x43652a
cmp dword [edi + 0x14], 0
je 0x436524
mov eax, dword [esi]
test eax, eax
je 0x4364f2
push eax
call fcn.004f7492
mov dword [esi], 0
add esp, 4
mov esi, dword [ebp - 0x10]
push dword [edi + 0xc]
mov eax, dword [edi + 0x14]
push ebx
push esi
call eax
mov esi, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [esi]
test eax, eax
je 0x436524
push eax
push 0x515f0c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.00429a30
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov edi, dword [edi]
test edi, edi
jne 0x4364d4
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x436556
mov edx, dword [ebp - 8]
mov eax, dword [edx]
movzx eax, byte [eax + ecx - 1]
test byte [eax*2 + 0x55ef88], 0x20
je 0x436559
dec ecx
mov dword [ebp - 4], ecx
mov eax, dword [edx]
mov byte [ecx + eax], 0
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x436531
mov edx, dword [ebp - 8]
push 0x5125d8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push edx
call fcn.00429990
mov edx, dword [0x583e70]
add esp, 0x10
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4365aa
test cl, 0x10
je 0x4365a6
mov esi, dword [ebp + 0x1c]
cmp esi, ebx
je 0x4365aa
mov eax, dword [ebx + 0xc]
cmp edx, eax
je 0x4365a2
mov ecx, dword [eax]
cmp esi, ecx
je 0x43659f
mov eax, dword [ecx + 0xc]
cmp edx, eax
jne 0x436592
mov ecx, dword [ebp + 0x18]
cmp esi, dword [eax]
je 0x4365aa
xor eax, eax
jmp 0x4365af
mov eax, 1
mov edi, dword [ebx + 8]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x4366af
test cl, 0x20
je 0x4365ca
test eax, eax
je 0x4366af
cmp dword [ebx + 4], 0
mov eax, 0x515468
mov ebx, dword [ebp + 0x1c]
mov ecx, 0x51161c
cmove ecx, eax
mov eax, dword [ebp + 0x18]
and eax, 0x40
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
cmp dword [edi + 4], 0
lea eax, [edi + 4]
mov esi, 0x516a3c
mov dword [ebp - 0x24], eax
cmove esi, ecx
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0x18], esi
je 0x436632
cmp dword [ebp - 0x14], 0
jne 0x436632
mov eax, dword [ebx + 0xc]
mov esi, ecx
mov dword [ebp - 0x18], esi
mov ecx, ebx
cmp edx, eax
je 0x43662d
nop
cmp edi, eax
je 0x43662d
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp edx, eax
jne 0x436620
cmp edi, dword [ecx + 0xc]
jne 0x43669c
push esi
push dword [ebp + 0x10]
lea eax, [ebp + 4]
add eax, 0xfffffffc
push 0x516a40
push eax
call fcn.004284c0
push dword [ebp - 0x18]
mov esi, eax
lea eax, [ebp + 4]
push dword [ebp + 0x10]
add eax, 0xfffffffc
push 0x516a48
push eax
call fcn.004284c0
add esp, 0x20
push ebx
push dword [ebp + 0x18]
push edi
push dword [esi]
push dword [eax]
lea eax, [ebp + 4]
add eax, 0xfffffffc
push eax
call fcn.004285f0
add esp, 4
push eax
call fcn.004361c0
push dword [eax]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.00429990
mov edx, dword [0x583e70]
add esp, 0x28
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edi, dword [edi]
test edi, edi
jne 0x4365f0
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx + 4]
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
mov dword [ebp + 0x14], ebx
test ebx, ebx
jne 0x436320
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x4366db
push eax
call fcn.004f7492
add esp, 4
mov edx, dword [ebp - 8]
mov eax, esi
pop edi
mov ecx, dword [edx]
mov dword [esi], ecx
pop esi
mov dword [edx], 0
pop ebx
mov esp, ebp
pop ebp
ret