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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042a110
xor ebx, ebx
cmp dword [0x455a08], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x432d40
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x432cab
xor eax, eax
jmp 0x432e04
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x445784
push edi
call esi
cmp eax, ebx
je 0x432ca4
push eax
call fcn.0042a0ad
mov dword [esp], 0x445774
push edi
mov dword [0x455a08], eax
call esi
push eax
call fcn.0042a0ad
mov dword [esp], 0x445760
push edi
mov dword [0x455a0c], eax
call esi
push eax
call fcn.0042a0ad
mov dword [0x455a10], eax
lea eax, [ebp - 8]
push eax
call fcn.00428215
test eax, eax
pop ecx
pop ecx
je 0x432d0e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042a5ea
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x432d40
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042a0ad
cmp eax, ebx
pop ecx
mov dword [0x455a18], eax
je 0x432d40
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042a0ad
pop ecx
mov dword [0x455a14], eax
mov eax, dword [0x455a14]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x432db9
cmp dword [0x455a18], esi
je 0x432db9
push eax
call fcn.0042a119
pop ecx
call eax
cmp eax, ebx
je 0x432d86
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x455a18]
call fcn.0042a119
pop ecx
call eax
test eax, eax
je 0x432d86
test byte [ebp - 0x18], 1
jne 0x432db9
lea eax, [ebp - 0xc]
push eax
call fcn.0042824c
test eax, eax
pop ecx
je 0x432da1
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042a5ea
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x432db0
or dword [ebp + 0x10], 0x200000
jmp 0x432dea
or dword [ebp + 0x10], 0x40000
jmp 0x432dea
mov eax, dword [0x455a0c]
cmp eax, esi
je 0x432dea
push eax
call fcn.0042a119
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x432dea
mov eax, dword [0x455a10]
cmp eax, esi
je 0x432dea
push dword [ebp - 4]
push eax
call fcn.0042a119
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x455a08]
call fcn.0042a119
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x438d6e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x451540]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00438d03
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00426220
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x438dbd
cmp dword [ebp - 0x1c], 5
jb 0x438dd5
jmp 0x438dd1
cmp dword [ebp - 0x10], 1
jne 0x438dd5
cmp dword [ebp - 0x1c], 4
ja 0x438dd1
jne 0x438dd5
cmp dword [ebp - 0x18], 0
jbe 0x438dd5
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4460b0
call fcn.00438bf4
test eax, eax
jge 0x438df6
mov byte [0x455dfc], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042485a
add ebp, 0x78
leave
ret
Function at 0x43a240
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x43e2a1
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x451540]
xor eax, esp
mov dword [esp + 0x194], eax
push ebx
push ebp
push esi
mov eax, dword [0x451540]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 0x66
mov ecx, edi
mov dword [esp + 0x18], edi
call fcn.0040df3f
lea esi, [edi + 0x74]
mov dword [esp + 0x1b0], ebx
mov ecx, esi
mov dword [edi], vtable.CJFPlayerDlg.0
call fcn.0040b21d
push ebx
mov byte [esi + 0xf0], bl
mov dword [esi], vtable.MyIEControl.0
call dword [sym.imp.ole32.dll_CoInitialize]
lea esi, [edi + 0x170]
mov ecx, esi
mov byte [esp + 0x1b0], 1
call fcn.00403776
mov dword [esi], vtable.CColorButton.0
mov dword [esi + 0x5c], ebx
mov ebp, vtable.CBitmap.0
mov dword [esi + 0x58], ebp
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], ebp
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x68], ebp
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebp
mov byte [esi + 0x54], bl
mov byte [esi + 0x55], bl
lea esi, [edi + 0x1e8]
mov ecx, esi
mov byte [esp + 0x1b0], 2
call fcn.00403776
mov dword [esi], vtable.CColorButton.0
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x58], ebp
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], ebp
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x68], ebp
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebp
mov byte [esi + 0x54], bl
mov byte [esi + 0x55], bl
lea esi, [edi + 0x260]
mov ecx, esi
mov byte [esp + 0x1b0], 3
call fcn.00403776
mov dword [esi], vtable.CColorButton.0
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x58], ebp
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], ebp
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x68], ebp
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebp
mov byte [esi + 0x54], bl
mov byte [esi + 0x55], bl
mov byte [esp + 0x1b0], 4
call fcn.00409aba
call fcn.00409aba
mov eax, dword [eax + 0xc]
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x83
push eax
call esi
lea eax, [esp + 0x14]
push eax
push 2
call sub.WS2_32.dll_WSAStartup
call fcn.00409aba
call fcn.00409aba
mov eax, dword [eax + 0xc]
push 0x83
push eax
call esi
push eax
mov byte [edi + 0x168], bl
mov dword [edi + 0x2d8], ebx
call fcn.00439300
mov eax, edi
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0042485a
add esp, 0x1a4
ret
Function at 0x43a9a0
Capabilities:
Accept command line arguments
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43e2dc
mov eax, dword fs:[0]
push eax
sub esp, 0x6f4
mov eax, dword [0x451540]
xor eax, esp
mov dword [esp + 0x6ec], eax
push esi
push edi
mov eax, dword [0x451540]
xor eax, esp
push eax
lea eax, [esp + 0x700]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov esi, ecx
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.0040ca1d
push 0
call fcn.0040d776
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push str._encode728394
push eax
call fcn.00424d20
add esp, 8
test eax, eax
je 0x43ab93
push 0x1ff
lea ecx, [esp + 0x4f9]
push 0
push ecx
mov byte [esp + 0x500], 0
call fcn.00426220
add esp, 0xc
push 0x200
lea edx, [esp + 0x4f8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [esp + 0x4f4], 0
je 0x43ab8c
lea eax, [esp + 0x4f4]
push 0x5c
push eax
call fcn.00424db0
add esp, 8
test eax, eax
je 0x43ab8c
mov byte [eax], 0
add eax, 0xffffffff
jmp 0x43aa90
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x43aa90
mov ecx, dword [str.main.ini]
mov dword [eax], ecx
mov edx, dword [0x4463ac]
mov dword [eax + 4], edx
mov cx, word [0x4463b0]
push 0x1ff
lea edx, [esp + 0x2f9]
push 0
mov word [eax + 8], cx
push edx
mov byte [esp + 0x300], 0
call fcn.00426220
add esp, 0xc
lea eax, [esp + 0x4f4]
push eax
push 0x1ff
lea ecx, [esp + 0x2fc]
push ecx
push 0x4462b7
push 0x4463b4
push 0x4463b8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x2f4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43ab10
sub eax, edx
mov esi, eax
xor ecx, ecx
test esi, esi
jle 0x43ab6c
test cl, 3
jne 0x43ab32
add byte [esp + ecx + 0x2f4], 3
jmp 0x43ab65
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
mov eax, ecx
sub eax, edx
jne 0x43ab4e
add byte [esp + ecx + 0x2f4], 1
jmp 0x43ab65
test cl, 1
jne 0x43ab5d
add byte [esp + ecx + 0x2f4], 0xff
jmp 0x43ab65
add byte [esp + ecx + 0x2f4], 2
add ecx, 1
cmp ecx, esi
jl 0x43ab23
lea ecx, [esp + 0x4f4]
push ecx
lea edx, [esp + 0x2f8]
push edx
push 0x4463c0
push str.SETUP
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, 1
jmp 0x43abfd
push 0x4463cc
mov ecx, esi
call fcn.0040dceb
push str.JFPlayer1.01
push 0x80
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
je 0x43abfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x43abfb
lea edi, [esp + 0x14]
call fcn.0043a240
mov eax, edi
mov dword [esp + 0x708], 0
mov ecx, edi
mov dword [esi + 0x20], eax
call fcn.0040e60e
mov ecx, edi
push ecx
mov dword [esp + 0x70c], 0xffffffff
call fcn.0043a020
xor eax, eax
mov ecx, dword [esp + 0x700]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x6ec]
xor ecx, esp
call fcn.0042485a
mov esp, ebp
pop ebp
ret
Function at 0x43c490
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [eax + 0x1000], 0
je 0x43c4eb
cmp dword [eax + 0x108c], 0
je 0x43c4eb
mov ecx, dword [eax + 0x1098]
cmp ecx, 5
je 0x43c4eb
mov edx, dword [eax + 0x108c]
lea ecx, [esp]
push ecx
push 0
push eax
push 0x43c480
push 0
mov dword [eax + 0x1090], edx
mov dword [eax + 0x1070], 0
push 0
mov dword [eax + 0x1098], 5
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x750a475a
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x569a0c93
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x1000167c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1001d908
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1002a034]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x214]
lea eax, [ebp]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x10001768
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003356
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.100033b4
push 0x104
push eax
push dword [ebp + 0x218]
push edi
call fcn.1001c3a1
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x1000173e
call fcn.100037d1
jmp 0x1000173e
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10004926
add ebp, 0x20c
leave
ret
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.10003d44
pop ecx
pop ecx
push ebx
push esi
call fcn.1001c3a1
int3

