Function at 0x408256
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
lea ebp, [esp - 0x838]
sub esp, 0x8b8
mov eax, dword [0x45c32c]
xor eax, ebp
mov dword [ebp + 0x834], eax
mov eax, dword [ebp + 0x844]
mov ecx, dword [ebp + 0x858]
mov edx, dword [ebp + 0x864]
push ebx
mov ebx, dword [ebp + 0x840]
push esi
push edi
mov edi, dword [ebp + 0x848]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x84c]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 0x85c]
xor esi, esi
cmp edi, esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edx
jne 0x4082be
cmp ecx, esi
jne 0x4082be
cmp eax, esi
jne 0x4082e4
cmp eax, esi
jne 0x4082ce
cmp dword [ebp + 0x850], esi
jne 0x4082ce
cmp ecx, esi
je 0x4082e4
call fcn.004023f8
test al, al
jne 0x4082eb
cmp dword [ebp - 0x58], esi
jne 0x4082eb
cmp dword [ebp + 0x850], esi
jne 0x4082eb
xor al, al
jmp 0x408a24
cmp dword [ebp + 0x868], esi
jne 0x4082fa
push ebx
call fcn.004080b6
pop ecx
mov eax, dword [ebp + 0x854]
cmp eax, esi
je 0x408306
mov dword [ebx], eax
cmp dword [ebp - 0x60], esi
je 0x40844f
cmp edi, esi
je 0x40844f
lea eax, [ebp + 0x5b4]
push eax
push dword [ebp - 0x60]
call fcn.004050c5
pop ecx
test eax, eax
pop ecx
lea eax, [ebp + 0x5b4]
jne 0x408335
mov eax, dword [edi + 0x10]
mov esi, str.Cookie:
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x3f7
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x43]
push 0
push eax
movsb byte es:[edi], byte [esi]
call fcn.00426c80
mov eax, dword [ebp - 0x5c]
movsx eax, word [eax]
imul eax, eax, 0x48
mov eax, dword [eax + 0x4589f8]
add esp, 0xc
test eax, eax
je 0x408375
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004269c0
pop ecx
pop ecx
push 0
lea eax, [ebp - 0x4c]
push eax
push 4
lea esi, [ebx + 0x28]
push esi
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call fcn.004050fe
add esp, 0x18
test eax, eax
mov dword [ebx + 0x24], eax
je 0x4082e4
push eax
call fcn.004048ed
mov dword [esp], 0x44c720
push dword [ebx + 0x24]
call fcn.0040481c
push dword [esi]
push dword [ebx + 0x24]
call fcn.00404861
mov edi, dword [ebp - 0x54]
add esp, 0x10
test byte [edi + 0xa0], 4
je 0x4083d1
push dword [ebx + 0x24]
call fcn.00404777
pop ecx
test dword [edi + 0xa0], 0x40000
je 0x4083e6
push dword [ebx + 0x24]
call fcn.004047e6
pop ecx
test byte [edi + 0xa0], 0x40
je 0x4083fe
push 0x44c6d0
push dword [ebx + 0x24]
call fcn.0040449c
pop ecx
pop ecx
mov eax, dword [ebp - 0x5c]
push dword [eax + 4]
movsx eax, word [eax]
imul eax, eax, 0x48
push dword [eax + 0x4589d4]
lea eax, [ebp + 0x7b4]
push str.debug_info__s__d.txt
push eax
call fcn.0042775f
add esp, 0x10
cmp dword [0x57b004], 0
je 0x408441
push dword [esi]
lea eax, [ebp + 0x7b4]
push dword [ebx + 0x24]
push eax
call fcn.00403417
add esp, 0xc
mov eax, dword [0x57b038]
mov dword [ebx + 0x34], eax
mov byte [ebx + 0x2c], 1
xor esi, esi
cmp dword [ebp - 0x58], esi
je 0x40846f
lea eax, [ebx + 0x28]
push eax
push 0x441004
push dword [ebp - 0x58]
call fcn.0040299a
add esp, 0xc
mov dword [ebx + 0x24], eax
mov byte [ebx + 0x2c], 1
mov eax, dword [ebp + 0x850]
cmp eax, esi
je 0x408481
cmp dword [ebp - 0x60], esi
jne 0x408481
mov dword [ebx + 0x24], eax
cmp dword [ebp - 0x50], esi
je 0x4084f9
cmp dword [ebp + 0x854], esi
jne 0x4084f9
cmp edi, esi
je 0x4086a2
lea eax, [ebp - 0x64]
push eax
movzx eax, word [0x57b038]
push dword [ebp - 0x50]
mov dword [ebp - 0x54], esi
push eax
call fcn.00402d14
add esp, 0xc
cmp eax, esi
jne 0x4084d5
push esi
push esi
push 1
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x50]
push dword [edi + 0xc]
call fcn.004050fe
add esp, 0x18
cmp eax, esi
mov dword [ebp - 0x54], 1
je 0x4084f9
push dword [ebp - 0x54]
push dword [ebp - 0x64]
push eax
call fcn.00402a34
mov ecx, 0x80
push ecx
push ecx
push eax
mov dword [ebx], eax
call fcn.00402f37
add esp, 0x18
mov dword [ebx], eax
mov byte [ebx + 0x20], 1
cmp edi, esi
je 0x4086a2
mov eax, dword [ebx]
cmp eax, esi
jne 0x4086a8
mov eax, dword [edi + 0x88]
cmp eax, esi
je 0x4086a2
push esi
push esi
push dword [ebx + 0x28]
push eax
push dword [ebx + 0x24]
call fcn.00403344
add esp, 0x14
cmp eax, esi
je 0x40867b
push esi
push eax
add eax, 0x80
push eax
push dword [edi + 0x8c]
push dword [ebx + 0x24]
call fcn.00403344
add esp, 0x14
cmp eax, esi
mov dword [ebp - 0x58], eax
je 0x4086a2
push esi
push eax
push dword [ebx + 0x28]
push dword [edi + 0x90]
push dword [ebx + 0x24]
call fcn.00403344
sub eax, dword [ebp - 0x58]
add esp, 0x14
cmp eax, esi
mov dword [ebp - 0x54], eax
jle 0x4086a2
push dword [edi + 0x90]
call fcn.00426920
mov ecx, dword [ebp - 0x54]
sub ecx, eax
add ecx, 0x400
push ecx
call fcn.00426af7
push 4
push esi
push eax
mov dword [ebp - 0x50], eax
call fcn.00426c80
add esp, 0x14
cmp dword [ebp - 0x50], esi
je 0x4086a2
mov eax, dword [ebp - 0x50]
mov byte [eax], 0
mov eax, dword [ebx + 0x24]
add eax, dword [ebp - 0x58]
push 7
push eax
push str.http:__
call fcn.004285cc
add esp, 0xc
test eax, eax
je 0x4085f2
mov eax, dword [edi + 4]
cmp eax, esi
je 0x4085e0
push eax
push dword [ebp - 0x50]
call fcn.004269b0
pop ecx
pop ecx
mov eax, dword [edi + 0x60]
cmp eax, esi
je 0x4085f2
push eax
push dword [ebp - 0x50]
call fcn.004269b0
pop ecx
pop ecx
push dword [edi + 0x90]
call fcn.00426920
mov ecx, dword [ebp - 0x54]
sub ecx, eax
mov eax, dword [ebx + 0x24]
add eax, dword [ebp - 0x58]
push ecx
push eax
push dword [ebp - 0x50]
call fcn.00428410
push esi
push esi
push 1
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x50]
push dword [edi + 0xc]
call fcn.004050fe
add esp, 0x28
cmp eax, esi
je 0x408670
cmp dword [ebp + 0x868], esi
je 0x40864d
push dword [ebp - 0x50]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebx + 0x40], eax
lea eax, [ebx + 0x44]
push eax
call fcn.004269b0
pop ecx
pop ecx
jmp 0x408670
push 1
push dword [ebp - 0x54]
push eax
call fcn.00402a34
mov ecx, 0x80
push ecx
push ecx
push eax
mov dword [ebx], eax
call fcn.00402f37
add esp, 0x18
mov dword [ebx], eax
mov byte [ebx + 0x20], 1
push dword [ebp - 0x50]
call fcn.004260a6
pop ecx
jmp 0x4086a2
mov eax, dword [ebp - 0x5c]
cmp eax, esi
je 0x4086a2
movsx eax, word [eax]
imul eax, eax, 0x48
test word [eax + 0x4589e0], 0x100
je 0x4086a2
push 1
push esi
push esi
push dword [ebp - 0x60]
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [ebx]
cmp eax, esi
je 0x4086e2
lea ecx, [ebp - 0x80]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp + 0x860]
sub eax, ecx
add eax, 0xfffffff0
mov dword [ebx + 0xc], eax
add eax, ecx
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x78]
add eax, 8
mov dword [ebx + 0x1c], 2
mov dword [ebx + 0x10], 8
mov dword [ebx + 0x18], eax
mov edx, dword [ebx + 0x24]
cmp edx, esi
je 0x408827
cmp edi, esi
je 0x408827
cmp dword [ebp - 0x60], esi
je 0x408827
mov ecx, dword [edi + 0x78]
xor eax, eax
cmp ecx, esi
je 0x408716
push esi
push esi
push dword [ebx + 0x28]
push ecx
push edx
call fcn.00403344
add esp, 0x14
mov ecx, dword [edi + 0x7c]
cmp ecx, esi
je 0x408827
push esi
push eax
push dword [ebx + 0x28]
push ecx
push dword [ebx + 0x24]
call fcn.00403344
add esp, 0x14
cmp eax, esi
mov dword [ebp - 0x50], eax
jne 0x408740
mov al, 2
jmp 0x408a24
mov eax, dword [edi + 0x84]
cmp eax, esi
je 0x408764
push esi
push dword [ebp - 0x50]
push dword [ebx + 0x28]
push eax
push dword [ebx + 0x24]
call fcn.00403344
add esp, 0x14
cmp eax, esi
mov dword [ebp - 0x54], eax
jne 0x408783
push esi
push dword [ebp - 0x50]
push dword [ebx + 0x28]
push dword [edi + 0x80]
push dword [ebx + 0x24]
call fcn.00403344
add esp, 0x14
cmp eax, esi
mov dword [ebp - 0x54], eax
je 0x408739
mov edi, dword [ebp - 0x54]
mov eax, edi
sub eax, dword [ebp - 0x50]
cmp eax, esi
mov dword [ebp - 0x54], eax
jle 0x4082e4
push dword [ebx + 0x24]
call fcn.00426920
push eax
call fcn.00426af7
cmp eax, esi
pop ecx
pop ecx
mov dword [ebp - 0x58], eax
je 0x4087f4
push esi
push 1
push 0x43f692
push dword [ebx + 0x24]
call fcn.00426920
pop ecx
push eax
mov eax, dword [ebx + 0x24]
push dword [ebp - 0x54]
add eax, dword [ebp - 0x50]
push eax
push dword [ebp - 0x58]
call fcn.0040490a
push dword [ebp - 0x58]
call fcn.00426920
add esp, 0x20
test eax, eax
push dword [ebp - 0x58]
jne 0x4087ee
call fcn.004260a6
pop ecx
jmp 0x408739
call fcn.004260a6
pop ecx
mov eax, dword [ebx + 0x24]
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
add ecx, eax
push ecx
push eax
call fcn.00427800
mov ecx, dword [ebx + 0x24]
mov eax, edi
sub eax, dword [ebp - 0x50]
mov byte [eax + ecx], 0
push dword [ebx + 0x24]
call fcn.004026fc
mov eax, dword [ebx + 0x24]
add esp, 0x10
sub edi, dword [ebp - 0x50]
mov byte [edi + eax], 0
cmp dword [ebx + 0x38], esi
je 0x408a22
mov al, byte [0x43f692]
push 0x3ff
mov byte [ebp + 0x3b4], al
lea eax, [ebp + 0x3b5]
push esi
push eax
call fcn.00426c80
add esp, 0xc
cmp dword [ebp - 0x68], esi
je 0x408866
push dword [ebp - 0x68]
lea eax, [ebp + 0x3b4]
push eax
call fcn.004269b0
pop ecx
pop ecx
mov eax, dword [ebp - 0x5c]
push eax
mov dword [ebx + 0x30], eax
lea eax, [ebp + 0x3b4]
push eax
call fcn.00408140
pop ecx
pop ecx
lea eax, [ebp + 0x3b4]
push eax
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x10
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00426c80
add esp, 0xc
cmp dword [ebx + 8], esi
jne 0x4089bc
cmp dword [0x45e654], esi
je 0x408971
lea eax, [ebp - 0x78]
push eax
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x74]
add eax, 0x190
push 0xfffffffffffffffc
mov dword [ebp - 0x6c], eax
push 0xfffffffffffffffc
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push esi
push esi
push esi
push dword [ebx + 0x38]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push 4
push 2
push 0x50a00804
push esi
push str.EDIT
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, esi
mov dword [ebx + 8], eax
je 0x408914
push 1
push 1
call fcn.004016ec
pop ecx
push eax
push 0x30
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x24]
cmp eax, esi
je 0x408971
cmp dword [ebx + 0x28], esi
jle 0x408971
push eax
call fcn.00426920
mov edi, eax
inc edi
push edi
call fcn.00426af7
cmp eax, esi
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
je 0x408971
push 0x44ca00
push esi
push 0x43f692
push edi
push edi
push dword [ebx + 0x24]
push eax
call fcn.0040490a
push dword [ebp - 0x5c]
call fcn.004026fc
add esp, 0x20
push dword [ebp - 0x5c]
push esi
push 0xc
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x5c]
call fcn.004260a6
pop ecx
cmp dword [ebx + 8], esi
jne 0x4089bc
mov eax, dword [ebp + 0x860]
push dword [ebx + 0x38]
add eax, 0xffffffe8
mov dword [ebp - 0x70], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push 1
push 0xffffffffffffffff
mov edi, eax
push 1
lea eax, [ebp - 0x78]
push eax
push ebx
push dword [ebx + 0x24]
push edi
call fcn.004073ee
add esp, 0x1c
push edi
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebx + 0x18]
cmp eax, dword [ebp - 0x6c]
jle 0x4089bc
add eax, 8
mov dword [ebp - 0x6c], eax
push 0xffffffffffffffec
push dword [0x57b008]
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp byte [0x45dec9], 0
je 0x4089db
push esi
push 0xe6
jmp 0x4089de
push 1
push esi
push dword [0x57b008]
call fcn.004066e7
add esp, 0xc
push 0x82
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x6c]
lea eax, [eax + ecx + 0x10]
push eax
push dword [ebp + 0x860]
push esi
push esi
push esi
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp + 0x868], esi
jne 0x408a22
push ebx
call fcn.00407f64
pop ecx
mov al, 1
mov ecx, dword [ebp + 0x834]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426fc3
add ebp, 0x838
leave
ret