Function at 0x402a42
Capabilities:
Create thread

Disassembly:
sub esp, 0x10c
mov eax, dword [0x406004]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [0x406024]
push ebx
push ebp
mov ebp, dword [section..data]
dec ebp
neg ebp
sbb ebp, ebp
and ebp, 0xffffffc0
add ebp, 0x81
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebp
cmp eax, ebx
je 0x402a84
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
xor eax, eax
cmp dword [section..data], 3
setne al
push eax
push 0x3eb
push dword [0x406020]
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
xor eax, eax
cmp dword [section..data], 2
sete al
push eax
push 0x3e8
push dword [0x406020]
call esi
push eax
call edi
mov eax, dword [section..data]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
dec eax
neg eax
sbb eax, eax
and eax, str.__FreeExtractor
push eax
push 0x3f5
push dword [0x406020]
call edi
push ebp
push ebx
push ebx
push 0x3b
push ebx
push ebx
push 0x3fe
push dword [0x406020]
call esi
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
push eax
call ebp
push dword [esp + 0x10]
push ebx
push ebx
push 0xc
push 0x16
push ebx
push 0x3f7
push dword [0x406020]
call esi
push eax
call ebp
push dword [esp + 0x10]
push ebx
push ebx
push 0x1b
push 0x2c
push ebx
push 0x3f9
push dword [0x406020]
call esi
push eax
call ebp
mov eax, dword [section..data]
movzx eax, word [eax*2 + 0x404280]
push eax
call fcn.004028dc
cmp dword [section..data], 1
pop ecx
je 0x402b71
push 0x101
push ebx
push ebx
push 0x46
push 0x2c
push ebx
push dword [0x406024]
call ebp
mov eax, dword [section..data]
push dword [eax*4 + 0x404260]
push 0x3f7
push dword [0x406020]
call edi
mov eax, dword [section..data]
push dword [eax*4 + 0x404270]
push 0x3f9
push dword [0x406020]
call edi
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 1
push dword [0x409ac0]
push 0x30
push 0x3e8
push dword [0x406020]
call esi
xor ebp, ebp
inc ebp
push ebp
push dword [0x409ac0]
push 0x30
push 0x3eb
push dword [0x406020]
call esi
push ebp
push dword [0x409ac0]
push 0x30
push 0x3ed
push dword [0x406020]
call esi
push ebp
push dword [0x409ac0]
push 0x30
push 0x3f5
push dword [0x406020]
call esi
mov eax, dword [section..data]
dec eax
je 0x402d09
dec eax
je 0x402c67
dec eax
jne 0x402d88
push ebp
push dword [0x409ac0]
push 0x30
push 0x3f8
push dword [0x406024]
call esi
push ebp
push dword [0x409ac0]
push 0x30
push 0x3fa
push dword [0x406024]
call esi
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push fcn.00402901
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x402d88
mov eax, 0x409ae0
cmp byte [0x409ae0], bl
jne 0x402c79
mov eax, 0x409c00
push eax
mov ebp, 0x3ea
push ebp
push dword [0x406024]
call edi
push ebx
push 0x96
push 0xc5
push ebp
push dword [0x406024]
call esi
push ebx
push 1
push 0xf1
lea edi, [ebp + 0xc]
push edi
push dword [0x406024]
call esi
push 1
push dword [0x409ac0]
push 0x30
push 0x3f8
push dword [0x406024]
call esi
push 1
push dword [0x409ac0]
push 0x30
push ebp
push dword [0x406024]
call esi
push 1
push dword [0x409ac0]
push 0x30
push 0x3ec
push dword [0x406024]
call esi
push 1
push dword [0x409ac0]
push 0x30
push edi
push dword [0x406024]
call esi
xor ebp, ebp
inc ebp
jmp 0x402d88
push 0x406458
push 0x3f1
push dword [0x406024]
call edi
push 0x4096c0
push 0x3f9
push dword [0x406024]
call edi
push 8
push 0x406660
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
test eax, eax
je 0x402d76
push str.mailto:
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x402d76
lea eax, [esp + 0x18]
push eax
push ebx
push 0x404784
push 0x406667
call fcn.0040112c
add esp, 0x10
lea eax, [esp + 0x18]
push eax
jmp 0x402d7b
push 0x406660
push 0x3f2
push dword [0x406024]
call edi
push ebp
push ebx
mov edi, 0xf4
push edi
push 0x3e8
push dword [0x406020]
call esi
push ebp
push ebx
push edi
push 0x3eb
push dword [0x406020]
call esi
push dword [0x406020]
call dword [sym.imp.USER32.dll_SetFocus]
call dword [sym.imp.USER32.dll_GetFocus]
push ebx
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
push 0x87
push esi
call ebx
test al, 0x20
je 0x402ddb
push ebp
push ebp
push edi
push esi
call ebx
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004033d1
add esp, 0x10c
ret