Function at 0x42c450
Capabilities:
Terminate process

Disassembly:
sub esp, 0x14
mov ecx, dword [0x885a98]
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.0042c2a0
xor edx, edx
mov esi, eax
add esp, 8
cmp esi, edx
mov dword [0x885a98], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
mov ebx, esi
je 0x42c563
jmp 0x42c497
mov esi, dword [0x885a98]
mov edx, dword [esp + 0x14]
lea edi, [ebx + 0x40]
mov eax, edi
lea ebp, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c4a0
sub eax, ebp
test edx, edx
lea ebp, [eax + 1]
je 0x42c4ca
test edi, edi
je 0x42c4ca
mov eax, 0x1869f
mov ecx, edi
call fcn.004406d0
test eax, eax
jne 0x42c4ca
add dword [esp + 0x18], ebp
jmp 0x42c4d2
add dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
mov cl, byte [ebx + 0x80]
test cl, cl
lea eax, [ebx + 0x80]
je 0x42c4fa
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c4e5
sub eax, edx
mov edx, dword [esp + 0x10]
lea eax, [edx + eax + 1]
mov dword [esp + 0x10], eax
lea edi, [ebx + 0x1084]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c505
sub eax, edx
cmp esi, ebx
lea ebp, [eax + 1]
je 0x42c541
lea edx, [esi + 0x1084]
test edx, edx
je 0x42c537
test edi, edi
je 0x42c537
mov eax, 0x1869f
mov ecx, edi
call fcn.004406d0
test eax, eax
je 0x42c5dd
mov esi, dword [esi + 0x10fc]
cmp esi, ebx
jne 0x42c515
mov eax, dword [esp + 0x10]
add eax, ebp
mov dword [ebx + 0x10f8], 0
mov dword [esp + 0x10], eax
mov ebx, dword [ebx + 0x10fc]
test ebx, ebx
jne 0x42c48d
fild dword [esp + 0x18]
sub esp, 0x10
fmul dword [0x55a6b0]
fstp qword [esp + 8]
fild dword [esp + 0x20]
fmul dword [0x55a6b0]
fstp qword [esp]
push str.Sound_alias_strings_use__.1f_KB___.1f_KB_saved_by_string_sharing_n
call fcn.0042e360
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
imul esi, esi, 0x44
lea edi, [esi + ecx]
push edi
call fcn.0051b1e7
mov ebx, eax
add esp, 0x18
test ebx, ebx
mov dword [esp + 0x1c], ebx
jne 0x42c5ec
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 ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.0051c8f0
add dword [esp + 0x18], ebp
mov dword [ebx + 0x10f8], esi
jmp 0x42c555
push edi
push 0
push ebx
call fcn.0042b1c0
mov ebp, dword [0x885a98]
xor edx, edx
add esp, 0xc
test ebp, ebp
lea edi, [esi + ebx]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], edx
je 0x42c709
mov dword [esp + 0x18], ebx
jmp 0x42c620
mov edx, dword [esp + 0x14]
lea ecx, [ecx]
test edx, edx
je 0x42c639
lea ecx, [ebp + 0x40]
test ecx, ecx
je 0x42c639
mov eax, 0x1869f
call fcn.004406d0
test eax, eax
je 0x42c660
lea eax, [ebp + 0x40]
mov edx, edi
mov dword [esp + 0x14], edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42c644
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c653
sub eax, edx
lea edi, [edi + eax + 1]
mov cl, byte [ebp + 0x80]
test cl, cl
lea eax, [ebp + 0x80]
je 0x42c694
mov edx, edi
mov ebx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42c676
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c685
sub eax, edx
lea edi, [edi + eax + 1]
jmp 0x42c696
xor ebx, ebx
mov eax, dword [ebp + 0x10f8]
test eax, eax
je 0x42c6a8
mov esi, dword [eax + 0x10c4]
jmp 0x42c6d0
lea eax, [ebp + 0x1084]
mov edx, edi
mov esi, edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42c6b4
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c6c3
sub eax, edx
lea edi, [edi + eax + 1]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push edx
mov dword [ebp + 0x10c4], esi
mov edx, esi
mov esi, dword [esp + 0x1c]
push ebx
mov ecx, ebp
call fcn.0042be70
mov ebp, dword [ebp + 0x10fc]
add esi, 0x44
add esp, 8
test ebp, ebp
mov dword [esp + 0x18], esi
jne 0x42c619
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
mov dword [eax*4 + 0x885a80], ebx
mov dword [eax*4 + 0x885a8c], edx
lea ecx, [eax*4 + 0x885adc]
mov eax, esi
imul eax, edx
xor edx, edx
test esi, esi
mov dword [ecx], eax
jle 0x42c75b
jmp 0x42c740
mov eax, dword [ecx]
mov edi, dword [esp + 0x20]
imul eax, eax, 0x7a69
mov dword [ecx], eax
movsx edi, byte [edx + edi]
add edi, eax
inc edx
cmp edx, esi
mov dword [ecx], edi
jl 0x42c740
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret