Function at 0x492070
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x73c
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x66c], 0
call fcn.00491590
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x678], 0x7cc50d95
mov eax, dword [ebp - 0x678]
mov ecx, eax
sub ecx, 0x7cc50d94
mov dword [ebp - 0x67c], eax
mov dword [ebp - 0x680], ecx
jg 0x4923f0
jmp 0x4920c4
mov eax, dword [ebp - 0x67c]
sub eax, 0x774fbb76
mov dword [ebp - 0x684], eax
jg 0x4923d4
jmp 0x4920e0
mov eax, dword [ebp - 0x67c]
sub eax, 0x679680b2
mov dword [ebp - 0x688], eax
jg 0x4923b8
jmp 0x4920fc
mov eax, dword [ebp - 0x67c]
sub eax, 0x5576580c
mov dword [ebp - 0x68c], eax
jg 0x49239c
jmp 0x492118
mov eax, dword [ebp - 0x67c]
sub eax, 0x51a6cb91
mov dword [ebp - 0x690], eax
jg 0x492380
jmp 0x492134
mov eax, dword [ebp - 0x67c]
sub eax, 0x2b7a05d7
mov dword [ebp - 0x694], eax
jg 0x492364
jmp 0x492150
mov eax, dword [ebp - 0x67c]
sub eax, 0x23cced96
mov dword [ebp - 0x698], eax
jg 0x492348
jmp 0x49216c
mov eax, dword [ebp - 0x67c]
sub eax, 0x2028e1f7
mov dword [ebp - 0x69c], eax
jg 0x49232c
jmp 0x492188
mov eax, dword [ebp - 0x67c]
sub eax, 0xa73f002
mov dword [ebp - 0x6a0], eax
jg 0x492310
jmp 0x4921a4
mov eax, dword [ebp - 0x67c]
sub eax, 0x80cd4b0
mov dword [ebp - 0x6a4], eax
jg 0x4922f4
jmp 0x4921c0
mov eax, dword [ebp - 0x67c]
sub eax, 0xf2d774b3
mov dword [ebp - 0x6a8], eax
jg 0x4922d8
jmp 0x4921dc
mov eax, dword [ebp - 0x67c]
sub eax, 0xe8ae3dc8
mov dword [ebp - 0x6ac], eax
jg 0x4922bc
jmp 0x4921f8
mov eax, dword [ebp - 0x67c]
sub eax, 0xb9956507
mov dword [ebp - 0x6b0], eax
jg 0x4922a0
jmp 0x492214
mov eax, dword [ebp - 0x67c]
sub eax, 0x82c19595
mov dword [ebp - 0x6b4], eax
jg 0x49224c
jmp 0x492230
mov eax, dword [ebp - 0x67c]
sub eax, 0x809de78a
mov dword [ebp - 0x6b8], eax
je 0x492559
jmp 0x49240c
mov eax, dword [ebp - 0x67c]
sub eax, 0x82c19596
mov dword [ebp - 0x6bc], eax
je 0x492780
jmp 0x492268
mov eax, dword [ebp - 0x67c]
sub eax, 0xac7314d5
mov dword [ebp - 0x6c0], eax
je 0x4927ca
jmp 0x492284
mov eax, dword [ebp - 0x67c]
sub eax, 0xad6f5d8f
mov dword [ebp - 0x6c4], eax
je 0x492839
jmp 0x49240c
mov eax, dword [ebp - 0x67c]
sub eax, 0xb9956508
mov dword [ebp - 0x6c8], eax
je 0x492432
jmp 0x49240c
mov eax, dword [ebp - 0x67c]
sub eax, 0xe8ae3dc9
mov dword [ebp - 0x6cc], eax
je 0x49275a
jmp 0x49240c
mov eax, dword [ebp - 0x67c]
sub eax, 0xf2d774b4
mov dword [ebp - 0x6d0], eax
je 0x492802
jmp 0x49240c
mov eax, dword [ebp - 0x67c]
sub eax, 0x80cd4b1
mov dword [ebp - 0x6d4], eax
je 0x49256f
jmp 0x49240c
mov eax, dword [ebp - 0x67c]
sub eax, 0xa73f003
mov dword [ebp - 0x6d8], eax
je 0x492827
jmp 0x49240c
mov eax, dword [ebp - 0x67c]
sub eax, 0x2028e1f8
mov dword [ebp - 0x6dc], eax
je 0x492641
jmp 0x49240c
mov eax, dword [ebp - 0x67c]
sub eax, 0x23cced97
mov dword [ebp - 0x6e0], eax
je 0x49259a
jmp 0x49240c
mov eax, dword [ebp - 0x67c]
sub eax, 0x2b7a05d8
mov dword [ebp - 0x6e4], eax
je 0x492811
jmp 0x49240c
mov eax, dword [ebp - 0x67c]
sub eax, 0x51a6cb92
mov dword [ebp - 0x6e8], eax
je 0x4927e0
jmp 0x49240c
mov eax, dword [ebp - 0x67c]
sub eax, 0x5576580d
mov dword [ebp - 0x6ec], eax
je 0x492710
jmp 0x49240c
mov eax, dword [ebp - 0x67c]
sub eax, 0x679680b3
mov dword [ebp - 0x6f0], eax
je 0x492665
jmp 0x49240c
mov eax, dword [ebp - 0x67c]
sub eax, 0x774fbb77
mov dword [ebp - 0x6f4], eax
je 0x492441
jmp 0x49240c
mov eax, dword [ebp - 0x67c]
sub eax, 0x7cc50d95
mov dword [ebp - 0x6f8], eax
je 0x492411
jmp 0x49240c
jmp 0x492847
mov eax, 0x774fbb77
mov ecx, 0xb9956508
mov edx, dword [ebp - 0x10]
cmp edx, 0
cmovl eax, ecx
mov dword [ebp - 0x678], eax
jmp 0x492847
mov dword [ebp - 0x678], 0xa73f003
jmp 0x492847
mov eax, 0x104
lea ecx, [ebp - 0x24a]
mov dword [esp], ecx
mov dword [esp + 4], 0x104
mov dword [ebp - 0x6fc], eax
call fcn.00405c90
mov dword [ebp - 0x664], eax
mov eax, dword [0x4cbf98]
call eax
mov ecx, 0
mov edx, 0x28
lea esi, [ebp - 0x40]
mov dword [0x4caacc], eax
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x28
mov dword [ebp - 0x700], edx
mov dword [ebp - 0x704], ecx
call fcn.00405b80
lea ecx, [ebp - 0x40]
mov edx, 0
mov esi, dword [0x4c9774]
movzx esi, word [esi]
mov dword [ebp - 0x670], esi
mov esi, dword [ebp - 0x670]
sub edx, 1
sub esi, edx
mov edx, dword [0x4c9774]
movzx edx, word [edx + esi*2]
mov dword [ebp - 0x674], edx
mov edx, dword [ebp - 0x674]
mov esi, dword [0x4c9774]
mov edi, dword [ebp - 0x670]
shl edi, 1
add esi, edi
add esi, 4
mov edi, dword [0x4c9774]
add edi, 2
mov ebx, dword [ebp - 0x670]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov dword [ebp - 0x708], eax
call fcn.00405110
lea eax, [ebp - 0x40]
mov ecx, dword [0x4caacc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004075c0
mov ecx, 0x80cd4b1
mov edx, 0x809de78a
cmp eax, 0
cmovne ecx, edx
mov dword [ebp - 0x678], ecx
jmp 0x492847
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x678], 0xad6f5d8f
jmp 0x492847
lea eax, [ebp - 0x66c]
mov dword [esp], eax
call fcn.00490690
mov ecx, 0x51a6cb92
mov edx, 0x23cced97
cmp eax, 0
cmovne ecx, edx
mov dword [ebp - 0x678], ecx
jmp 0x492847
mov eax, 0x104
lea ecx, [ebp - 0x454]
lea edx, [ebp - 0x24a]
mov esi, dword [ebp - 0x664]
mov dword [esp], ecx
mov dword [esp + 4], 0x104
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [ebp - 0x70c], eax
call fcn.00406090
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x668], eax
mov eax, dword [ebp - 0x668]
sub eax, 0x7c51d892
sub eax, 4
add eax, 0x7c51d892
shl eax, 1
mov edx, ecx
add edx, eax
mov word [edx], 0
mov eax, dword [0x4cbf94]
mov edx, esp
mov dword [edx + 8], 0
mov dword [edx + 0xc], ecx
mov dword [edx + 4], 0
mov dword [edx], 0
call eax
sub esp, 0x10
mov ecx, 0x82c19596
mov edx, 0x2028e1f8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
cmovne ecx, edx
mov dword [ebp - 0x678], ecx
jmp 0x492847
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov ecx, 0x5576580d
mov edx, 0x679680b3
cmp eax, 0xb7
cmove ecx, edx
mov dword [ebp - 0x678], ecx
jmp 0x492847
mov eax, 0
mov ecx, 0x20a
lea edx, [ebp - 0x65e]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20a
mov dword [ebp - 0x710], eax
mov dword [ebp - 0x714], ecx
call fcn.00405b80
lea ecx, [ebp - 0x454]
mov dword [esp], ecx
mov dword [ebp - 0x718], eax
call fcn.004063a0
mov ecx, 0x104
lea edx, [ebp - 0x65e]
lea esi, [ebp - 0x454]
mov dword [esp], edx
mov dword [esp + 4], 0x104
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [ebp - 0x71c], ecx
call fcn.00407330
lea eax, [ebp - 0x65e]
mov dword [esp], eax
call fcn.00491990
mov eax, dword [0x4cbfa4]
mov ecx, dword [ebp - 0x18]
mov edx, esp
mov dword [edx], ecx
call eax
sub esp, 4
mov dword [ebp - 0x678], 0xe8ae3dc9
mov dword [ebp - 0x720], eax
jmp 0x492847
lea eax, [0x4caad0]
mov ecx, 0x104
lea edx, [ebp - 0x24a]
mov esi, dword [ebp - 0x664]
mov dword [esp], eax
mov dword [esp + 4], 0x104
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [ebp - 0x724], ecx
call fcn.00405e50
mov dword [ebp - 0x678], 0xe8ae3dc9
mov dword [ebp - 0x728], eax
jmp 0x492847
mov eax, dword [0x4cbfb0]
mov ecx, dword [ebp - 0x18]
mov edx, esp
mov dword [edx], ecx
call eax
sub esp, 4
mov dword [ebp - 0x678], 0xac7314d5
mov dword [ebp - 0x72c], eax
jmp 0x492847
lea eax, [0x4caad0]
mov ecx, 0x104
lea edx, [ebp - 0x24a]
mov esi, dword [ebp - 0x664]
mov dword [esp], eax
mov dword [esp + 4], 0x104
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [ebp - 0x730], ecx
call fcn.00405e50
mov dword [ebp - 0x678], 0xac7314d5
mov dword [ebp - 0x734], eax
jmp 0x492847
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x678], 0xad6f5d8f
jmp 0x492847
mov eax, 0x2b7a05d8
mov ecx, 0xf2d774b4
cmp dword [ebp - 0x66c], 6
cmovb eax, ecx
mov dword [ebp - 0x678], eax
jmp 0x492847
mov dword [ebp - 0x678], 0xa73f003
jmp 0x492847
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x678], 0xad6f5d8f
jmp 0x492847
mov eax, esp
mov dword [eax], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
sub esp, 4
mov eax, dword [ebp - 0x14]
add esp, 0x73c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x49209f