Function at 0x48c89d
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
and dword [esp + 8], 0
push ebx
mov ebx, edx
mov dword [esp + 8], ecx
test ebx, ebx
je 0x48ce0f
mov ecx, dword [ebx + 0x360]
test ecx, ecx
je 0x48c8c6
add ecx, 0x44
call fcn.0044c7d2
mov ecx, dword [ebx + 0x3c4]
push ebp
call fcn.004844d4
mov ebp, eax
xor edx, edx
mov eax, dword [ebx + 0x360]
test eax, eax
je 0x48c8e3
mov dword [eax + 0x44], edx
push esi
push edi
mov edi, 0xffff
cmp dword [ebx + 0x380], edx
jne 0x48c984
push 0x393
push 0x72345c
push 1
push 0x20
call fcn.005e7f10
mov edi, eax
add esp, 0x10
mov dword [ebx + 0x380], edi
test edi, edi
je 0x48ce14
push 8
pop ecx
push 0x396
xor eax, eax
rep stosd dword es:[edi], eax
push 0x7234e0
push 1
mov edi, 0xffff
push edi
call fcn.005e7f10
mov ecx, dword [ebx + 0x380]
add esp, 0x10
mov dword [ecx + 4], eax
test eax, eax
jne 0x48c979
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x396
push esi
push edi
mov edx, 0x723500
xor ecx, ecx
call fcn.00488a50
push edi
push 0x723520
push 0x723540
jmp 0x48ce3e
mov eax, dword [ebx + 0x380]
xor edx, edx
mov dword [eax + 0xc], edi
mov ecx, dword [ebx + 0x380]
mov eax, dword [ecx]
sub eax, edx
je 0x48cd87
sub eax, 1
je 0x48cd67
sub eax, 1
je 0x48ca9b
sub eax, 1
jne 0x48ce0c
push 2
pop edi
cmp dword [esp + 0x2c], edi
jl 0x48ce0c
mov eax, dword [esp + 0x24]
mov esi, edi
cmp byte [eax + esi - 2], 0xd
jne 0x48c9d0
cmp byte [esi + eax - 1], 0xa
je 0x48c9dc
inc esi
cmp esi, dword [esp + 0x2c]
jle 0x48c9c2
jmp 0x48ce0c
cmp esi, edi
jne 0x48ca90
xor edi, edi
inc edi
mov dword [ecx + 0x1c], edi
test ebp, ebp
je 0x48ca31
cmp dword [ebp + 0x54], edx
je 0x48ca31
cmp dword [ebx + 0x378], edx
jne 0x48ca39
mov ecx, dword [ebx + 0x380]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x3e8]
push eax
push dword [ebp + 0x38]
lea eax, [esp + 0x18]
push dword [ebp + 0x34]
push edi
push dword [ecx + 0x14]
push eax
push dword [ecx + 4]
push dword [ebx + 0x3a0]
push edx
push ebx
call dword [ebp + 0x54]
add esp, 0x28
xor edx, edx
cmp dword [ebx + 0x378], edx
je 0x48ca46
mov ecx, ebx
mov dword [ebx + 0x378], edx
call fcn.0048c61b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48ca59
mov ecx, eax
call fcn.0047ec5a
test eax, eax
jne 0x48ca90
mov eax, dword [ebx + 0x380]
test eax, eax
je 0x48ca89
cmp dword [eax + 4], 0
je 0x48ca74
push edi
push dword [eax + 4]
call fcn.005e7dd0
pop ecx
pop ecx
push edi
push dword [ebx + 0x380]
call fcn.005e7dd0
and dword [ebx + 0x380], 0
pop ecx
pop ecx
mov edx, ebx
call fcn.0048c69a
mov eax, dword [esp + 0x28]
mov dword [eax], esi
jmp 0x48ce0c
mov edx, dword [esp + 0x2c]
mov esi, edx
cmp edx, dword [ecx + 0x18]
mov eax, dword [ecx + 0x10]
cmovge esi, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x14]
je 0x48cb73
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 8]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x2c]
add eax, edx
cmp eax, dword [ecx + 0xc]
jle 0x48cb45
mov eax, dword [ecx + 8]
sub eax, dword [esp + 0x14]
add eax, edx
mov edx, edi
cmp eax, edi
push 0x3de
cmovg edx, eax
mov eax, dword [ecx + 0xc]
push 0x723568
push 1
add eax, edx
mov dword [esp + 0x20], edx
push eax
push dword [ecx + 4]
call fcn.005e80c0
mov ecx, eax
add esp, 0x14
test ecx, ecx
jne 0x48cb2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x3df
push esi
push edi
mov edx, 0x723588
xor ecx, ecx
call fcn.00488a50
push edi
push 0x7235a8
push 0x7235c8
jmp 0x48ce3e
mov eax, dword [ebx + 0x380]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x380]
mov ecx, dword [esp + 0x14]
add dword [eax + 0xc], ecx
mov ecx, dword [ebx + 0x380]
push esi
push dword [esp + 0x28]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
sub edx, eax
add ecx, eax
call section..text
mov eax, dword [ebx + 0x380]
pop ecx
pop ecx
add dword [eax + 8], esi
mov eax, dword [esp + 0x18]
jmp 0x48cb76
xor eax, eax
inc eax
xor edx, edx
mov dword [esp + 0x10], edx
test ebp, ebp
je 0x48cd36
cmp dword [ebp + 0x54], edx
je 0x48cd36
cmp dword [ebx + 0x378], edx
jne 0x48cd36
test eax, eax
mov dword [esp + 0x10], edx
lea eax, [ebx + 0x3e8]
push eax
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push edx
je 0x48ccc8
push esi
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x3c]
push dword [ebx + 0x3a0]
push edx
push ebx
call dword [ebp + 0x54]
mov ecx, dword [esp + 0x38]
add esp, 0x28
mov eax, dword [ebx + 0x380]
test ecx, ecx
jne 0x48cc9a
and dword [eax + 0x10], ecx
mov eax, dword [ebx + 0x380]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x14], esi
mov ebp, dword [ebx + 0x380]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx]
cmp eax, dword [ebp + 0xc]
jle 0x48cc6d
sub edx, dword [ebp + 0xc]
push 0x420
push 0x7235ec
push 1
lea eax, [edx + ecx]
cmp eax, edi
cmovg edi, eax
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
push dword [ebp + 4]
call fcn.005e80c0
mov ecx, eax
add esp, 0x14
test ecx, ecx
jne 0x48cc5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x421
push esi
push edi
mov edx, 0x72360c
xor ecx, ecx
call fcn.00488a50
push edi
push 0x72362c
push 0x72364c
jmp 0x48ce3e
mov eax, dword [ebx + 0x380]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x380]
add dword [eax + 0xc], edi
mov ecx, dword [ebx + 0x380]
push esi
push dword [esp + 0x28]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
sub edx, eax
add ecx, eax
call section..text
mov eax, dword [ebx + 0x380]
pop ecx
pop ecx
add dword [eax + 8], esi
jmp 0x48cd30
xor edx, edx
cmp ecx, esi
je 0x48ccb1
mov dword [eax + 0x10], ecx
mov eax, dword [ebx + 0x380]
mov dword [eax + 0x14], esi
jmp 0x48cd36
mov dword [eax + 0x10], edx
mov eax, dword [ebx + 0x380]
mov dword [eax + 0x14], edx
mov eax, dword [ebx + 0x380]
mov dword [eax + 8], edx
jmp 0x48cd36
mov ecx, dword [ebx + 0x380]
mov eax, dword [ecx + 8]
sub eax, dword [ecx + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [ecx + 4]
add eax, dword [ecx + 0x10]
push eax
push dword [ebx + 0x3a0]
push edx
push ebx
call dword [ebp + 0x54]
mov ecx, dword [ebx + 0x380]
add esp, 0x28
mov edi, dword [esp + 0x10]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp edi, eax
jne 0x48cd1e
xor edx, edx
mov dword [ecx + 0x10], edx
mov eax, dword [ebx + 0x380]
mov dword [eax + 0x14], edx
mov eax, dword [ebx + 0x380]
mov dword [eax + 8], edx
jmp 0x48cd32
lea eax, [edx + edi]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebx + 0x380]
mov eax, dword [ecx + 8]
mov dword [ecx + 0x14], eax
xor edx, edx
mov dword [esp + 0x10], esi
mov ecx, dword [ebx + 0x380]
mov eax, dword [esp + 0x10]
sub dword [ecx + 0x18], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebx + 0x380]
cmp dword [eax + 0x18], edx
jne 0x48ce0c
mov dword [eax], 1
jmp 0x48ce0c
push 2
pop edi
cmp dword [esp + 0x2c], edi
jl 0x48ce0c
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov eax, dword [ebx + 0x380]
mov dword [eax], edx
jmp 0x48ce0c
cmp dword [esp + 0x2c], 3
jl 0x48ce0c
push 2
pop edi
cmp dword [esp + 0x2c], edi
jle 0x48ce0c
mov ecx, dword [esp + 0x24]
cmp byte [ecx + edi - 2], 0xd
jne 0x48cda9
cmp byte [edi + ecx - 1], 0xa
je 0x48cdb2
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x48cd9b
jmp 0x48ce0c
push 1
lea eax, [edi - 2]
xor edx, edx
push 0x723564
push eax
call fcn.00484d78
mov esi, eax
lea eax, [esp + 0x28]
push 0x10
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
mov byte [edx + ecx], 0
mov ecx, dword [esi]
push dword [ecx]
call fcn.006008d0
mov ecx, dword [ebx + 0x380]
add esp, 0x18
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov ecx, dword [ebx + 0x380]
mov eax, dword [ecx + 0x18]
neg eax
sbb eax, eax
add eax, 3
mov dword [ecx], eax
mov ecx, esi
call fcn.00484f33
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x393
push esi
push edi
mov edx, 0x72347c
xor ecx, ecx
call fcn.00488a50
push edi
push 0x72349c
push 0x7234bc
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3