Function at 0x4e1d60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619cf6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push esi
push edi
mov ecx, 0x6650fc
call fcn.0054bf20
mov esi, eax
mov eax, dword [0x68a36c]
push 0x148
xor edi, edi
push eax
mov ecx, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], edi
call fcn.004afb10
xor ecx, ecx
mov cl, byte [esi + 0x21]
push 0x38
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], 0x244
imul eax, ecx
mov dword [ebp - 0x20], eax
call fcn.00604401
add esp, 4
mov dword [ebp - 0x24], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x4e1ba4
push 0x244
push 0x148
mov ecx, eax
call fcn.0044c360
mov esi, eax
mov dword [ebp - 0x10], esi
jmp 0x4e1ba9
mov dword [ebp - 0x10], edi
mov esi, edi
cmp esi, edi
mov dword [ebp - 4], 0xffffffff
jne 0x4e1bf7
mov al, byte [0x67dbbe]
test al, al
jne 0x4e1bf7
mov edx, dword [0x68ba40]
mov byte [0x67dbbe], 1
mov eax, dword [edx + 0x20]
mov eax, dword [eax + 0x37c]
push eax
push 0x6650d4
push 0x67cce8
call fcn.0060494e
add esp, 0xc
mov ecx, 0x67cce8
call fcn.004e73d0
mov byte [0x67dbbe], 0
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
mov ecx, dword [0x67d8ac]
mov ecx, dword [ecx + 0x40]
mov edi, dword [ecx + 0x24]
push ebx
mov ebx, dword [esi + 0x24]
push 1
push eax
mov eax, dword [ecx + 0x28]
push edx
mov edx, dword [esi + 0x30]
push ebx
push 0
push 0
push edx
push eax
push edi
push 0xa
push 0x1cc
call fcn.0044c6a0
push 0x38
call fcn.00604401
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
mov dword [ebp - 4], 1
je 0x4e1c61
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
xor ecx, ecx
mov cl, byte [edx + 0x21]
add ecx, edi
push ecx
push 0x148
mov ecx, eax
call fcn.0044c360
mov ebx, eax
jmp 0x4e1c63
xor ebx, ebx
test ebx, ebx
mov dword [ebp - 4], 0xffffffff
jne 0x4e1caf
mov al, byte [0x67dbbe]
test al, al
jne 0x4e1caf
mov eax, dword [0x68ba40]
mov byte [0x67dbbe], 1
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx + 0x37c]
push edx
push 0x6650d4
push 0x67cce8
call fcn.0060494e
add esp, 0xc
mov ecx, 0x67cce8
call fcn.004e73d0
mov byte [0x67dbbe], bl
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x24]
push 1
push eax
push ecx
push 0
push 0
mov ecx, ebx
call fcn.0044c8b0
mov edx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x24]
mov ecx, dword [0x68a36c]
push 0xffffffffffffffff
push 5
push 0x11c
push edx
push eax
push 0
push 0
push ebx
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.004af780
mov ecx, dword [0x67d89c]
call fcn.004e04a0
call fcn.00586800
test al, al
je 0x4e1d02
call fcn.005868a0
mov dword [ebp - 0x24], 0x244
jmp 0x4e1d0e
mov esi, dword [ebp - 0x10]
call fcn.00586860
test al, al
je 0x4e1ef6
call fcn.004e1240
call fcn.004ebb10
mov ecx, dword [0x67d89c]
lea edx, [ebp - 0x68]
push edx
call fcn.004e04c0
mov esi, eax
mov ecx, 8
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
dec eax
je 0x4e1d5a
sub eax, 7
je 0x4e1ef3
sub eax, 0x18
je 0x4e1ef3
jmp 0x4e1d64
cmp dword [ebp - 0x44], 0x3e
jne 0x4e1ef3
call fcn.00586800
test al, al
je 0x4e1d0b
mov eax, dword [0x67d8ac]
mov eax, dword [eax + 0x40]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x28]
push 0
push ecx
mov ecx, dword [eax + 0x24]
push edx
mov edx, dword [eax + 0x30]
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x28]
push 0xa
push 0x1cc
push edx
mov edx, dword [ecx + 0x24]
push eax
push edx
push 0
push 0
call fcn.0044c6a0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4e1def
mov eax, dword [0x67d8ac]
mov eax, dword [eax + 0x40]
mov edx, dword [eax + 0x2c]
push 1
push edx
mov edx, dword [eax + 0x28]
push edx
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x30]
push edx
sub ecx, 2
lea edx, [ecx + 0xa]
push edx
push 0x1cc
push eax
mov edx, 0x244
sub edx, ecx
push edx
push 0x148
push 0
mov dword [ebp - 0x1c], ecx
push 0
mov ecx, ebx
call fcn.0044c6a0
jmp 0x4e1ec7
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
add eax, 0xfffffdbc
cmp ecx, eax
jge 0x4e1e3f
mov edx, dword [0x67d8ac]
mov eax, dword [edx + 0x40]
mov edx, dword [eax + 0x2c]
push 1
push edx
mov edx, dword [eax + 0x28]
push edx
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x30]
push edx
push 0xa
push 0x1cc
push eax
push 0x244
add ecx, 2
push 0x148
push ecx
mov dword [ebp - 0x14], ecx
push 0
mov ecx, ebx
call fcn.0044c6a0
jmp 0x4e1ec7
mov esi, dword [ebp - 0x24]
test esi, esi
jl 0x4e1ec0
mov edx, dword [0x67d8ac]
mov eax, dword [edx + 0x40]
mov edx, dword [eax + 0x2c]
push 1
push edx
mov edx, dword [eax + 0x28]
push edx
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x30]
push edx
push 0xa
push 0x1cc
push eax
sub esi, 2
push esi
add ecx, 2
push 0x148
push ecx
mov dword [ebp - 0x14], ecx
push 0
mov ecx, ebx
mov dword [ebp - 0x24], esi
call fcn.0044c6a0
cmp esi, 0x1b3
jge 0x4e1ec7
mov ecx, dword [0x67d8ac]
mov edx, dword [ecx + 0x40]
mov eax, dword [0x68a370]
mov ecx, dword [0x67d068]
push 0xffffffffffffffff
push 8
push 0xd
push 0x244
push 0x148
push 0xa
push 0x1cc
push edx
push eax
call fcn.004af780
jmp 0x4e1ec7
mov dword [ebp - 0x28], 1
mov ecx, dword [0x67d8ac]
push 0x244
push 0x148
push 0xa
push 0x1cc
call fcn.005f0150
call fcn.005868a0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4e1d0b
mov esi, dword [ebp - 0x10]
test ebx, ebx
je 0x4e1f02
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
test esi, esi
pop ebx
je 0x4e1f0f
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.0054d510
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret