Function at 0x492946
Capabilities:
Terminate process

Disassembly:
sub esp, 0x34
mov eax, dword [0x6d1d44]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x40]
mov ebx, ecx
push esi
push edi
xor ecx, ecx
mov dword [esp + 0x14], edx
push ecx
push ecx
push 0xa67
xor esi, esi
mov dword [esp + 0x24], ecx
push 0x7420b8
inc esi
mov dword [esp + 0x20], ecx
push esi
push 0x68
call fcn.005ed7c0
add esp, 0x10
mov ecx, eax
push 0x58
pop edx
call fcn.00484c1e
push 0xa69
mov edi, eax
push 0x7420d8
push esi
push 4
mov dword [esp + 0x38], edi
mov dword [edi + 0xc], esi
call fcn.005ed7c0
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x492ebf
mov eax, dword [edi + 0xc]
push 0xa6a
push 0x74215c
shl eax, 2
push esi
push eax
call fcn.005ed7c0
add esp, 0x10
mov dword [edi + 4], eax
test eax, eax
jne 0x492a0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0xa6a
push esi
push edi
mov edx, 0x74217c
xor ecx, ecx
call fcn.0048cac3
add esp, 0xc
push edi
push 0x74219c
push 0x7421bc
jmp 0x492eec
mov eax, dword [edi + 0xc]
push 0xa6b
push 0x7421e0
shl eax, 2
push esi
push eax
call fcn.005ed7c0
add esp, 0x10
mov dword [edi + 8], eax
test eax, eax
jne 0x492a5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0xa6b
push esi
push edi
mov edx, 0x742200
xor ecx, ecx
call fcn.0048cac3
add esp, 0xc
push edi
push 0x742220
push 0x742240
jmp 0x492eec
mov eax, dword [edi]
mov ecx, 0x134
mov esi, dword [esp + 0x4c]
push 0
mov dword [eax], ebp
mov eax, dword [edi + 4]
mov dword [eax], esi
mov eax, dword [edi + 8]
and dword [eax], 0
lea eax, [edi + 0x48]
push eax
push 0x20
pop edx
mov dword [esp + 0x24], eax
call fcn.00484ef6
mov eax, dword [edi + 0x48]
pop ecx
pop ecx
mov dword [eax + 0x14], edi
mov ecx, dword [edi + 0x48]
mov eax, dword [ebx + 0x3c]
mov dword [ecx + 4], eax
cmp esi, 5
jbe 0x492ab9
push 5
push ebp
push 0x742264
call fcn.005e8140
add esp, 0xc
test eax, eax
jne 0x492ab9
mov dword [edi + 0x50], 1
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
and dword [edi + 0x38], 0
push 0x10
mov dword [edi + 0x34], eax
pop eax
push 0x1c
pop edx
push 0x17
pop ebp
mov dword [edi + 0x54], 0x405a69
cmp word [ecx], bp
cmove eax, edx
push eax
push ecx
lea ecx, [edi + 0x18]
call section..text
xor esi, esi
pop ecx
pop ecx
cmp dword [edi + 0xc], esi
jle 0x492b45
mov eax, dword [edi + 8]
cmp dword [eax + esi*4], 2
jne 0x492b3f
mov eax, dword [edi + 4]
push 0xa93
push 0x74226c
push 1
push dword [eax + esi*4]
call fcn.005ed7c0
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x492bf8
mov eax, dword [edi + 4]
mov ecx, ebp
mov edx, dword [eax + esi*4]
mov eax, dword [edi]
push edx
push dword [eax + esi*4]
call section..text
mov eax, dword [edi]
pop ecx
pop ecx
mov dword [eax + esi*4], ebp
mov eax, dword [edi + 8]
and dword [eax + esi*4], 0
inc esi
cmp esi, dword [edi + 0xc]
jl 0x492af1
lea ecx, [ebx + 0x44]
call fcn.0044cfd4
xor ebp, ebp
cmp dword [ebx + 0x38], 1
jle 0x492c9f
cmp ebp, dword [ebx + 0x38]
jge 0x492b99
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x24]
mov edx, ebp
push eax
mov ecx, esi
call fcn.004903d9
pop ecx
mov ecx, dword [ebx + 0x2c]
lea edx, [esp + 0x24]
mov edi, eax
push 0
push edi
mov dword [esp + 0x18], edi
call fcn.004887f6
pop ecx
pop ecx
test eax, eax
je 0x492b92
inc ebp
cmp ebp, dword [ebx + 0x38]
jl 0x492b62
mov edi, dword [esp + 0x20]
cmp ebp, dword [ebx + 0x38]
jne 0x492ca8
or eax, 0xffffffff
xor ebp, ebp
or esi, eax
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x38], ebp
jle 0x492c4d
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
mov edx, ebp
call fcn.004903d9
pop ecx
mov ecx, dword [ebx + 0x2c]
lea edx, [esp + 0x24]
push eax
call fcn.004889d7
mov dword [esp + 0x24], eax
pop ecx
test eax, eax
je 0x492c64
mov ecx, dword [eax + 0x3c4]
call fcn.0048b3fe
cmp esi, 0xffffffff
jne 0x492c2a
mov esi, eax
mov eax, ebp
mov dword [esp + 0x10], eax
jmp 0x492c43
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0xa93
push esi
push edi
mov edx, 0x74228c
xor ecx, ecx
call fcn.0048cac3
add esp, 0xc
push edi
push 0x7422ac
push 0x7422cc
jmp 0x492eec
cmp eax, esi
jge 0x492c3f
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x3c4]
call fcn.0048b3fe
jmp 0x492bee
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, dword [ebx + 0x38]
jl 0x492bb3
lea ecx, [esp + 0x24]
mov edx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004903d9
pop ecx
mov dword [esp + 0x10], eax
jmp 0x492cac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edi, 0xfd
mov esi, 0xab5
push edi
push esi
mov edx, 0x7422f0
xor ecx, ecx
call fcn.0048cac3
add esp, 0xc
push esi
push 0x742310
push 0x742330
call fcn.00401109
add esp, 0xc
push edi
jmp 0x492ef5
lea eax, [esp + 0x24]
xor edx, edx
push eax
jmp 0x492c54
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x2c]
lea edx, [esp + 0x24]
push eax
call fcn.004889d7
mov esi, eax
pop ecx
test esi, esi
je 0x492dda
lea ebp, [edi + 0x48]
mov ecx, dword [ebp]
mov dword [ecx], esi
mov ecx, dword [esi + 0x3c4]
call fcn.0048b185
mov ecx, dword [esi + 0x3c4]
mov edx, edi
push 0
test eax, eax
jne 0x492dcb
call fcn.0048b336
mov eax, dword [ebx + 0x40]
pop ecx
test eax, eax
je 0x492cf7
dec eax
mov ecx, dword [ebx + 0x30]
lea edx, [esp + 0x24]
mov dword [ebx + 0x40], eax
mov eax, dword [esp + 0x10]
push eax
call fcn.00488a1d
pop ecx
mov ecx, dword [ebx + 0x3c]
mov edx, esi
call fcn.0048acf1
xor edx, edx
cmp dword [esi + 0x398], edx
jne 0x492d47
mov ecx, dword [esi + 0x3c8]
test ecx, ecx
je 0x492d33
call fcn.00482681
test eax, eax
je 0x492d47
mov ecx, dword [ebx + 0x34]
push edx
mov edx, esi
call fcn.0048b336
xor eax, eax
pop ecx
inc eax
jmp 0x492e96
cmp dword [esi + 0x3c8], edx
je 0x492e94
cmp dword [esi + 0x38c], edx
jne 0x492e94
mov ebp, edx
cmp dword [edi + 0xc], edx
jle 0x492d8d
mov eax, dword [edi + 4]
push 1
push dword [eax + ebp*4]
mov eax, dword [edi]
push dword [eax + ebp*4]
push 1
push edx
push dword [esi + 0x3c8]
call fcn.004806cf
add esp, 0x18
inc ebp
push 0
pop edx
cmp ebp, dword [edi + 0xc]
jl 0x492d66
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x492e8b
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x492db8
mov edx, dword [eax + 0x18]
test edx, edx
je 0x492db8
mov eax, dword [esi + 0x3c8]
mov dword [eax + 0x1250], ecx
mov dword [eax + 0x1254], edx
push esi
push dword [esi + 0x3c8]
call fcn.00491f43
mov ebp, dword [esp + 0x24]
pop ecx
jmp 0x492dd0
call fcn.0048b336
pop ecx
mov eax, dword [esp + 0x18]
jmp 0x492e96
push 0
push 0
push 0xafd
push 0x742354
push 1
push 0x438
call fcn.005ed7c0
add esp, 0x10
mov edx, 0x428
mov ecx, eax
call fcn.00484c1e
mov ecx, dword [edi + 0x48]
mov esi, eax
mov dword [ecx], esi
xor ecx, ecx
or dword [esi + 0x368], 0xffffffff
mov dword [esi + 0x360], ebx
call fcn.0048b083
push 0x17
pop ecx
mov dword [esi + 0x3c4], eax
mov eax, dword [esp + 0x1c]
push 0x10
cmp word [eax], cx
pop ecx
push 0x1c
pop edx
cmove ecx, edx
push ecx
push eax
lea ecx, [esi + 0x28]
call section..text
mov ecx, dword [esi + 0x3c4]
mov edx, edi
mov dword [esi + 0x3ec], ebp
xor ebp, ebp
push ebp
call fcn.0048b336
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x38]
mov ecx, dword [ebx + 0x2c]
add esp, 0x14
push esi
push eax
call fcn.0048899e
pop ecx
pop ecx
cmp dword [esi + 0x398], ebp
jne 0x492e8b
mov ecx, dword [ebx + 0x34]
mov edx, esi
push ebp
call fcn.0048b336
mov ebp, dword [esp + 0x20]
xor eax, eax
pop ecx
inc eax
jmp 0x492e96
mov ebp, dword [esp + 0x1c]
jmp 0x492dd1
mov eax, edx
mov dword [ebx + 0x44], 0
test eax, eax
je 0x492ea9
mov ecx, dword [ebx + 0x10]
call fcn.0048549f
mov eax, dword [ebp]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b8900
add esp, 0x34
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0xa69
push esi
push edi
mov edx, 0x7420f8
xor ecx, ecx
call fcn.0048cac3
add esp, 0xc
push edi
push 0x742118
push 0x742138
call fcn.00401109
add esp, 0xc
push esi
call fcn.005c8390
int3