Function at 0x1000177d
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1001d938
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1002a034]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x214]
lea eax, [ebp]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x23
push ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x10001869
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003356
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.100033b4
push 0x104
push eax
push dword [ebp + 0x218]
push edi
call fcn.1001c3a1
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x1000183f
call fcn.100037d1
jmp 0x1000183f
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10004926
add ebp, 0x20c
leave
ret
push esi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.10003d44
pop ecx
pop ecx
push ebx
push esi
call fcn.1001c3a1
int3
Function at 0x100019e1
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x1001d960
call fcn.10004980
mov ebx, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
mov esi, edi
mov dword [ebp - 0x14], esi
mov word [ebx], ax
call fcn.100018f8
test eax, eax
je 0x10001a12
call fcn.100018ea
mov esi, eax
mov dword [ebp - 0x14], eax
push 0x104
push ebx
push esi
push edi
push 0x10021c18
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
test esi, esi
js 0x10001b28
jmp 0x10001a62
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10001a70
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
test esi, esi
jns 0x10001b20
push ebx
push edi
push edi
push 0x1a
push edi
mov dword [ebp - 4], 2
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x10001ad1
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x10001b2e
or dword [ebp - 4], 0xffffffff
test esi, esi
jns 0x10001b20
push 1
push 0x1a
push ebx
push edi
mov dword [ebp - 4], 4
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
test esi, esi
jns 0x10001b20
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x10001b2e
mov eax, esi
call fcn.10004937
ret
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.10003d44
pop ecx
pop ecx
push edi
push esi
call fcn.1001c3a1
int3

