Function at 0x485022
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 0x1874
push 0x721228
push 1
push 0x88
mov edi, edx
mov ebp, ecx
xor esi, esi
call fcn.005e7f10
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x48554a
push 0x88
push esi
push ebx
call fcn.005b5fd0
add esp, 0xc
xor ecx, ecx
call fcn.00484697
test eax, eax
je 0x485073
mov dword [eax + 4], 1
push 2
push 0x7212a0
push dword [esp + 0x2c]
mov edx, edi
mov dword [ebx + 0x84], eax
mov ecx, ebp
call fcn.00484d78
add esp, 0xc
mov dword [esp + 0x14], eax
xor edx, edx
mov ebp, dword [eax]
push 1
push 0x7212a4
mov dword [esp + 0x24], ebp
push dword [ebp + 4]
mov ecx, dword [ebp]
call fcn.00484d78
mov ebp, dword [ebp + 8]
mov edi, eax
add esp, 0xc
mov dword [esp + 0x10], edi
mov edx, dword [edi]
mov ecx, dword [edx]
mov eax, dword [ecx]
cmp eax, dword [0x7212a8]
jne 0x48520c
cmp dword [edx + 8], esi
je 0x48520c
push 1
push 0x7212b0
push dword [edx + 4]
xor edx, edx
call fcn.00484d78
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 4]
push 4
push 0x7212b4
mov eax, dword [eax]
mov dword [ebx + 0x24], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebx + 0x24]
mov edx, dword [eax + 4]
mov dword [ebx + 0x28], edx
call fcn.00487d5b
pop ecx
pop ecx
test eax, eax
je 0x48511d
add dword [ebx + 0x24], 4
add dword [ebx + 0x28], 0xfffffffc
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x28]
mov byte [ecx + eax], 0
mov ecx, dword [esp + 0x18]
call fcn.00484f33
mov eax, dword [edi]
push 0x1897
push 0x7212bc
push 1
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
inc eax
push eax
call fcn.005e7f10
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x485186
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x1897
push esi
push edi
mov edx, 0x7212d8
xor ecx, ecx
call fcn.00488a50
add esp, 0xc
push edi
push 0x7212f4
push 0x721310
jmp 0x485577
mov eax, dword [esp + 0x10]
mov ecx, edi
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [eax + 4]
push edx
push dword [eax]
inc edx
call section..text
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, edi
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov byte [edi + eax], 0
call fcn.00481362
test edx, edx
ja 0x4851cc
jb 0x4851c3
cmp eax, 0x7fffffff
ja 0x4851cc
mov ecx, edi
call fcn.0048138f
jmp 0x4851ce
xor eax, eax
push 1
push edi
mov dword [ebx + 0x18], eax
call fcn.005e7dd0
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4851ef
mov ecx, dword [ecx]
jmp 0x4851f1
xor ecx, ecx
mov dword [ebx + 0x1c], ecx
test ecx, ecx
je 0x485205
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
sub eax, ecx
add eax, dword [edx + 4]
jmp 0x485207
xor eax, eax
mov dword [ebx + 0x20], eax
jmp 0x485284
mov dword [ebx], ecx
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi]
mov eax, dword [eax + 8]
test eax, eax
je 0x485529
mov eax, dword [eax]
xor edx, edx
mov dword [ebx + 8], eax
mov eax, dword [edi]
push 1
push 0x721334
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
or dword [ebx + 0x18], 0xffffffff
mov dword [ebx + 0x14], eax
mov ecx, dword [edi + 4]
push dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.00484d78
mov edx, eax
add esp, 0xc
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov dword [ebx + 0x24], eax
mov eax, dword [edx + 4]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x28], ecx
mov byte [ecx + eax], 0
mov ecx, edx
call fcn.00484f33
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov byte [ecx + eax], 0
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 8]
mov byte [ecx + eax], 0
test ebp, ebp
je 0x485513
mov ecx, dword [ebp + 4]
mov edi, 0x18f4
test ecx, ecx
je 0x485513
mov eax, dword [ebp]
test eax, eax
je 0x485513
test esi, esi
je 0x48537e
mov al, byte [eax]
cmp al, 0x20
je 0x4852bd
cmp al, 9
jne 0x48537e
mov eax, dword [esi + 0xc]
add eax, ecx
cmp dword [esi + 0x10], 0
jne 0x485336
mov edi, dword [esi + 8]
push 0x18de
push 0x721338
push 1
push eax
call fcn.005e7f10
add esp, 0x10
mov dword [esi + 8], eax
test eax, eax
je 0x485485
push dword [esi + 0xc]
mov edx, dword [ebp + 4]
mov ecx, eax
add edx, dword [esi + 0xc]
push edi
call section..text
mov eax, dword [esi + 4]
mov edi, dword [esi]
inc eax
push 0x18e2
push 0x7213b0
push 1
push eax
call fcn.005e7f10
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x485453
mov edx, dword [esi + 4]
mov ecx, eax
push edx
push edi
inc edx
call section..text
or dword [esi + 0x10], 0xffffffff
pop ecx
pop ecx
jmp 0x485359
push 0x18e9
push 0x721428
push 1
push eax
push dword [esi + 8]
call fcn.005e80c0
add esp, 0x14
test eax, eax
je 0x4854b7
mov dword [esi + 8], eax
mov edx, dword [ebp + 4]
mov ecx, dword [esi + 8]
add ecx, dword [esi + 0xc]
lea eax, [edx - 1]
push eax
mov eax, dword [ebp]
inc eax
push eax
call section..text
mov eax, dword [ebp + 4]
pop ecx
dec eax
add dword [esi + 0xc], eax
pop ecx
jmp 0x485447
push edi
push 0x7214a0
push 1
push 0x18
call fcn.005e7f10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4854e9
push 6
xor eax, eax
mov edi, esi
pop ecx
rep stosd dword es:[edi], eax
xor ecx, ecx
cmp dword [ebp + 4], eax
jbe 0x4853d2
mov eax, dword [ebp]
cmp byte [eax + ecx], 0x3a
je 0x4853bb
inc ecx
cmp ecx, dword [ebp + 4]
jb 0x4853ad
jmp 0x4853d2
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, dword [ebp]
inc eax
add eax, ecx
mov dword [esi + 8], eax
mov eax, dword [ebp + 4]
sub eax, ecx
dec eax
mov dword [esi + 0xc], eax
cmp dword [esi], 0
jne 0x4853e5
push 1
push esi
call fcn.005e7dd0
pop ecx
pop ecx
xor esi, esi
jmp 0x485447
mov edx, dword [esi + 0xc]
lea edi, [esi + 8]
mov ecx, edi
call fcn.00484d42
mov ecx, dword [esi]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
mov byte [ecx + eax], 0
mov ecx, dword [edi]
mov eax, dword [esi + 0xc]
mov byte [ecx + eax], 0
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
cmp dword [ebx + 0x40], 0
jne 0x48541d
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x44], esi
jmp 0x485423
mov eax, dword [ebx + 0x44]
mov dword [eax + 0x14], esi
mov dword [ebx + 0x44], esi
cmp dword [esi + 0xc], 0x7fffffff
ja 0x485447
push dword [esi + 0xc]
mov edx, dword [esi]
push dword [edi]
mov ecx, dword [ebx + 0x84]
push dword [esi + 4]
call fcn.00484a89
add esp, 0xc
mov eax, dword [ebp + 8]
mov ebp, eax
test eax, eax
jmp 0x485286
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov ebx, 0x18e2
push esi
push ebx
mov edx, 0x7213cc
xor ecx, ecx
call fcn.00488a50
add esp, 0xc
push ebx
push 0x7213e8
push 0x721404
jmp 0x485577
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x18de
push esi
push edi
mov edx, 0x721354
xor ecx, ecx
call fcn.00488a50
add esp, 0xc
push edi
push 0x721370
push 0x72138c
jmp 0x485577
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x18e9
push esi
push edi
mov edx, 0x721444
xor ecx, ecx
call fcn.00488a50
add esp, 0xc
push edi
push 0x721460
push 0x72147c
jmp 0x485577
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x7214bc
push esi
push edi
xor ecx, ecx
call fcn.00488a50
add esp, 0xc
push edi
push 0x7214d8
push 0x7214f4
jmp 0x485577
mov ecx, dword [esp + 0x14]
call fcn.00484f33
mov ecx, dword [esp + 0x10]
call fcn.00484f33
mov eax, ebx
jmp 0x485542
mov ecx, dword [esp + 0x14]
call fcn.00484f33
mov ecx, edi
call fcn.00484f33
mov ecx, ebx
call fcn.00484f5d
xor eax, eax
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, 0x1874
push esi
push edi
mov edx, 0x721244
xor ecx, ecx
call fcn.00488a50
add esp, 0xc
push edi
push 0x721260
push 0x72127c
call fcn.00401109
add esp, 0xc
push esi
call fcn.005c3000
int3