joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11cfb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x11db520]
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.011c6e52
and dword [ebp - 0x14], 0
cmp dword [0x121d558], 0
mov dword [ebp - 0x18], eax
jne 0x11cfc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x11cfcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x11cfcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x121d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x121d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x121d560], eax
call edi
push eax
call esi
mov dword [0x121d568], eax
test eax, eax
je 0x11cfc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x121d564], eax
mov eax, dword [0x121d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x11cfc78
cmp dword [0x121d568], ecx
je 0x11cfc78
push eax
call esi
push dword [0x121d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x11cfc78
test ebx, ebx
je 0x11cfc78
call edi
test eax, eax
je 0x11cfc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x11cfc6f
test byte [ebp - 8], 1
jne 0x11cfc78
or dword [ebp + 0x10], 0x200000
jmp 0x11cfcab
mov eax, dword [0x121d55c]
cmp eax, dword [ebp - 0x18]
je 0x11cfcab
push eax
call esi
test eax, eax
je 0x11cfcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x11cfcab
mov eax, dword [0x121d560]
cmp eax, dword [ebp - 0x18]
je 0x11cfcab
push eax
call esi
test eax, eax
je 0x11cfcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x121d558]
call esi
test eax, eax
je 0x11cfcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x11cfcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.011c13cb
leave
ret
Function at 0x401cd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x42e07c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x423610
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, 2
push 0x4321dc
lea ebx, [eax + 0x105]
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041f23f
mov esi, eax
add esp, 8
test esi, esi
je 0x401d3b
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
test edi, edi
jne 0x401d51
push esi
call fcn.0041ed11
add esp, 4
pop edi
pop esi
mov eax, 0x8000ffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ecc2
mov esp, ebp
pop ebp
ret
cmp edi, 0x104
jbe 0x401d97
push esi
call fcn.0041ed11
mov ebx, dword [ebp - 0xc]
xor ecx, ecx
inc ebx
mov edx, 2
add ebx, edi
mov eax, ebx
mul edx
push 0x4321dc
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041f23f
mov esi, eax
add esp, 0xc
test esi, esi
je 0x401d3b
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x401d32
push ecx
mov edx, ebx
mov ecx, esi
xor edi, edi
call fcn.00401a90
test eax, eax
jne 0x401db0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push esi
call fcn.0041ed11
add esp, 4
mov dword [ebp - 8], 0
mov esi, 0x80004001
test edi, edi
je 0x401e26
push str.SHGetKnownFolderPath
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401dea
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 0x42e0a4
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x401e26
mov eax, dword [ebp - 8]
test eax, eax
je 0x401e26
test esi, esi
jne 0x401e26
push eax
push 0x104
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
mov ecx, 0x80070057
test eax, eax
cmovne esi, ecx
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ecc2
mov esp, ebp
pop ebp
ret
Function at 0x414f80
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor dl, dl
push edi
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x41515e
mov eax, ecx
cmp eax, 0x7c
je 0x41515e
cmp eax, 0x29
jne 0x414fc3
cmp dword [esi + 0x10], 0
jne 0x41515e
cmp eax, eax
jne 0x414fc3
test dword [esi + 0x50], 0x10000000
je 0x41516b
jmp 0x415115
cmp eax, 0x2e
jne 0x415024
push 5
lea ecx, [esi + 0x24]
call fcn.00415350
mov ecx, dword [esi]
mov edx, dword [esi + 8]
cmp ecx, edx
je 0x415018
cmp word [ecx], 0x5c
jne 0x415013
lea eax, [ecx + 2]
cmp eax, edx
je 0x415013
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x414ffd
movzx edi, word [eax]
cmp edi, 0x28
je 0x41500f
cmp edi, 0x29
je 0x41500f
test dl, 0x10
jne 0x415013
movzx edx, word [eax]
cmp edx, 0x7b
je 0x41500f
cmp edx, 0x7d
jne 0x415013
mov dword [esi], eax
mov ecx, eax
lea eax, [ecx + 2]
mov dword [esi], eax
mov ecx, esi
call fcn.00412490
jmp 0x415147
cmp eax, 0x5c
jne 0x415083
mov ecx, esi
call fcn.00414f30
test byte [esi + 0x50], 0x80
je 0x415077
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x415055
push 4
lea ecx, [esi + 0x24]
call fcn.00415350
mov ecx, esi
call fcn.00414f30
jmp 0x41514e
cmp eax, 0x42
jne 0x415077
push 4
lea ecx, [esi + 0x24]
call fcn.00415350
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00414f30
jmp 0x41514e
mov ecx, esi
call fcn.00416ff0
jmp 0x415147
cmp eax, 0x5b
jne 0x4150a5
mov ecx, esi
call fcn.00414f30
mov ecx, esi
call fcn.00416f40
cmp dword [esi + 0x4c], 0x5d
jne 0x415172
jmp 0x415140
cmp eax, 0x28
jne 0x4150d1
mov ecx, esi
call fcn.00414f30
mov ecx, esi
call fcn.004171a0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x41516b
mov ecx, esi
call fcn.00414f30
test bl, bl
je 0x41514e
jmp 0x415147
cmp eax, 0x5e
jne 0x4150e9
push 2
lea ecx, [esi + 0x24]
call fcn.00415350
mov ecx, esi
call fcn.00414f30
jmp 0x41514e
cmp eax, 0x24
jne 0x415101
push 3
lea ecx, [esi + 0x24]
call fcn.00415350
mov ecx, esi
call fcn.00414f30
jmp 0x41514e
cmp eax, 0x2a
je 0x415164
cmp eax, 0x2b
je 0x415164
cmp eax, 0x3f
je 0x415164
cmp eax, 0x7b
je 0x415164
cmp ecx, 0x7d
jne 0x415125
test dword [esi + 0x50], 0x10000000
je 0x415179
jmp 0x415133
cmp ecx, 0x5d
jne 0x415133
test dword [esi + 0x50], 0x10000000
je 0x415172
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004173c0
mov ecx, esi
call fcn.00414f30
mov ecx, esi
call fcn.00417260
mov ecx, dword [esi + 0x4c]
mov dl, 1
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x414f95
pop edi
pop esi
mov al, dl
pop ebx
ret
push 0xa
call fcn.00412480
push 5
call fcn.00412480
push 4
call fcn.00412480
push 6
call fcn.00412480
int3
Function at 0x41ab40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x42e07c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4325bc], 0
push ebx
mov bl, 1
jne 0x41ab7c
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
xor ecx, ecx
movzx ebx, bl
test eax, eax
mov dword [0x4325bc], eax
cmove ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41abc1
lea eax, [ebp - 0x204]
push str.FN_event_already_exist
push eax
call fcn.00401880
add esp, 8
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x423484
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [0x4325bc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0041ecc2
mov esp, ebp
pop ebp
ret
Function at 0x41de30
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422bf6
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x42e07c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x220], esi
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x21c], esi
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push str.FN_CSharedMemoryChannel_CTor
push eax
call fcn.00401880
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x218]
add esp, 8
push eax
call edi
push 0x423484
call edi
push str..pipe_
mov ecx, esi
call fcn.00401810
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.00402bd0
mov byte [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x41ded8
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00402f20
mov edx, dword [ebp - 0x228]
cmp edx, 8
jb 0x41df25
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41df1b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41df1b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041ed03
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41df2f
mov eax, dword [esi]
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x18], eax
cmp eax, 0xffffffff
je 0x41df76
push str.FN_CSharedMemoryChannel_created_successfully
lea eax, [ebp - 0x218]
push eax
call fcn.00401880
add esp, 8
lea eax, [ebp - 0x218]
push eax
call edi
push 0x423484
call edi
jmp 0x41dfc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x41df88
push str.FN_CSharedMemoryChannel_ERROR_FILE_NOT_FOUND
jmp 0x41df55
cmp eax, 0xe7
jne 0x41dfc9
push str.FN_CSharedMemoryChannel_ERROR_PIPE_BUSY
jmp 0x41df55
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041ecc2
mov esp, ebp
pop ebp
ret
Function at 0x41e0e0
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422c7b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x42e07c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x18], 0xffffffff
mov eax, dword [ebx + 8]
mov dword [ebp - 0x3c], eax
je 0x41e23a
push 0
push 0
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x41e268
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [eax + eax]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0xc]
push dword [ebp - 0x3c]
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne cl
mov byte [ebp - 0x35], cl
test eax, eax
jne 0x41e1bd
call esi
cmp eax, 0x3e5
jne 0x41e1f6
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, 0
je 0x41e1e1
sub eax, 1
je 0x41e296
mov cl, byte [ebp - 0x35]
test cl, cl
je 0x41e170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041ecc2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
jmp 0x41e1c1
call esi
cmp eax, 0xe8
je 0x41e20c
call esi
cmp eax, 0xe9
jne 0x41e2c4
push str.OperationInterrupted
lea ecx, [ebp - 0x54]
call fcn.00402d30
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x70]
call fcn.00401b80
push 0x42b38c
lea eax, [ebp - 0x70]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.CSharedMemoryChannelInvalidHandle
lea ecx, [ebp - 0x54]
call fcn.00402d30
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x70]
call fcn.00401b80
push 0x42b38c
lea eax, [ebp - 0x70]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Failed_to_create_connection
lea ecx, [ebp - 0x54]
call fcn.00402d30
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x70]
call fcn.00401b80
push 0x42b38c
lea eax, [ebp - 0x70]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.OperationInterrupted
lea ecx, [ebp - 0x54]
call fcn.00402d30
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x70]
call fcn.00401b80
push 0x42b38c
lea eax, [ebp - 0x70]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Connection_Closed
lea ecx, [ebp - 0x88]
call fcn.00402d30
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0xa4]
call fcn.00401b80
push 0x42b38c
lea eax, [ebp - 0xa4]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x41e300
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422cce
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x42e07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push str.FN_CSharedMemoryChannel_PostMessage
push eax
call fcn.00401880
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x423484
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [edi + 0x18], 0xffffffff
je 0x41e472
push 0xfffe00ff
mov ecx, edi
call fcn.0041e060
push 0x10000
mov ecx, edi
call fcn.0041e060
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, edi
call fcn.0041e060
push 1
mov ecx, edi
call fcn.0041e060
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp + 8]
call fcn.0041ae00
push dword [ebp - 0x218]
mov ecx, edi
call fcn.0041e060
cmp dword [ebp - 0x214], 0x10
lea eax, [ebp - 0x228]
push dword [ebp - 0x218]
cmovae eax, dword [ebp - 0x228]
mov ecx, edi
push eax
call fcn.0041e0e0
mov edx, dword [ebp - 0x214]
cmp edx, 0x10
jb 0x41e433
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e429
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41e429
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041ed03
add esp, 8
lea ecx, [ebp + 8]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
call fcn.0041ac60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ecc2
mov esp, ebp
pop ebp
ret 0x20
push str.CSharedMemoryChannelInvalidHandle
lea ecx, [ebp - 0x240]
call fcn.00402d30
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x25c]
call fcn.00401b80
push 0x42b38c
lea eax, [ebp - 0x25c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x41e810
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422dab
mov eax, dword fs:[0]
push eax
mov eax, 0x123c
call fcn.0041fd70
mov eax, dword [0x42e07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x210]
push str.FN_CSharedMemoryChannel_GetMessage
push eax
call fcn.00401880
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x423484
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, edi
call fcn.0041e4b0
cmp eax, 0xfffe00ff
jne 0x41e8cc
mov ecx, edi
call fcn.0041e4b0
mov ecx, edi
call fcn.0041e4b0
mov ecx, edi
call fcn.0041e4b0
mov ecx, edi
call fcn.0041e4b0
lea edx, [eax - 1]
cmp edx, 0xffe
ja 0x41e8b2
push eax
lea eax, [ebp - 0x1210]
mov ecx, edi
push eax
call fcn.0041e540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ecc2
mov esp, ebp
pop ebp
ret
push str.Invalid_Message_Header
lea ecx, [ebp - 0x1228]
call fcn.00402d30
lea eax, [ebp - 0x1228]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x1244]
call fcn.00401b80
push 0x42b38c
lea eax, [ebp - 0x1244]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x422348
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x4223aa
call fcn.004222f8
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0041cff0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0041cff0
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x422428
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x43284c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x422502
cmp dword [0x432848], 0
jne 0x422502
cmp dword [0x432a2c], 0
je 0x4224bc
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.004221f8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4224a2
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004221f8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4224a2
lea ebx, [ebp - 0x84]
jmp 0x4224a3
inc ebx
call fcn.004223e4
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x42253d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x432850
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0041cff0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x432853
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x42253d
cmp dword [0x432848], 0
je 0x42251c
cmp dword [0x432848], 0xffffffff
je 0x42253d
push esi
call dword [0x432848]
pop ecx
mov eax, dword [0x43284c]
test eax, eax
je 0x42253d
cmp dword [0x43284c], 0xffffffff
je 0x42253d
cmp byte [eax], 0
je 0x42253d
push esi
push eax
call fcn.00422348
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422cd4
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x435640], 0
jne 0x422d55
cmp dword [0x435660], 0
jne 0x422d04
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x435660], eax
test eax, eax
jne 0x422d04
push str.GetEnvironmentStrings_failed
call fcn.00422554
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x435660]
jmp 0x422d18
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0041cff0
pop ecx
mov edi, eax
test eax, eax
jne 0x422d10
lea edi, [ebp + 1]
push edi
call fcn.0041c8f4
pop ecx
mov ebx, eax
mov dword [0x435644], ebx
test ebx, ebx
jne 0x422d42
xor eax, eax
jmp 0x422e18
push edi
mov edx, dword [0x435660]
push edx
push ebx
call fcn.0041cea0
add esp, 0xc
jmp 0x422d75
xor esi, esi
mov ebx, dword [0x435640]
jmp 0x422d6f
push eax
call fcn.0041cff0
pop ecx
test eax, eax
jne 0x422d6b
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x422d5f
lea ebx, [esi + 4]
push 4
mov dword [0x435648], ebx
inc ebx
push ebx
call fcn.0041c3cc
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x422d98
xor eax, eax
jmp 0x422e18
cmp dword [0x435640], 0
jne 0x422dc9
xor esi, esi
mov ebx, dword [0x435644]
mov eax, dword [esp]
mov ebp, eax
jmp 0x422dba
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0041cff0
pop ecx
mov edi, eax
test eax, eax
jne 0x422db0
jmp 0x422dfa
xor esi, esi
mov ebx, dword [0x435640]
mov eax, dword [esp]
mov edi, eax
jmp 0x422df4
push eax
call fcn.0041cff0
pop ecx
test eax, eax
je 0x422de9
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x422ded
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x422dd8
mov eax, dword [0x435640]
test eax, eax
je 0x422e0a
push eax
call fcn.0041c904
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x435640], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x100012b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x100012cf
push 0
push 0
push dword [ebp + 8]
push 0x10001060
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
pop ebp
ret 0xc