Function at 0x10002445
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x10002469
push dword [esp + 0xc]
push dword [esp + 0xc]
push str.USER_JPI_PROFILE
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
xor ecx, ecx
inc ecx
test eax, eax
cmovne esi, ecx
mov eax, esi
pop esi
ret
Function at 0x100030b4
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x1001d9bb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1002a034]
xor eax, ebp
mov dword [ebp + 0x104], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1001ec0c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1001c3a1
add esp, 0xc
test eax, eax
jne 0x100031a9
push dword [ebp - 0x18]
call fcn.1001c3a1
cmp dword [0x1002aa80], 0
pop ecx
je 0x10003122
xor eax, eax
inc eax
jmp 0x100031ab
lea eax, [ebp]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.kernel32.dll_GetTempPathA]
cmp eax, esi
ja 0x100031a9
test eax, eax
je 0x100031a9
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000330b
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push str.JavaDeployReg.log
call fcn.1000330b
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.100033d2
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x10003177
call fcn.100037d1
push 0x1001ec38
lea ecx, [ebp - 0x10]
call fcn.100033b4
push eax
push 0x1002aa80
call fcn.1001c3a1
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
test ecx, ecx
je 0x100031a4
call fcn.100037d1
lea eax, [esi + 1]
jmp 0x100031ab
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.10004926
add ebp, 0x108
leave
ret

