Function at 0x42c560
Capabilities:
Terminate process

Disassembly:
sub esp, 0x234
mov eax, dword [0x570930]
xor eax, dword [esp + 0x234]
lea edx, [esp + 0x130]
mov dword [esp + 0x230], eax
mov eax, dword [esp + 0x23c]
push eax
push ecx
push str._s__s
push edx
call fcn.00525208
push 0
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x250]
lea ecx, [esp + 0x148]
push 0x559228
push ecx
call fcn.00428ee0
lea eax, [esp + 0x50]
add esp, 0x20
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42c5c0
push ebx
push ebp
push esi
sub eax, ecx
push edi
mov byte [esp + eax + 0x3f], dl
mov eax, dword [esp + 0x250]
push 0
lea edx, [esp + 0x20]
push edx
push eax
xor edx, edx
lea ecx, [esp + 0x4c]
call fcn.00460770
mov ebp, dword [esp + 0x28]
add esp, 0xc
mov ebx, eax
xor edi, edi
xor ecx, ecx
test ebp, ebp
mov dword [esp + 0x18], ebx
jle 0x42c618
mov eax, dword [ebx + ecx*4]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42c606
sub eax, esi
inc ecx
cmp ecx, ebp
lea edi, [edi + eax + 1]
jl 0x42c600
mov ebx, 1
lea ecx, [ecx]
cmp ebx, ebp
jg 0x42c62e
shl ebx, 1
cmp ebx, 0x400
jle 0x42c620
lea eax, [ebx*4 + 0x114]
push eax
call fcn.005268b7
mov esi, eax
add esp, 4
test esi, esi
jne 0x42c675
call fcn.00462b20
push 0x10
push str.WIN_OUT_OF_MEM_TITLE
call fcn.00462450
add esp, 4
push eax
push str.WIN_OUT_OF_MEM_BODY
call fcn.00462450
add esp, 4
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.00527e27
lea eax, [ebx*4 + 0x114]
push eax
push 0
push esi
call fcn.00432670
lea ecx, [esi + 0x114]
mov dword [esi + 0x108], ecx
mov ecx, ebx
add esp, 0xc
xor eax, eax
test ecx, ecx
mov dword [esi + 0x104], ebx
jle 0x42c6ba
mov edx, dword [esi + 0x108]
mov dword [edx + eax*4], 0
mov ecx, dword [esi + 0x104]
inc eax
cmp eax, ecx
jl 0x42c6a2
mov eax, dword [esp + 0x24c]
push 0xff
push eax
push esi
call fcn.00525500
mov ecx, dword [0x1407424]
mov ebx, ebp
shl ebx, 4
lea eax, [ebx + edi]
mov byte [esi + 0xff], 0
push eax
mov dword [esi + 0x110], ecx
mov dword [0x1407424], esi
mov dword [esi + 0x100], ebp
mov dword [esp + 0x24], eax
call fcn.005268b7
mov edi, eax
add esp, 0x10
test edi, edi
mov dword [esp + 0x20], edi
jne 0x42c73c
call fcn.00462b20
push 0x10
push str.WIN_OUT_OF_MEM_TITLE
call fcn.00462450
add esp, 4
push eax
push str.WIN_OUT_OF_MEM_BODY
call fcn.00462450
add esp, 4
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.00527e27
mov edx, dword [esp + 0x14]
push edx
push 0
push edi
call fcn.00432670
add esp, 0xc
add ebx, edi
test ebp, ebp
mov dword [esp + 0x14], 0
jle 0x42c817
add edi, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ebp, dword [eax + ecx*4]
cmp byte [ebp], 0
mov dword [esp + 0x10], ebp
je 0x42c798
mov edx, dword [esp + 0x10]
movsx eax, byte [edx]
push eax
call fcn.00525edd
mov ecx, dword [esp + 0x14]
add esp, 4
mov byte [ecx], al
mov al, byte [ecx + 1]
inc ecx
test al, al
mov dword [esp + 0x10], ecx
jne 0x42c776
mov ecx, dword [esi + 0x104]
push ecx
mov eax, ebp
call fcn.00428d50
mov edx, ebx
add esp, 4
mov dword [esp + 0x10], eax
mov dword [edi - 4], ebx
mov ecx, ebp
sub edx, ebp
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x42c7b6
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42c7c5
mov eax, dword [esp + 0x10]
sub ecx, edx
mov edx, dword [esi + 0x108]
lea ebx, [ebx + ecx + 1]
mov ecx, dword [edx + eax*4]
mov dword [edi + 8], ecx
mov dword [edi], 0
mov dword [edi + 4], 0
mov edx, dword [esi + 0x108]
lea ecx, [edi - 4]
mov dword [edx + eax*4], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
add edi, 0x10
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x42c761
mov edi, dword [esp + 0x20]
mov dword [esi + 0x10c], edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x42c84c
mov eax, dword [edi]
test eax, eax
je 0x42c843
mov esi, edi
lea ecx, [ecx]
push eax
call fcn.00526479
mov eax, dword [esi + 4]
add esi, 4
add esp, 4
test eax, eax
jne 0x42c830
push edi
call fcn.00526479
add esp, 4
push 0
push 0x218
push 0x218
push 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x42c89a
push 0x218
push 0x218
push 0
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jle 0x42c89a
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 2
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
mov ecx, dword [esp + 0x240]
xor ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
jmp fcn.0052e7b9