Function at 0x401588
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x68
mov eax, 0x43200f
call fcn.00427c2c
sub esp, 0xf4
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
push str.comctl32.dll
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp + 0x48], eax
cmp eax, ebx
je 0x401604
push str.DllGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + 0x64], eax
cmp eax, ebx
je 0x4015fb
push 0x14
pop edi
push edi
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00427c50
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x6c], edi
call dword [ebp + 0x64]
cmp eax, ebx
jl 0x4015fb
movzx esi, word [ebp - 0x68]
movzx eax, word [ebp - 0x64]
shl esi, 0x10
or esi, eax
push dword [ebp + 0x48]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, 0x40047
sbb al, al
inc al
push str.BurBNet.exe
lea ecx, [ebp]
mov dword [0x43cea0], esi
mov byte [section..data], al
call fcn.004023f2
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], ebx
call fcn.0040237b
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 1
call fcn.0040237b
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 2
call fcn.0040391f
lea ecx, [ebp + 0x18]
call fcn.0040237b
mov ecx, dword [ebp + 0x24]
lea edx, [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.00403d48
test al, al
jne 0x4016a8
mov edx, str.Error_1329484
xor ecx, ecx
call fcn.004112da
push dword [ebp + 0x18]
call fcn.00401dfb
push dword [ebp + 0x24]
call fcn.00401dfb
push dword [ebp - 0x54]
call fcn.00401dfb
push dword [ebp]
call fcn.00401dfb
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x6c
leave
ret
push 0x18
call fcn.00401dd0
pop ecx
cmp eax, ebx
je 0x4016ce
mov dword [eax + 4], ebx
mov dword [eax], 0x4346a0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax + 0x14], bx
mov edi, eax
jmp 0x4016d0
xor edi, edi
mov dword [ebp + 0x48], edi
cmp edi, ebx
je 0x4016dd
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0040f0e6
cmp eax, ebx
je 0x40170a
mov edx, eax
call fcn.004010b7
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x401670
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x401670
push 0xb8
call fcn.00401dd0
pop ecx
mov ecx, eax
mov dword [ebp + 0x64], ecx
mov byte [ebp - 4], 5
cmp ecx, ebx
je 0x40172b
call fcn.0040128f
mov esi, eax
jmp 0x40172d
xor esi, esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x58], esi
cmp esi, ebx
je 0x40173e
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0041309f
cmp dword [ebp + 4], ebx
lea ecx, [esi + 0x68]
setne al
mov byte [esi + 0x64], al
lea eax, [ebp]
push eax
call fcn.004024f9
lea ecx, [ebp - 0x48]
call fcn.00401055
mov dword [ebp - 0x10], ebx
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 7
call fcn.0040237b
mov ecx, dword [ebp + 0x24]
lea edx, [ebp + 0x3c]
mov byte [ebp - 4], 8
call fcn.00403e46
test al, al
jne 0x4017f4
mov edx, str.Error_1329485
xor ecx, ecx
call fcn.004112da
push dword [ebp + 0x3c]
call fcn.00401dfb
push dword [ebp - 0x1c]
call fcn.00401dfb
push dword [ebp - 0x38]
call fcn.00401dfb
mov eax, dword [esi]
add esp, 0xc
push esi
mov byte [ebp - 4], 4
call dword [eax + 8]
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x4017c7
mov eax, dword [edi]
push edi
call dword [eax + 8]
xor ebx, ebx
inc ebx
push dword [ebp + 0x18]
call fcn.00401dfb
push dword [ebp + 0x24]
call fcn.00401dfb
push dword [ebp - 0x54]
call fcn.00401dfb
push dword [ebp]
call fcn.00401dfb
add esp, 0x10
mov eax, ebx
jmp 0x401696
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x38]
call fcn.004024f9
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov word [ebp - 0xe], bx
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x54], ebx
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0xa
call fcn.00401195
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp + 0x4c]
call fcn.00401195
lea ecx, [ebp - 0xbc]
call fcn.004014c7
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xb
call fcn.0040121b
mov byte [ebp + 0x6b], bl
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
push ebx
push esi
lea eax, [ebp + 0x6b]
push eax
push 1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x30]
push eax
lea edx, [ebp + 0xc]
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.004170ff
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x64], eax
call fcn.00401144
push dword [ebp + 0x30]
mov byte [ebp - 4], 0xb
call fcn.00401dfb
mov edx, dword [ebp + 0x64]
pop ecx
cmp edx, ebx
jne 0x401a34
cmp dword [esi + 0x58], ebx
jne 0x4018c1
cmp byte [esi + 0x5c], bl
je 0x40191b
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xa
call fcn.004014f7
lea ecx, [ebp + 0x4c]
call fcn.00411d4a
lea ecx, [ebp + 0x58]
call fcn.00411d4a
push dword [ebp + 0x3c]
call fcn.00401dfb
push dword [ebp - 0x1c]
call fcn.00401dfb
push dword [ebp - 0x38]
call fcn.00401dfb
mov eax, dword [esi]
add esp, 0xc
push esi
mov byte [ebp - 4], 4
call dword [eax + 8]
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x401913
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 2
pop ebx
jmp 0x4017ca
xor eax, eax
push str.BurBNet.exe
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x100], 0x44
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0xd4], ebx
mov word [ebp - 0xce], ax
mov dword [ebp - 0xcc], ebx
call fcn.004023f2
push eax
lea edx, [ebp - 0x38]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xe
call fcn.00402357
mov edx, eax
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0xf
call fcn.00401000
push dword [ebp + 0xc]
call fcn.00401dfb
push dword [ebp - 0x88]
mov byte [ebp - 4], 0x12
call fcn.00401dfb
pop ecx
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x100]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
jne 0x4019be
mov edx, str.Error_run_BurBNet
xor ecx, ecx
call fcn.004112da
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0x30]
call fcn.00401dfb
pop ecx
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xa
call fcn.004014f7
lea ecx, [ebp + 0x4c]
call fcn.00411d4a
lea ecx, [ebp + 0x58]
call fcn.00411d4a
push dword [ebp + 0x3c]
call fcn.00401dfb
push dword [ebp - 0x1c]
call fcn.00401dfb
push dword [ebp - 0x38]
call fcn.00401dfb
mov eax, dword [esi]
add esp, 0xc
push esi
mov byte [ebp - 4], 4
call dword [eax + 8]
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x4017ca
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x4017ca
cmp edx, 0x80004004
jne 0x401a98
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xa
call fcn.004014f7
lea ecx, [ebp + 0x4c]
call fcn.00411d4a
lea ecx, [ebp + 0x58]
call fcn.00411d4a
push dword [ebp + 0x3c]
call fcn.00401dfb
push dword [ebp - 0x1c]
call fcn.00401dfb
push dword [ebp - 0x38]
call fcn.00401dfb
mov eax, dword [esi]
add esp, 0xc
push esi
mov byte [ebp - 4], 4
call dword [eax + 8]
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x401a8e
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ebx, 0xff
jmp 0x4017ca
cmp byte [ebp + 0x6b], bl
jne 0x401ab8
cmp edx, 1
jne 0x401ab3
mov edx, 0x4346ac
xor ecx, ecx
call fcn.004112da
jmp 0x4018c1
call fcn.004010b7
cmp dword [ebp + 0x64], 0x8007000e
jne 0x4018c1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xa
call fcn.004014f7
lea ecx, [ebp + 0x4c]
call fcn.00411d4a
lea ecx, [ebp + 0x58]
call fcn.00411d4a
push dword [ebp + 0x3c]
call fcn.00401dfb
push dword [ebp - 0x1c]
call fcn.00401dfb
push dword [ebp - 0x38]
call fcn.00401dfb
mov eax, dword [esi]
add esp, 0xc
push esi
mov byte [ebp - 4], 4
call dword [eax + 8]
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x401b17
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 8
jmp 0x401915