Function at 0x422cc0
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.00421f30
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x49c], 0x8c670e14
mov eax, dword [ebp - 0x49c]
mov ecx, eax
sub ecx, 0x7f9fd1bf
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x4a4], ecx
jg 0x4230b0
jmp 0x422d14
mov eax, dword [ebp - 0x4a0]
sub eax, 0x476d2ebf
mov dword [ebp - 0x4a8], eax
jg 0x423094
jmp 0x422d30
mov eax, dword [ebp - 0x4a0]
sub eax, 0x8c670e13
mov dword [ebp - 0x4ac], eax
jg 0x422d68
jmp 0x422d4c
mov eax, dword [ebp - 0x4a0]
sub eax, 0x865fe3b8
mov dword [ebp - 0x4b0], eax
je 0x4232af
jmp 0x4230cc
mov eax, dword [ebp - 0x4a0]
sub eax, 0xa05c0145
mov dword [ebp - 0x4b4], eax
jg 0x422da0
jmp 0x422d84
mov eax, dword [ebp - 0x4a0]
sub eax, 0x8c670e14
mov dword [ebp - 0x4b8], eax
je 0x4230d1
jmp 0x4230cc
mov eax, dword [ebp - 0x4a0]
sub eax, 0x28c8689c
mov dword [ebp - 0x4bc], eax
jg 0x423078
jmp 0x422dbc
mov eax, dword [ebp - 0x4a0]
sub eax, 0x231cf46a
mov dword [ebp - 0x4c0], eax
jg 0x42305c
jmp 0x422dd8
mov eax, dword [ebp - 0x4a0]
sub eax, 0xa328024a
mov dword [ebp - 0x4c4], eax
jg 0x422e10
jmp 0x422df4
mov eax, dword [ebp - 0x4a0]
sub eax, 0xa05c0146
mov dword [ebp - 0x4c8], eax
je 0x423503
jmp 0x4230cc
mov eax, dword [ebp - 0x4a0]
sub eax, 0xaf7cd425
mov dword [ebp - 0x4cc], eax
jg 0x422e48
jmp 0x422e2c
mov eax, dword [ebp - 0x4a0]
sub eax, 0xa328024b
mov dword [ebp - 0x4d0], eax
je 0x423226
jmp 0x4230cc
mov eax, dword [ebp - 0x4a0]
sub eax, 0xb19d449f
mov dword [ebp - 0x4d4], eax
jg 0x422e80
jmp 0x422e64
mov eax, dword [ebp - 0x4a0]
sub eax, 0xaf7cd426
mov dword [ebp - 0x4d8], eax
je 0x423101
jmp 0x4230cc
mov eax, dword [ebp - 0x4a0]
sub eax, 0xb9134abf
mov dword [ebp - 0x4dc], eax
jg 0x422eb8
jmp 0x422e9c
mov eax, dword [ebp - 0x4a0]
sub eax, 0xb19d44a0
mov dword [ebp - 0x4e0], eax
je 0x42368a
jmp 0x4230cc
mov eax, dword [ebp - 0x4a0]
sub eax, 0xc184102a
mov dword [ebp - 0x4e4], eax
jg 0x422ef0
jmp 0x422ed4
mov eax, dword [ebp - 0x4a0]
sub eax, 0xb9134ac0
mov dword [ebp - 0x4e8], eax
je 0x42361b
jmp 0x4230cc
mov eax, dword [ebp - 0x4a0]
sub eax, 0xc76c1847
mov dword [ebp - 0x4ec], eax
jg 0x422f28
jmp 0x422f0c
mov eax, dword [ebp - 0x4a0]
sub eax, 0xc184102b
mov dword [ebp - 0x4f0], eax
je 0x4234b9
jmp 0x4230cc
mov eax, dword [ebp - 0x4a0]
sub eax, 0xd7ca4700
mov dword [ebp - 0x4f4], eax
jg 0x422f60
jmp 0x422f44
mov eax, dword [ebp - 0x4a0]
sub eax, 0xc76c1848
mov dword [ebp - 0x4f8], eax
je 0x423371
jmp 0x4230cc
mov eax, dword [ebp - 0x4a0]
sub eax, 0xdd7192c0
mov dword [ebp - 0x4fc], eax
jg 0x422f98
jmp 0x422f7c
mov eax, dword [ebp - 0x4a0]
sub eax, 0xd7ca4701
mov dword [ebp - 0x500], eax
je 0x423631
jmp 0x4230cc
mov eax, dword [ebp - 0x4a0]
sub eax, 0x1277f7a1
mov dword [ebp - 0x504], eax
jg 0x423040
jmp 0x422fb4
mov eax, dword [ebp - 0x4a0]
sub eax, 0x116e705c
mov dword [ebp - 0x508], eax
jg 0x423024
jmp 0x422fd0
mov eax, dword [ebp - 0x4a0]
sub eax, 0xdd7192c1
mov dword [ebp - 0x50c], eax
je 0x423493
jmp 0x422fec
mov eax, dword [ebp - 0x4a0]
sub eax, 0xdda47570
mov dword [ebp - 0x510], eax
je 0x423653
jmp 0x423008
mov eax, dword [ebp - 0x4a0]
sub eax, 0xf3f0be1d
mov dword [ebp - 0x514], eax
je 0x423662
jmp 0x4230cc
mov eax, dword [ebp - 0x4a0]
sub eax, 0x116e705d
mov dword [ebp - 0x518], eax
je 0x4235ed
jmp 0x4230cc
mov eax, dword [ebp - 0x4a0]
sub eax, 0x1277f7a2
mov dword [ebp - 0x51c], eax
je 0x423284
jmp 0x4230cc
mov eax, dword [ebp - 0x4a0]
sub eax, 0x231cf46b
mov dword [ebp - 0x520], eax
je 0x423678
jmp 0x4230cc
mov eax, dword [ebp - 0x4a0]
sub eax, 0x28c8689d
mov dword [ebp - 0x524], eax
je 0x42334d
jmp 0x4230cc
mov eax, dword [ebp - 0x4a0]
sub eax, 0x476d2ec0
mov dword [ebp - 0x528], eax
je 0x4230f2
jmp 0x4230cc
mov eax, dword [ebp - 0x4a0]
sub eax, 0x7f9fd1c0
mov dword [ebp - 0x52c], eax
je 0x423449
jmp 0x4230cc
jmp 0x423698
mov eax, 0xaf7cd426
mov ecx, 0x476d2ec0
mov edx, dword [ebp - 0x10]
cmp edx, 0
cmovl eax, ecx
mov dword [ebp - 0x49c], eax
jmp 0x423698
mov dword [ebp - 0x49c], 0x231cf46b
jmp 0x423698
call fcn.00420530
mov eax, 0x104
lea ecx, [ebp - 0x272]
mov dword [esp], ecx
mov dword [esp + 4], 0x104
mov dword [ebp - 0x530], eax
call fcn.00406a10
mov dword [ebp - 0x480], eax
mov eax, dword [0x46d948]
call eax
mov ecx, 0
mov edx, 0x28
lea esi, [ebp - 0x40]
mov dword [0x46c40c], 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 [0x44dd4c]
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 [0x44dd4c]
movzx edx, word [esi + edx*2]
mov dword [ebp - 0x490], edx
mov edx, dword [ebp - 0x490]
mov esi, dword [0x44dd4c]
mov edi, dword [ebp - 0x48c]
shl edi, 1
add esi, edi
add esi, 4
mov edi, dword [0x44dd4c]
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.00405e10
lea eax, [ebp - 0x40]
mov ecx, dword [0x46c40c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004085a0
mov ecx, 0x1277f7a2
mov edx, 0xa328024b
cmp eax, 0
cmovne ecx, edx
mov dword [ebp - 0x49c], ecx
jmp 0x423698
lea eax, [ebp - 0x272]
mov ecx, dword [0x46d93c]
mov edx, esp
mov dword [edx + 8], 0x46c410
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.0040f8a0
mov dword [ebp - 0x49c], 0x1277f7a2
jmp 0x423698
invalid
test dword [eax - 5], edi
invalid