Function at 0x10003656
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x1002a034]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x124]
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push ebx
push dword [edi]
call fcn.1001c3a1
mov esi, eax
test esi, esi
jne 0x10003705
lea eax, [esp + 0x20]
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x100036e0
lea eax, [esp + 0x28]
push eax
call fcn.10003656
mov esi, eax
test esi, esi
jne 0x10003705
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x30]
mov dword [esp + 0x30], pe_nt_image_headers32
call ebp
lea ecx, [esp + 0x14]
test eax, eax
je 0x100036bb
call fcn.1000342b
push ebx
mov ecx, edi
call fcn.10003445
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.1000342b
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10004926
add esp, 0x11c
ret 4
Function at 0x10003bc2
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x824
mov eax, dword [0x1002a034]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
push ebp
mov ebp, dword [esp + 0x830]
lea eax, [esp + 0x428]
push esi
mov esi, dword [esp + 0x838]
xor ebx, ebx
push edi
mov edi, 0x400
push edi
push ebx
push eax
call fcn.10005d80
push esi
push ebx
push ebp
push 0xffffffffffffffff
lea eax, [esp + 0x44c]
push edi
push eax
call fcn.1001c3a1
movzx ecx, byte [esp + 0x853]
lea edi, [esp + 0x34]
xor edx, edx
test eax, eax
push 8
cmovs ecx, edx
xor eax, eax
mov byte [esp + 0x857], cl
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.1001c3a1
push 0x10021be8
lea eax, [esp + 0x40]
push 0x20
push eax
call fcn.1001c3a1
push 0x400
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.10005d80
mov ecx, ebp
add esp, 0x44
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003c67
sub ecx, edx
cmp ecx, 6
jbe 0x10003c8e
lea eax, [ebp - 6]
add eax, ecx
push str.__08x_
push eax
call fcn.1001c3a1
pop ecx
pop ecx
test eax, eax
jne 0x10003c8e
xor ebx, ebx
inc ebx
lea esi, [esp + 0x10]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10003c95
sub esi, ecx
lea eax, [esp + 0x430]
push eax
mov ecx, 0x10020533
test ebx, ebx
mov eax, str.Error:
cmove eax, ecx
push eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
push str.P:_04d_T:_04d__s_s
mov eax, 0x3ff
sub eax, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x4c]
add eax, esi
push eax
call fcn.1001c3a1
mov ecx, dword [esp + 0x44b]
test eax, eax
push esi
lea eax, [esp + 0x34]
mov edx, 0x2e2e2e
push eax
lea eax, [esp + 0x58]
cmovs ecx, edx
push eax
mov dword [esp + 0x457], ecx
call fcn.10005800
lea edi, [esp + 0x5c]
add esp, 0x2c
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10003d0f
mov ax, word [0x10021c14]
mov word [edi], ax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x830]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10004926
add esp, 0x824
ret
Function at 0x1001c3a1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1001c3b0
pop dword [ebp - 0x20]
mov eax, 0x1001c3b0
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xe47ac947
sub dword [ebp - 0x30], 0x962883fc
mov dword [ebp - 0x2c], 0x62123f5
sub dword [ebp - 0x2c], 0xd3edd7b0
mov dword [ebp - 0x28], 0x53d9deb2
sub dword [ebp - 0x28], 0x78d9a84
mov dword [ebp - 0x24], 0x6fe6870d
sub dword [ebp - 0x24], 0x6fe6870d
lea eax, [ebp - 0x30]
push eax
mov eax, 0xc8d1d2e6
sub eax, 0xb8cff266
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x9ee4a0eb
sub dword [ebp - 0x30], 0x2a723795
mov dword [ebp - 0x2c], 0xc85c73d2
add dword [ebp - 0x2c], 0x790feda3
mov dword [ebp - 0x28], 0x2eb9b2b2
add dword [ebp - 0x28], 0x34b5b9ba
mov dword [ebp - 0x24], 0xb612f02a
add dword [ebp - 0x24], 0x49ed0fd6
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x7ba392e
add eax, 0x847a756
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3e16d
push 0
call eax
mov ecx, 0x4aea
mov edx, eax
mov ebx, 0x10035800
add ebx, dword [ebp - 0x20]
mov edi, 0x7a6c287d
xor dword [ebp - 0x1c], 0x4b564364
mov esi, dword [ebx]
add dword [ebp - 0x1c], ecx
sub esi, edi
mov dword [edx], esi
sub dword [ebp - 0x14], edx
add edx, 0xd5eddbbd
add edx, 0x2a122447
add ebx, 0x93fb3c5e
add ebx, 0x6c04c3a6
loop 0x1001c4bb
add eax, 0xf897162d
sub eax, 0xf895f7b2
xor ebx, ebx
add ebx, eax
add eax, 0xa75a7ed0
add eax, 0x58a58135
mov ecx, 0xeb35e527
add ecx, 0x24ca1ad9
add ecx, dword [ebp - 0x20]
call ebx
leave
ret