Function at 0x425100
Capabilities:
Terminate process

Disassembly:
sub esp, 0x234
mov eax, dword [0x562940]
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.00519d48
push 0
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x250]
lea ecx, [esp + 0x148]
push 0x54dce0
push ecx
call fcn.00421b00
lea eax, [esp + 0x50]
add esp, 0x20
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x425160
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.0044ef50
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 0x4251b8
mov eax, dword [ebx + ecx*4]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4251a6
sub eax, esi
inc ecx
cmp ecx, ebp
lea edi, [edi + eax + 1]
jl 0x4251a0
mov ebx, 1
lea ecx, [ecx]
cmp ebx, ebp
jg 0x4251ce
shl ebx, 1
cmp ebx, 0x400
jle 0x4251c0
lea eax, [ebx*4 + 0x114]
push eax
call fcn.0051b1e7
mov esi, eax
add esp, 4
test esi, esi
jne 0x425215
call fcn.00451300
push 0x10
push str.WIN_OUT_OF_MEM_TITLE
call fcn.00450c30
add esp, 4
push eax
push str.WIN_OUT_OF_MEM_BODY
call fcn.00450c30
add esp, 4
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.0051c8f0
lea eax, [ebx*4 + 0x114]
push eax
push 0
push esi
call fcn.0042b1c0
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 0x42525a
mov edx, dword [esi + 0x108]
mov dword [edx + eax*4], 0
mov ecx, dword [esi + 0x104]
inc eax
cmp eax, ecx
jl 0x425242
mov eax, dword [esp + 0x24c]
push 0xff
push eax
push esi
call fcn.0051a040
mov ecx, dword [0x13f8ddc]
mov ebx, ebp
shl ebx, 4
lea eax, [ebx + edi]
mov byte [esi + 0xff], 0
push eax
mov dword [esi + 0x110], ecx
mov dword [0x13f8ddc], esi
mov dword [esi + 0x100], ebp
mov dword [esp + 0x24], eax
call fcn.0051b1e7
mov edi, eax
add esp, 0x10
test edi, edi
mov dword [esp + 0x20], edi
jne 0x4252dc
call fcn.00451300
push 0x10
push str.WIN_OUT_OF_MEM_TITLE
call fcn.00450c30
add esp, 4
push eax
push str.WIN_OUT_OF_MEM_BODY
call fcn.00450c30
add esp, 4
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.0051c8f0
mov edx, dword [esp + 0x14]
push edx
push 0
push edi
call fcn.0042b1c0
add esp, 0xc
add ebx, edi
test ebp, ebp
mov dword [esp + 0x14], 0
jle 0x4253b7
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 0x425338
mov edx, dword [esp + 0x10]
movsx eax, byte [edx]
push eax
call fcn.0051aa1d
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 0x425316
mov ecx, dword [esi + 0x104]
push ecx
mov eax, ebp
call fcn.00421970
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 0x425356
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425365
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 0x425301
mov edi, dword [esp + 0x20]
mov dword [esi + 0x10c], edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4253ec
mov eax, dword [edi]
test eax, eax
je 0x4253e3
mov esi, edi
lea ecx, [ecx]
push eax
call fcn.0051ada8
mov eax, dword [esi + 4]
add esi, 4
add esp, 4
test eax, eax
jne 0x4253d0
push edi
call fcn.0051ada8
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 0x42543a
push 0x218
push 0x218
push 0
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jle 0x42543a
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.00523319