Function at 0x402160
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42ffe5
push eax
mov dword fs:[0], esp
sub esp, 0x80c
push ebx
push esi
mov esi, dword [0x440eb8]
push edi
test esi, esi
jne 0x402191
mov dword [0x440eb8], esi
call fcn.00401ec0
mov ecx, eax
test ecx, ecx
je 0x40241d
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, 0x446278
call fcn.00409100
call fcn.00401ec0
mov ecx, eax
test ecx, ecx
je 0x402427
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 [0x446274]
add edi, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, edi
je 0x40223e
cmp dword [edi + 0xc], 0
jl 0x402230
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x402230
push edx
call fcn.004025a0
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 0x402226
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [0x446274], eax
jmp 0x40223e
push dword [eax - 0xc]
mov ecx, 0x446274
push eax
call fcn.00401840
push 0x800
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.0041e7e0
lea eax, [ebp - 0x818]
push 0x400
push eax
call fcn.00409b20
add esp, 0x14
cmp dword [0x440eb8], 0
jne 0x40229c
mov edx, dword [str.pl_rsrc_english.dll]
test edx, edx
jne 0x40227c
xor ecx, ecx
jmp 0x402290
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402281
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, 0x446274
call fcn.00401840
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call edi
mov dword [0x4441b4], eax
test eax, eax
jne 0x402395
mov edx, dword [str.pl_rsrc_english.dll]
test edx, edx
jne 0x4022c2
xor ecx, ecx
jmp 0x4022e0
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 0x4022d0
sub ecx, dword [ebp - 0x14]
sar ecx, 1
push ecx
push edx
mov ecx, 0x446274
call fcn.00401840
xor eax, eax
mov word [ebp - 0x818], ax
lea eax, [ebp - 0x818]
push 0x400
push eax
call fcn.00409b20
add esp, 8
test eax, eax
je 0x402341
push 0xffffffffffffffff
push 0x43b7ec
lea eax, [ebp - 0x818]
push 0x400
push eax
call fcn.004207e5
push 0xffffffffffffffff
push dword [0x446274]
lea eax, [ebp - 0x818]
push 0x400
push eax
call fcn.004207e5
add esp, 0x20
lea eax, [ebp - 0x818]
push eax
call edi
mov dword [0x4441b4], eax
test eax, eax
jne 0x4023d2
push dword [0x440ec0]
mov ecx, 0x446274
call fcn.004017b0
mov ecx, 0x446274
call fcn.00402590
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 [0x4441b4], eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x800
call fcn.0041c757
push dword [ebp - 0x10]
mov edi, eax
push 0x400
push edi
call fcn.00420699
mov ecx, edi
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4023b7
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, 0x446274
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 0x4023ed
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 0x40240c
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.00401fc0
push 0x80004005
call fcn.00401fc0
int3