Function at 0x434040
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f617
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5dccb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xa4], ebx
call fcn.00419900
mov edi, eax
test edi, edi
je 0x434435
push 0
push dword [ebx + 4]
lea ecx, [ebp - 0x94]
call fcn.0042d540
push dword [eax]
call fcn.00419930
push eax
push str.type
push edi
call fcn.00419530
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x4340c4
push eax
call fcn.005338b8
add esp, 4
push 0
push dword [ebx + 8]
lea ecx, [ebp - 0x94]
call fcn.0042d540
push dword [eax]
call fcn.00419930
push eax
push str.content
push edi
call fcn.00419530
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x434103
push eax
call fcn.005338b8
add esp, 4
push 0
push dword [ebx + 0x1c]
lea ecx, [ebp - 0x94]
call fcn.0042d540
push dword [eax]
call fcn.00419930
push eax
push 0x58c490
push edi
call fcn.00419530
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x434142
push eax
call fcn.005338b8
add esp, 4
push 0
push dword [ebx + 0x14]
lea ecx, [ebp - 0x94]
call fcn.0042d540
push dword [eax]
call fcn.00419930
push eax
push 0x58c484
push edi
call fcn.00419530
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x434181
push eax
call fcn.005338b8
add esp, 4
push 0
push dword [ebx + 0x18]
lea ecx, [ebp - 0x94]
call fcn.0042d540
push dword [eax]
call fcn.00419930
push eax
push 0x58c494
push edi
call fcn.00419530
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x4341c0
push eax
call fcn.005338b8
add esp, 4
push 0
push dword [ebx + 0x10]
lea ecx, [ebp - 0x94]
call fcn.0042d540
push dword [eax]
call fcn.00419930
push eax
push 0x58c6c4
push edi
call fcn.00419530
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x4341ff
push eax
call fcn.005338b8
add esp, 4
push 0
push dword [ebx + 0xc]
lea ecx, [ebp - 0x94]
call fcn.0042d540
push dword [eax]
call fcn.00419930
push eax
push 0x58c6cc
push edi
call fcn.00419530
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x43423e
push eax
call fcn.005338b8
add esp, 4
push 0x58c81c
call fcn.00419930
push eax
push str.askver
push edi
call fcn.00419530
push edi
call fcn.00419e30
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x43442c
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434270
sub ecx, edx
je 0x43442c
call fcn.0042e350
mov ecx, eax
test ecx, ecx
je 0x434451
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x9c], eax
mov eax, str.9c2bfc39_1034_421b_999e_e55c69ab7a2c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x9c]
test eax, 0xffff0000
jne 0x4342c0
movzx eax, ax
push eax
call fcn.0040d890
jmp 0x4342cc
push 0x24
push str.9c2bfc39_1034_421b_999e_e55c69ab7a2c
call fcn.0040da40
mov dword [ebp - 4], 1
call fcn.0042e350
mov ecx, eax
test ecx, ecx
je 0x43445b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 2
test ebx, 0xffff0000
jne 0x43430d
movzx eax, bx
lea ecx, [ebp - 0x98]
push eax
call fcn.0040d890
jmp 0x434388
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea esi, [eax - 1]
test esi, esi
jle 0x43437d
mov ecx, dword [ebp - 0x98]
mov edx, 1
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x43434e
push esi
lea ecx, [ebp - 0x98]
call fcn.0040b390
mov ecx, dword [ebp - 0x98]
push esi
push ecx
push 0xffffffffffffffff
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x98]
cmp esi, dword [eax - 8]
jg 0x434465
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x98]
mov word [eax + esi*2], cx
jmp 0x434388
lea ecx, [ebp - 0x98]
call fcn.0041d050
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004b2b70
add esp, 0xc
mov ecx, dword [ebp - 0xa4]
push eax
add ecx, 0x20
mov byte [ebp - 4], 4
call fcn.0041ba60
mov edx, dword [ebp - 0xa0]
or esi, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4343e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x98]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x434401
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x434423
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call fcn.005338b8
add esp, 4
push edi
call fcn.00419ac0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b0a78
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040af40
push 0x80004005
call fcn.0040af40
push 0x80070057
call fcn.0040af40
int3