Function at 0x437d80
Capabilities:
Create process on windows
Print debug messages
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4abce8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x4e52d0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0xa0]
lea eax, [esp + 0x14]
push esi
push eax
mov ebx, 0x4be380
mov dword [esp + 0x24], esi
call fcn.00404520
xor ebx, ebx
push 0x40
lea ecx, [esp + 0x44]
push ebx
push ecx
mov dword [esp + 0x9c], ebx
call fcn.004950a0
mov ecx, dword [esp + 0x28]
add esp, 0x14
xor eax, eax
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x38]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._InstallReg
push ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x437e38
mov edx, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0x28]
push eax
call edi
jmp 0x437e4f
add edi, 0xa4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0xfa8
call fcn.00407530
call fcn.00404f00
test al, al
je 0x43835a
cmp byte [0x4e6790], bl
je 0x437e6f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4eb36c], eax
lea ecx, [esp + 0x18]
push esi
push ecx
mov ebx, 0x4c4420
call fcn.00404520
add esp, 8
mov ebx, 1
lea edi, [esp + 0x14]
mov byte [esp + 0x88], bl
call fcn.00404600
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x437ebf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x4e4f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e4f18
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x88], 2
mov ecx, dword [esp + 0x14]
push ecx
push str.regsvr32__s___s_
lea edi, [esp + 0x20]
call fcn.00402360
mov edi, dword [esp + 0x20]
add esp, 8
cmp dword [edi - 4], ebx
jle 0x437f0f
mov edx, dword [edi - 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004021c0
mov edi, dword [esp + 0x18]
push edi
push 0
xor eax, eax
call fcn.00401560
mov eax, dword [edi - 8]
push eax
push edi
call fcn.004923b5
add esp, 0x10
test eax, eax
js 0x438350
cmp eax, dword [edi - 8]
jg 0x438350
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp byte [0x4e6790], cl
je 0x437fbc
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [0x4eb370], eax
sub eax, dword [0x4eb36c]
mov edi, 0x4eb3f4
push eax
push 0x4c4474
push 0x4bdff8
call fcn.00402360
mov edx, dword [0x4eb3f4]
add esp, 0xc
push edx
call esi
mov eax, dword [0x4eb374]
test eax, eax
je 0x437fac
mov ecx, dword [0x4eb3f4]
mov edx, dword [ecx - 0xc]
push eax
push edx
push 2
push ecx
call fcn.00493e99
mov eax, dword [0x4eb374]
push eax
call fcn.00494637
add esp, 0x14
cmp byte [0x4e6790], 0
je 0x437fbc
call ebx
mov dword [0x4eb36c], eax
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, 0x4c44ac
call fcn.00404520
add esp, 8
lea edi, [esp + 0x14]
mov byte [esp + 0x88], 3
call fcn.00404600
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43800c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
push str.regsvr32__s___s_
lea edi, [esp + 0x20]
call fcn.00402360
mov edi, dword [esp + 0x20]
add esp, 8
cmp dword [edi - 4], 1
jle 0x43803e
mov edx, dword [edi - 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004021c0
mov edi, dword [esp + 0x18]
push edi
push 0
xor eax, eax
call fcn.00401560
mov eax, dword [edi - 8]
push eax
push edi
call fcn.004923b5
add esp, 0x10
test eax, eax
js 0x438350
cmp eax, dword [edi - 8]
jg 0x438350
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp byte [0x4e6790], cl
je 0x4380e5
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [0x4eb370], eax
sub eax, dword [0x4eb36c]
mov edi, 0x4eb3f4
push eax
push 0x4c44d0
push 0x4bdff8
call fcn.00402360
mov edx, dword [0x4eb3f4]
add esp, 0xc
push edx
call esi
mov eax, dword [0x4eb374]
test eax, eax
je 0x4380d5
mov ecx, dword [0x4eb3f4]
mov edx, dword [ecx - 0xc]
push eax
push edx
push 2
push ecx
call fcn.00493e99
mov eax, dword [0x4eb374]
push eax
call fcn.00494637
add esp, 0x14
cmp byte [0x4e6790], 0
je 0x4380e5
call ebx
mov dword [0x4eb36c], eax
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, 0x4c44fc
call fcn.00404520
add esp, 8
lea edi, [esp + 0x14]
mov byte [esp + 0x88], 4
call fcn.00404600
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438135
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
push str.regsvr32__s___s_
lea edi, [esp + 0x20]
call fcn.00402360
mov edi, dword [esp + 0x20]
add esp, 8
cmp dword [edi - 4], 1
jle 0x438167
mov edx, dword [edi - 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004021c0
mov edi, dword [esp + 0x18]
push edi
push 0
xor eax, eax
call fcn.00401560
mov eax, dword [edi - 8]
push eax
push edi
call fcn.004923b5
add esp, 0x10
test eax, eax
js 0x438350
cmp eax, dword [edi - 8]
jg 0x438350
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp byte [0x4e6790], cl
je 0x43820e
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [0x4eb370], eax
sub eax, dword [0x4eb36c]
mov edi, 0x4eb3f4
push eax
push 0x4c451c
push 0x4bdff8
call fcn.00402360
mov edx, dword [0x4eb3f4]
add esp, 0xc
push edx
call esi
mov eax, dword [0x4eb374]
test eax, eax
je 0x4381fe
mov ecx, dword [0x4eb3f4]
mov edx, dword [ecx - 0xc]
push eax
push edx
push 2
push ecx
call fcn.00493e99
mov eax, dword [0x4eb374]
push eax
call fcn.00494637
add esp, 0x14
cmp byte [0x4e6790], 0
je 0x43820e
call ebx
mov dword [0x4eb36c], eax
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, 0x4c4544
call fcn.00404520
add esp, 8
lea edi, [esp + 0x14]
mov byte [esp + 0x88], 5
call fcn.00404600
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43825e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
push str.regsvr32__s___s_
lea edi, [esp + 0x20]
call fcn.00402360
mov ebx, dword [esp + 0x20]
add esp, 8
cmp dword [ebx - 4], 1
jle 0x43828e
mov edx, dword [ebx - 0xc]
push edx
mov eax, edi
push eax
call fcn.004021c0
mov ebx, dword [esp + 0x18]
push ebx
push 0
xor eax, eax
call fcn.00401560
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.004923b5
add esp, 0x10
test eax, eax
js 0x438350
cmp eax, dword [ebx - 8]
jg 0x438350
xor ecx, ecx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], cx
cmp byte [0x4e6790], cl
je 0x438323
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4eb370], eax
sub eax, dword [0x4eb36c]
mov edi, 0x4eb3f4
push eax
push 0x4c456c
push 0x4bdff8
call fcn.00402360
mov edx, dword [0x4eb3f4]
add esp, 0xc
push edx
call esi
mov eax, dword [0x4eb374]
test eax, eax
je 0x438323
mov ecx, dword [0x4eb3f4]
mov edx, dword [ecx - 0xc]
push eax
push edx
push 2
push ecx
call fcn.00493e99
mov eax, dword [0x4eb374]
push eax
call fcn.00494637
add esp, 0x14
add ebx, 0xfffffff0
mov byte [esp + 0x88], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4386b5
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
jmp 0x4386b5
push 0x80070057
call fcn.00402bc0
cmp byte [0x4e6790], bl
je 0x43836d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4eb36c], eax
lea eax, [esp + 0x20]
push esi
push eax
mov ebx, 0x4c459c
call fcn.00404520
add esp, 8
lea edi, [esp + 0x14]
mov byte [esp + 0x88], 6
call fcn.00404600
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4383b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push 1
push ecx
call fcn.00401670
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 8
cmp byte [0x4e6790], 0
je 0x438445
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [0x4eb370], eax
sub eax, dword [0x4eb36c]
mov edi, 0x4eb3f4
push eax
push 0x4c45b8
push 0x4bdff8
call fcn.00402360
mov edx, dword [0x4eb3f4]
add esp, 0xc
push edx
call esi
mov eax, dword [0x4eb374]
test eax, eax
je 0x438435
mov ecx, dword [0x4eb3f4]
mov edx, dword [ecx - 0xc]
push eax
push edx
push 2
push ecx
call fcn.00493e99
mov eax, dword [0x4eb374]
push eax
call fcn.00494637
add esp, 0x14
cmp byte [0x4e6790], 0
je 0x438445
call ebx
mov dword [0x4eb36c], eax
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, 0x4c45dc
call fcn.00404520
add esp, 8
lea edi, [esp + 0x14]
mov byte [esp + 0x88], 7
call fcn.00404600
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438495
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push 1
push ecx
call fcn.00401670
add esp, 8
cmp byte [0x4e6790], 0
je 0x43851b
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [0x4eb370], eax
sub eax, dword [0x4eb36c]
mov edi, 0x4eb3f4
push eax
push 0x4c4608
push 0x4bdff8
call fcn.00402360
mov edx, dword [0x4eb3f4]
add esp, 0xc
push edx
call esi
mov eax, dword [0x4eb374]
test eax, eax
je 0x43850b
mov ecx, dword [0x4eb3f4]
mov edx, dword [ecx - 0xc]
push eax
push edx
push 2
push ecx
call fcn.00493e99
mov eax, dword [0x4eb374]
push eax
call fcn.00494637
add esp, 0x14
cmp byte [0x4e6790], 0
je 0x43851b
call ebx
mov dword [0x4eb36c], eax
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, 0x4c463c
call fcn.00404520
add esp, 8
lea edi, [esp + 0x14]
mov byte [esp + 0x88], 8
call fcn.00404600
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43856b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push 1
push ecx
call fcn.00401670
add esp, 8
cmp byte [0x4e6790], 0
je 0x4385f1
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [0x4eb370], eax
sub eax, dword [0x4eb36c]
mov edi, 0x4eb3f4
push eax
push 0x4c465c
push 0x4bdff8
call fcn.00402360
mov edx, dword [0x4eb3f4]
add esp, 0xc
push edx
call esi
mov eax, dword [0x4eb374]
test eax, eax
je 0x4385e1
mov ecx, dword [0x4eb3f4]
mov edx, dword [ecx - 0xc]
push eax
push edx
push 2
push ecx
call fcn.00493e99
mov eax, dword [0x4eb374]
push eax
call fcn.00494637
add esp, 0x14
cmp byte [0x4e6790], 0
je 0x4385f1
call ebx
mov dword [0x4eb36c], eax
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, str.BFExpressExt.dll
call fcn.00404520
add esp, 8
lea edi, [esp + 0x14]
mov byte [esp + 0x88], 9
call fcn.00404600
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438641
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push 1
push ecx
call fcn.00401670
add esp, 8
cmp byte [0x4e6790], 0
je 0x4386b5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4eb370], eax
sub eax, dword [0x4eb36c]
mov edi, 0x4eb3f4
push eax
push 0x4c465c
push 0x4bdff8
call fcn.00402360
mov edx, dword [0x4eb3f4]
add esp, 0xc
push edx
call esi
mov eax, dword [0x4eb374]
test eax, eax
je 0x4386b5
mov ecx, dword [0x4eb3f4]
mov edx, dword [ecx - 0xc]
push eax
push edx
push 2
push ecx
call fcn.00493e99
mov eax, dword [0x4eb374]
push eax
call fcn.00494637
add esp, 0x14
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, str.npBFWebBrowserPlugin.dll
call fcn.00404520
add esp, 8
lea edi, [esp + 0x14]
mov byte [esp + 0x88], 0xa
call fcn.00404600
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438705
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
js 0x43874e
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, 0x20
jb 0x438748
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x438741
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438779
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret