Function at 0x402120
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42f975
push eax
mov dword fs:[0], esp
sub esp, 0x80c
push ebx
push esi
mov esi, dword [0x43feb8]
push edi
test esi, esi
jne 0x402151
mov dword [0x43feb8], esi
call fcn.00401e80
mov ecx, eax
test ecx, ecx
je 0x4023dd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push esi
mov ecx, 0x445278
call fcn.004090c0
call fcn.00401e80
mov ecx, eax
test ecx, ecx
je 0x4023e7
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov eax, dword [ebp - 0x10]
mov edi, dword [0x445274]
add edi, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, edi
je 0x4021fe
cmp dword [edi + 0xc], 0
jl 0x4021f0
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x4021f0
push edx
call fcn.00402560
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, ebx
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4021e6
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [0x445274], eax
jmp 0x4021fe
push dword [eax - 0xc]
mov ecx, 0x445274
push eax
call fcn.00401840
push 0x800
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.0041e180
lea eax, [ebp - 0x818]
push 0x400
push eax
call fcn.00409e10
add esp, 0x14
cmp dword [0x43feb8], 0
jne 0x40225c
mov edx, dword [str.pl_rsrc_english.dll]
test edx, edx
jne 0x40223c
xor ecx, ecx
jmp 0x402250
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402241
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, 0x445274
call fcn.00401840
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call edi
mov dword [0x4431b4], eax
test eax, eax
jne 0x402355
mov edx, dword [str.pl_rsrc_english.dll]
test edx, edx
jne 0x402282
xor ecx, ecx
jmp 0x4022a0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x14], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402290
sub ecx, dword [ebp - 0x14]
sar ecx, 1
push ecx
push edx
mov ecx, 0x445274
call fcn.00401840
xor eax, eax
mov word [ebp - 0x818], ax
lea eax, [ebp - 0x818]
push 0x400
push eax
call fcn.00409e10
add esp, 8
test eax, eax
je 0x402301
push 0xffffffffffffffff
push 0x43a6ec
lea eax, [ebp - 0x818]
push 0x400
push eax
call fcn.00420185
push 0xffffffffffffffff
push dword [0x445274]
lea eax, [ebp - 0x818]
push 0x400
push eax
call fcn.00420185
add esp, 0x20
lea eax, [ebp - 0x818]
push eax
call edi
mov dword [0x4431b4], eax
test eax, eax
jne 0x402392
push dword [0x43fec0]
mov ecx, 0x445274
call fcn.004017b0
mov ecx, 0x445274
call fcn.00402550
push eax
call edi
push 0x10
push str.Process_Lasso
push str.There_was_an_error_loading_the_resource_DLL_pl_rsrc_english.dll_
push 0
mov dword [0x4431b4], eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x800
call fcn.0041c0f7
push dword [ebp - 0x10]
mov edi, eax
push 0x400
push edi
call fcn.00420039
mov ecx, edi
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402377
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, 0x445274
call fcn.00401840
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4023ad
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4023cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401f80
push 0x80004005
call fcn.00401f80
int3