Function at 0x4049b5
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b35e8
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4dd070]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x4dd070]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
cmp byte [ebp + 0xc], 0
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], eax
jne 0x404a22
push 0x10
push 0x4b8140
push 0x4b869c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor esi, esi
push esi
push esi
lea eax, [esp + 0x2c]
call fcn.00431ce9
lea edi, [ebx + 0x28]
mov dword [esp + 0x128], 2
call fcn.00405906
lea eax, [esp + 0x78]
push eax
call fcn.004055c3
lea eax, [esp + 0x24]
mov byte [esp + 0x128], 3
mov ecx, dword [esp + 0x14]
push eax
call fcn.0040122b
pop ecx
test al, al
je 0x404bf8
cmp byte [esp + 0x2c], 6
jne 0x404bf8
lea eax, [esp + 0x24]
mov dword [esp + 0x14], esi
call fcn.00431a08
test eax, eax
jbe 0x404bf8
mov edi, 0x4b86d4
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
call fcn.00431a58
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00430e96
push str.id:_name:_content:
lea ecx, [esp + 0xbc]
mov byte [esp + 0x12c], 4
call fcn.004026bb
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x130], 5
call fcn.004014e5
pop ecx
pop ecx
push esi
push 1
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1b], al
mov byte [esp + 0x130], 4
call fcn.00402abb
cmp byte [esp + 0x13], 0
je 0x404bce
lea eax, [esp + 0x58]
push eax
push ecx
lea eax, [esp + 0x44]
push eax
mov edx, 0x4b86d8
call fcn.00431fdf
pop ecx
push eax
call fcn.0043121e
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xb8]
push eax
push ecx
lea eax, [esp + 0x44]
push eax
mov edx, edi
mov byte [esp + 0x134], 6
call fcn.00431fdf
pop ecx
push eax
call fcn.0043121e
push eax
lea eax, [ebx + 0x28]
push eax
mov byte [esp + 0x130], 7
call fcn.004057e7
push 0xffffffffffffffff
push esi
push dword [esp + 0x24]
mov ecx, eax
call fcn.00402991
push esi
push 1
lea ecx, [esp + 0xc0]
call fcn.00402abb
push esi
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x130], 4
call fcn.00402abb
lea eax, [esp + 0x58]
push eax
push ecx
lea eax, [esp + 0x44]
push eax
mov edx, edi
call fcn.00431fdf
pop ecx
push eax
call fcn.0043121e
push eax
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x134], 8
call fcn.00405621
push esi
push 1
lea ecx, [esp + 0x60]
call fcn.00402abb
lea esi, [esp + 0x3c]
mov byte [esp + 0x128], 3
call fcn.0043102f
inc dword [esp + 0x14]
lea eax, [esp + 0x24]
call fcn.00431a08
xor esi, esi
cmp dword [esp + 0x14], eax
jb 0x404a90
lea eax, [esp + 0x98]
push eax
call fcn.0043c630
pop ecx
mov byte [esp + 0x128], 9
cmp dword [esp + 0xb4], esi
jne 0x404c28
push 0x10
push 0x4b8140
push 0x4b86e0
jmp 0x404a11
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x9c]
call fcn.004066e1
pop ecx
lea esi, [ebx + 8]
push eax
mov byte [esp + 0x12c], 0xa
call fcn.0040501d
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x12c], 9
call fcn.004055f9
cmp dword [ebx + 0x24], 0
je 0x404c17
lea eax, [esp + 0xe0]
push eax
call fcn.004046a4
pop ecx
mov byte [esp + 0x128], 0xb
cmp dword [esp + 0xf4], 0
je 0x404d24
mov eax, dword [esi + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00405701
lea edi, [esp + 0x1c]
mov esi, eax
call fcn.00429373
test al, al
jne 0x404d24
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x18]
push eax
lea esi, [ebx + 0x28]
push esi
call fcn.0040592a
mov eax, dword [esi + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
lea edi, [esp + 0x1c]
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], eax
call fcn.00429373
test al, al
jne 0x404d24
push 0xffffffffffffffff
xor edi, edi
push edi
lea eax, [esp + 0xe8]
push eax
lea ecx, [ebx + 0x48]
call fcn.00402991
call fcn.00429348
push 0xffffffffffffffff
add eax, 0x1c
push edi
push eax
lea ecx, [ebx + 0x64]
call fcn.00402991
mov eax, ebx
call fcn.00404e59
push edi
jmp 0x404ddc
mov eax, dword [ebx + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 8]
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.00429348
push eax
lea ecx, [esp + 0x100]
call fcn.004026dd
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x18]
push eax
lea esi, [ebx + 0x28]
push esi
mov byte [esp + 0x134], 0xc
call fcn.0040592a
mov eax, dword [esi + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
lea edi, [esp + 0x1c]
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], eax
call fcn.00429373
test al, al
jne 0x404dca
push 0xffffffffffffffff
xor edi, edi
push edi
lea eax, [esp + 0x104]
push eax
lea ecx, [ebx + 0x48]
call fcn.00402991
call fcn.00429348
push 0xffffffffffffffff
add eax, 0x1c
push edi
push eax
lea ecx, [ebx + 0x64]
call fcn.00402991
mov eax, ebx
call fcn.00404e59
push edi
push 1
lea ecx, [esp + 0x104]
call fcn.00402abb
jmp 0x404d1e
push 0
push 1
lea ecx, [esp + 0x104]
call fcn.00402abb
push 0
push 1
lea ecx, [esp + 0xe8]
call fcn.00402abb
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0x12c], 3
call fcn.004055f9
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x12c], 2
call fcn.004055f9
or dword [esp + 0x128], 0xffffffff
lea esi, [esp + 0x24]
call fcn.0043102f
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0048ff11
mov esp, ebp
pop ebp
ret 0xc