Function at 0x422d30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x594
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x488], 0
call fcn.00421fa0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x49c], 0xaccba9fd
mov eax, dword [ebp - 0x49c]
mov ecx, eax
sub ecx, 0x64a8ab3f
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x4a4], ecx
jg 0x423120
jmp 0x422d84
mov eax, dword [ebp - 0x4a0]
sub eax, 0x525601a3
mov dword [ebp - 0x4a8], eax
jg 0x423104
jmp 0x422da0
mov eax, dword [ebp - 0x4a0]
sub eax, 0x430e89e3
mov dword [ebp - 0x4ac], eax
jg 0x4230e8
jmp 0x422dbc
mov eax, dword [ebp - 0x4a0]
sub eax, 0x3ceffcac
mov dword [ebp - 0x4b0], eax
jg 0x4230cc
jmp 0x422dd8
mov eax, dword [ebp - 0x4a0]
sub eax, 0x2a88af64
mov dword [ebp - 0x4b4], eax
jg 0x4230b0
jmp 0x422df4
mov eax, dword [ebp - 0x4a0]
sub eax, 0xe8ddfb6
mov dword [ebp - 0x4b8], eax
jg 0x423094
jmp 0x422e10
mov eax, dword [ebp - 0x4a0]
sub eax, 0x311c18d
mov dword [ebp - 0x4bc], eax
jg 0x423078
jmp 0x422e2c
mov eax, dword [ebp - 0x4a0]
sub eax, 0xa5a6f064
mov dword [ebp - 0x4c0], eax
jg 0x422e64
jmp 0x422e48
mov eax, dword [ebp - 0x4a0]
sub eax, 0xa4c3c45d
mov dword [ebp - 0x4c4], eax
je 0x423162
jmp 0x42313c
mov eax, dword [ebp - 0x4a0]
sub eax, 0xaccba9fc
mov dword [ebp - 0x4c8], eax
jg 0x422e9c
jmp 0x422e80
mov eax, dword [ebp - 0x4a0]
sub eax, 0xa5a6f065
mov dword [ebp - 0x4cc], eax
je 0x4233c0
jmp 0x42313c
mov eax, dword [ebp - 0x4a0]
sub eax, 0xafae3e1a
mov dword [ebp - 0x4d0], eax
jg 0x422ed4
jmp 0x422eb8
mov eax, dword [ebp - 0x4a0]
sub eax, 0xaccba9fd
mov dword [ebp - 0x4d4], eax
je 0x423141
jmp 0x42313c
mov eax, dword [ebp - 0x4a0]
sub eax, 0xb6064464
mov dword [ebp - 0x4d8], eax
jg 0x422f0c
jmp 0x422ef0
mov eax, dword [ebp - 0x4a0]
sub eax, 0xafae3e1b
mov dword [ebp - 0x4dc], eax
je 0x423296
jmp 0x42313c
mov eax, dword [ebp - 0x4a0]
sub eax, 0xbc1eb1d4
mov dword [ebp - 0x4e0], eax
jg 0x422f44
jmp 0x422f28
mov eax, dword [ebp - 0x4a0]
sub eax, 0xb6064465
mov dword [ebp - 0x4e4], eax
je 0x423171
jmp 0x42313c
mov eax, dword [ebp - 0x4a0]
sub eax, 0xc1cf286f
mov dword [ebp - 0x4e8], eax
jg 0x422f7c
jmp 0x422f60
mov eax, dword [ebp - 0x4a0]
sub eax, 0xbc1eb1d5
mov dword [ebp - 0x4ec], eax
je 0x4236ef
jmp 0x42313c
mov eax, dword [ebp - 0x4a0]
sub eax, 0xc4a75180
mov dword [ebp - 0x4f0], eax
jg 0x422fb4
jmp 0x422f98
mov eax, dword [ebp - 0x4a0]
sub eax, 0xc1cf2870
mov dword [ebp - 0x4f4], eax
je 0x4236ca
jmp 0x42313c
mov eax, dword [ebp - 0x4a0]
sub eax, 0xce877f1e
mov dword [ebp - 0x4f8], eax
jg 0x422fec
jmp 0x422fd0
mov eax, dword [ebp - 0x4a0]
sub eax, 0xc4a75181
mov dword [ebp - 0x4fc], eax
je 0x4234bc
jmp 0x42313c
mov eax, dword [ebp - 0x4a0]
sub eax, 0xe3c9dda2
mov dword [ebp - 0x500], eax
jg 0x423024
jmp 0x423008
mov eax, dword [ebp - 0x4a0]
sub eax, 0xce877f1f
mov dword [ebp - 0x504], eax
je 0x423701
jmp 0x42313c
mov eax, dword [ebp - 0x4a0]
sub eax, 0xe3c9dda3
mov dword [ebp - 0x508], eax
je 0x423506
jmp 0x423040
mov eax, dword [ebp - 0x4a0]
sub eax, 0xf24e8729
mov dword [ebp - 0x50c], eax
je 0x4236d9
jmp 0x42305c
mov eax, dword [ebp - 0x4a0]
sub eax, 0xf2697ceb
mov dword [ebp - 0x510], eax
je 0x4233e4
jmp 0x42313c
mov eax, dword [ebp - 0x4a0]
sub eax, 0x311c18e
mov dword [ebp - 0x514], eax
je 0x42352c
jmp 0x42313c
mov eax, dword [ebp - 0x4a0]
sub eax, 0xe8ddfb7
mov dword [ebp - 0x518], eax
je 0x42331f
jmp 0x42313c
mov eax, dword [ebp - 0x4a0]
sub eax, 0x2a88af65
mov dword [ebp - 0x51c], eax
je 0x423664
jmp 0x42313c
mov eax, dword [ebp - 0x4a0]
sub eax, 0x3ceffcad
mov dword [ebp - 0x520], eax
je 0x4232f4
jmp 0x42313c
mov eax, dword [ebp - 0x4a0]
sub eax, 0x430e89e4
mov dword [ebp - 0x524], eax
je 0x423576
jmp 0x42313c
mov eax, dword [ebp - 0x4a0]
sub eax, 0x525601a4
mov dword [ebp - 0x528], eax
je 0x423692
jmp 0x42313c
mov eax, dword [ebp - 0x4a0]
sub eax, 0x64a8ab40
mov dword [ebp - 0x52c], eax
je 0x4236a8
jmp 0x42313c
jmp 0x42370f
mov eax, 0xb6064465
mov ecx, 0xa4c3c45d
mov edx, dword [ebp - 0x10]
cmp edx, 0
cmovl eax, ecx
mov dword [ebp - 0x49c], eax
jmp 0x42370f
mov dword [ebp - 0x49c], 0xbc1eb1d5
jmp 0x42370f
call fcn.004205a0
mov eax, 0x104
lea ecx, [ebp - 0x272]
mov dword [esp], ecx
mov dword [esp + 4], 0x104
mov dword [ebp - 0x530], eax
call fcn.00406a20
mov dword [ebp - 0x480], eax
mov eax, dword [0x46d908]
call eax
mov ecx, 0
mov edx, 0x28
lea esi, [ebp - 0x40]
mov dword [0x46c3cc], eax
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x28
mov dword [ebp - 0x534], edx
mov dword [ebp - 0x538], ecx
call fcn.00406910
lea ecx, [ebp - 0x40]
mov edx, 0
mov esi, dword [0x44dd90]
movzx esi, word [esi]
mov dword [ebp - 0x48c], esi
mov esi, dword [ebp - 0x48c]
mov edi, edx
sub edi, esi
mov esi, edx
sub esi, 1
add edi, esi
sub edx, edi
mov esi, dword [0x44dd90]
movzx edx, word [esi + edx*2]
mov dword [ebp - 0x490], edx
mov edx, dword [ebp - 0x490]
mov esi, dword [0x44dd90]
mov edi, dword [ebp - 0x48c]
shl edi, 1
add esi, edi
add esi, 4
mov edi, dword [0x44dd90]
add edi, 2
mov ebx, dword [ebp - 0x48c]
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 - 0x53c], eax
call fcn.00405e40
lea eax, [ebp - 0x40]
mov ecx, dword [0x46c3cc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004085f0
mov ecx, 0x3ceffcad
mov edx, 0xafae3e1b
cmp eax, 0
cmovne ecx, edx
mov dword [ebp - 0x49c], ecx
jmp 0x42370f
lea eax, [ebp - 0x272]
mov ecx, dword [0x46d8fc]
mov edx, esp
mov dword [edx + 8], 0x46c3d0
mov dword [edx], eax
mov dword [edx + 0xc], 0
mov dword [edx + 4], 0x104
call ecx
sub esp, 0x10
mov ecx, 1
mov dword [esp], 1
mov dword [esp + 4], 1
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x544], ecx
call fcn.0040f910
mov dword [ebp - 0x49c], 0x3ceffcad
jmp 0x42370f
lea eax, [ebp - 0x488]
mov dword [esp], eax
call fcn.004210a0
mov ecx, 0x64a8ab40
mov edx, 0xe8ddfb7
cmp eax, 0
cmovne ecx, edx
mov dword [ebp - 0x49c], ecx
jmp 0x42370f
lea eax, [0x46d980]
mov ecx, 0x104
lea edx, [ebp - 0x272]
mov esi, dword [ebp - 0x480]
mov dword [esp], eax
mov dword [esp + 4], 0x104
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [ebp - 0x548], ecx
call fcn.00406e90
mov ecx, 0
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x484]
sub ecx, 4
add eax, ecx
mov word [eax*2 + 0x46d980], 0
mov eax, dword [0x46d904]
mov ecx, esp
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0x46d980
mov dword [ecx + 4], 0
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, 0x311c18e
mov edx, 0xa5a6f065
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
cmovne ecx, edx
mov dword [ebp - 0x49c], ecx
jmp 0x42370f
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov ecx, 0xc4a75181
mov edx, 0xf2697ceb
cmp eax, 0xb7
cmove ecx, edx
mov dword [ebp - 0x49c], ecx
jmp 0x42370f
mov eax, 0
mov ecx, 0x20a
lea edx, [ebp - 0x47c]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20a
mov dword [ebp - 0x54c], eax
mov dword [ebp - 0x550], ecx
call fcn.00406910
lea ecx, [0x46d980]
mov dword [esp], ecx
mov dword [ebp - 0x554], eax
call fcn.004071b0
mov ecx, 0x104
lea edx, [0x46d980]
mov esi, 0xc2
lea edi, [ebp - 0x47c]
mov dword [esp], edi
mov dword [esp + 4], 0x104
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0xc2
mov dword [ebp - 0x558], esi
mov dword [ebp - 0x55c], ecx
call fcn.004082d0
mov eax, 0
lea ecx, [ebp - 0x47c]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0x560], eax
call fcn.00422490
mov ecx, dword [0x46d910]
mov edx, dword [ebp - 0x18]
mov esi, esp
mov dword [esi], edx
mov dword [ebp - 0x564], eax
call ecx
sub esp, 4
mov dword [ebp - 0x49c], 0xe3c9dda3
mov dword [ebp - 0x568], eax
jmp 0x42370f
lea eax, [0x46c3d0]
mov ecx, 0x104
lea edx, [ebp - 0x272]
mov esi, dword [ebp - 0x480]
mov dword [esp], eax
mov dword [esp + 4], 0x104
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [ebp - 0x56c], ecx
call fcn.00406c40
mov dword [ebp - 0x49c], 0xe3c9dda3
mov dword [ebp - 0x570], eax
jmp 0x42370f
mov eax, dword [0x46d91c]
mov ecx, dword [ebp - 0x18]
mov edx, esp
mov dword [edx], ecx
call eax
sub esp, 4
mov dword [ebp - 0x49c], 0x430e89e4
mov dword [ebp - 0x574], eax
jmp 0x42370f
lea eax, [0x46c3d0]
mov ecx, 0x104
lea edx, [ebp - 0x272]
mov esi, dword [ebp - 0x480]
mov dword [esp], eax
mov dword [esp + 4], 0x104
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [ebp - 0x578], ecx
call fcn.00406c40
mov dword [ebp - 0x49c], 0x430e89e4
mov dword [ebp - 0x57c], eax
jmp 0x42370f
mov eax, 0
mov ecx, 0x28
lea edx, [ebp - 0x68]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x28
mov dword [ebp - 0x580], eax
mov dword [ebp - 0x584], ecx
call fcn.00406910
lea ecx, [ebp - 0x68]
mov edx, dword [0x44dd94]
movzx edx, word [edx]
mov dword [ebp - 0x494], edx
mov edx, dword [ebp - 0x494]
sub edx, 0xa70fb25a
add edx, 1
add edx, 0xa70fb25a
mov esi, dword [0x44dd94]
shl edx, 1
add esi, edx
movzx edx, word [esi]
mov dword [ebp - 0x498], edx
mov edx, dword [ebp - 0x498]
mov esi, dword [0x44dd94]
mov edi, dword [ebp - 0x494]
shl edi, 1
add esi, edi
add esi, 4
mov edi, dword [0x44dd94]
add edi, 2
mov ebx, dword [ebp - 0x494]
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 - 0x588], eax
call fcn.00405e40
lea eax, [ebp - 0x68]
mov ecx, dword [0x46c3cc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409550
mov ecx, 0x525601a4
mov edx, 0x2a88af65
cmp eax, 0
cmove ecx, edx
mov dword [ebp - 0x49c], ecx
jmp 0x42370f
mov eax, 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [ebp - 0x58c], eax
call fcn.0040f910
mov dword [ebp - 0x49c], 0x525601a4
jmp 0x42370f
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x49c], 0xce877f1f
jmp 0x42370f
mov eax, 0xf24e8729
mov ecx, 0xc1cf2870
cmp dword [ebp - 0x488], 6
cmovb eax, ecx
mov dword [ebp - 0x49c], eax
jmp 0x42370f
mov dword [ebp - 0x49c], 0xbc1eb1d5
jmp 0x42370f
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x49c], 0xce877f1f
jmp 0x42370f
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, 0x594
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x422d5f