joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10023b9e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x738
mov eax, dword [0x1003c190]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.100257dd
cmp byte [eax], 0
jne 0x10023d5c
call fcn.100257dd
test al, al
jne 0x10023d5c
cmp word [0x1003e5ec], 0
jne 0x10023d07
xor esi, esi
push esi
push esi
push esi
push esi
call fcn.10022f72
add esp, 0x10
test eax, eax
je 0x10023c07
xor edi, edi
inc edi
mov word [0x1003e5f0], di
mov ax, di
mov word [0x1003e5ec], di
jmp 0x10023da3
lea eax, [ebp - 0x738]
push eax
push esi
push esi
call fcn.100257dd
xor edi, edi
add esp, 0xc
inc edi
test eax, eax
jne 0x10023c32
mov eax, dword [ebp - 0x738]
shr eax, 0x10
cmp ax, 0xa
jae 0x10023d00
push ebx
mov ebx, 0x1cc
lea eax, [ebp - 0x39c]
push ebx
push eax
push esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
cmp eax, ebx
jae 0x10023cff
push ebx
lea eax, [ebp - 0x734]
push eax
lea eax, [ebp - 0x39c]
push eax
call dword [sym.imp.kernel32.dll_GetLongPathNameW]
cmp eax, ebx
jae 0x10023cff
lea eax, [ebp - 0x734]
push 0x5c
push eax
call sub.VCRUNTIME140.dll_wcsrchr
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10023cf7
push str.FormDesigner.exe
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x10023cee
push str.Contribute.exe
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x10023cee
push str.ContributeD.exe
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x10023cee
push str.ContributeIBE.exe
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x10023cee
push str.ContributeIBED.exe
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x10023cee
push str.QBW32.exe
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x10023cf7
mov word [0x1003e5f0], di
jmp 0x10023cff
xor eax, eax
mov word [0x1003e5f0], ax
pop ebx
mov word [0x1003e5ec], di
cmp byte [0x1003cdfb], 0
jne 0x10023d19
cmp byte [0x1003cdfa], 0
je 0x10023d54
movzx eax, word [0x1003e5f0]
mov esi, 0x1003e1a8
push eax
push str._ACTWinBrowser__ACTIsUsingOutOfProcHack_return___d
push esi
call fcn.100257dd
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10023d44
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10023d54
push esi
call fcn.10005eb0
pop ecx
mov ax, word [0x1003e5f0]
jmp 0x10023da3
cmp byte [0x1003cdfb], 0
jne 0x10023d6e
cmp byte [0x1003cdfa], 0
je 0x10023da0
push str._ACTWinBrowser__ACTIsUsingOutOfProcHack_true_EPM_outOfProc_or_App_hack
mov esi, 0x1003e1a8
push esi
call fcn.100257dd
cmp byte [0x1003cdfa], 0
pop ecx
pop ecx
je 0x10023d90
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10023da0
push esi
call fcn.10005eb0
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1002aaa0
leave
ret
Function at 0x10024d6f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp byte [0x1003e5c8], 0
jne 0x10024def
push esi
lea eax, [ebp - 4]
mov byte [0x1003e5c8], 1
push eax
push 1
xor esi, esi
push esi
push dword [0x1003c174]
mov dword [ebp - 4], esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10024dee
push edi
push 4
pop edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], esi
push eax
push esi
push dword [0x1003c178]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10024de4
cmp dword [ebp - 8], edi
jne 0x10024de4
cmp dword [ebp - 0xc], 1
sete byte [0x1003e5c9]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, byte [0x1003e5c9]
leave
ret

Function at 0x100252bb
Capabilities:
Print debug messages

Disassembly:
push esi
push str.sftldr.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
jne 0x10025339
push str.sftldr_wow64.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
jne 0x10025339
push ebx
push str.AppVEntSubsystems32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
setne bl
cmp byte [0x1003cdfb], 0
jne 0x100252fd
cmp byte [0x1003cdfa], 0
je 0x10025334
movzx eax, bl
mov esi, 0x1003e1a8
push eax
push str._ACTWinBrowser__IsRunningInAppV_isAppV5___d
push esi
call fcn.100257dd
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10025324
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10025334
push esi
call fcn.10005eb0
pop ecx
mov al, bl
pop ebx
pop esi
ret
cmp byte [0x1003cdfb], 0
jne 0x1002534b
cmp byte [0x1003cdfa], 0
je 0x1002537d
push str._ACTWinBrowser__IsRunningInAppV_isAppV4OrEarlier
mov esi, 0x1003e1a8
push esi
call fcn.100257dd
cmp byte [0x1003cdfa], 0
pop ecx
pop ecx
je 0x1002536d
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1002537d
push esi
call fcn.10005eb0
pop ecx
mov al, 1
pop esi
ret
Function at 0x100257dd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x100257ec
pop dword [ebp - 0x14]
mov eax, 0x38341230
add eax, 0xd7ce45bc
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x8ece18f4
add dword [ebp - 0x24], 0xbf842c57
mov dword [ebp - 0x20], 0x5445aa7
sub dword [ebp - 0x20], 0xd3110e62
mov dword [ebp - 0x1c], 0x6d3d757d
add dword [ebp - 0x1c], 0xdf0eceb1
mov dword [ebp - 0x18], 0xb56266b0
add dword [ebp - 0x18], 0x4a9d9950
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xa727e0ae
add dword [ebp - 0x24], 0xcd4a88a8
mov dword [ebp - 0x20], 0x78fe58af
add dword [ebp - 0x20], 0xc86e08c6
mov dword [ebp - 0x1c], 0x19b70f3d
add dword [ebp - 0x1c], 0x49b85d2f
mov dword [ebp - 0x18], 0x477298aa
add dword [ebp - 0x18], 0xb88d6756
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x1b5433b4
sub eax, 0xb5142c8
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x47354
push 0
call eax
mov ecx, 0x29a17c0f
add ecx, 0xd65ed55c
mov edi, eax
mov edx, 0x10046400
add edx, dword [ebp - 0x14]
mov esi, 0xbf539acb
add esi, 0xaaa27a1f
sub dword [ebp - 8], 0xd3be065e
mov ebx, dword [edx]
add dword [ebp - 4], eax
add ebx, esi
add dword [ebp - 0x10], 0x8296ff56
mov dword [edi], ebx
xor dword [ebp - 0xc], 0x93c4b052
add edi, 4
add edx, 0x99f83294
add edx, 0x6607cd70
loop 0x10025903
add eax, 0xe25b2594
sub eax, 0xe259ed15
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x10027363
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x1003e5d4], 0
push esi
jne 0x100273fc
lea eax, [ebp - 4]
xor esi, esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
mov dword [ebp - 0xc], esi
call fcn.100257dd
add esp, 0xc
test eax, eax
jne 0x100273f5
mov eax, dword [ebp - 4]
shr eax, 0x10
cmp ax, 0xf
jb 0x100273f5
cmp dword [ebp - 8], esi
je 0x100273f5
push esi
push esi
push str.bOpenOutOfProcForAppV
call fcn.100257dd
add esp, 0xc
test eax, eax
je 0x100273d7
call fcn.100252bb
test al, al
je 0x100273d7
mov byte [0x1003e5d3], 1
mov byte [0x1003e5d8], 1
jmp 0x100273f5
push 1
push 0x1003e5d7
push 0x1003e5d6
push 0x1003e5d5
call fcn.100257dd
add esp, 0x10
mov byte [0x1003e5d3], al
mov byte [0x1003e5d4], 1
cmp byte [0x1003cdfb], 0
jne 0x1002740e
cmp byte [0x1003cdfa], 0
je 0x10027469
movzx eax, byte [0x1003e5d8]
mov esi, 0x1003e1a8
push eax
movzx eax, byte [0x1003e5d7]
push eax
movzx eax, byte [0x1003e5d6]
push eax
movzx eax, byte [0x1003e5d5]
push eax
movzx eax, byte [0x1003e5d3]
push eax
push str._ACTWinBrowser__UseOutOfProcForIE_EPM_useOutOfProc___d_PMEM___d_Isolation64bit___d_isForceEPM___d__isInAppV___d
push esi
call fcn.100257dd
add esp, 0x1c
cmp byte [0x1003cdfa], 0
je 0x10027459
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10027469
push esi
call fcn.10005eb0
pop ecx
mov eax, 0x1003e5d3
pop esi
leave
ret
Function at 0x10028be1
Capabilities:
Print debug messages

Disassembly:
push esi
push 8
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x10028bfe
push 8
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [0x1003cdfb], 0
jne 0x10028c14
cmp byte [0x1003cdfa], 0
je 0x10028d53
push edi
push 0x64
push str.sizeof__t_ASMBlock____d
mov edi, 0x1003e5f8
push edi
call fcn.100257dd
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028c3a
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028c53
push edi
call fcn.10005eb0
cmp byte [0x1003cdfb], 0
pop ecx
jne 0x10028c5c
cmp byte [0x1003cdfa], 0
je 0x10028c7c
push 4
push str.sizeof_Uns32____d
push edi
call fcn.100257dd
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028c7c
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028c95
push edi
call fcn.10005eb0
cmp byte [0x1003cdfb], 0
pop ecx
jne 0x10028c9e
cmp byte [0x1003cdfa], 0
je 0x10028cbe
push 4
push str.sizeof_HANDLE____d
push edi
call fcn.100257dd
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028cbe
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028cd7
push edi
call fcn.10005eb0
cmp byte [0x1003cdfb], 0
pop ecx
jne 0x10028ce0
cmp byte [0x1003cdfa], 0
je 0x10028d00
push 4
push str.sizeof_Handle32____d
push edi
call fcn.100257dd
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028d00
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028d19
push edi
call fcn.10005eb0
cmp byte [0x1003cdfb], 0
pop ecx
jne 0x10028d22
cmp byte [0x1003cdfa], 0
je 0x10028d42
push 4
push str.sizeof_void____d
push edi
call fcn.100257dd
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028d42
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028d52
push edi
call fcn.10005eb0
pop ecx
pop edi
mov eax, esi
pop esi
ret

Function at 0x10028dec
Capabilities:
Print debug messages

Disassembly:
push 0x1c
mov eax, 0x1002e03a
call fcn.1002b09b
cmp byte [0x1003cdfb], 0
mov ebx, 0x1003e5f8
mov edi, dword [ebp + 8]
jne 0x10028e17
mov al, byte [0x1003cdfa]
test al, al
jne 0x10028e17
lea esi, [edi + 4]
jmp 0x10028e2e
lea esi, [edi + 4]
push esi
push str.ASM_Release__s
push ebx
call fcn.100257dd
mov al, byte [0x1003cdfa]
add esp, 0xc
test al, al
je 0x10028e39
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028e49
push ebx
call fcn.10005eb0
pop ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.100257dd
push dword [edi + 0x48]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100028d9
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10028e7c
mov ecx, dword [ebx]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x1002f5c0]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x28]
call fcn.100031be
and dword [edi + 0x4c], 0
and dword [edi + 0x44], 0
call fcn.1002b045
ret
Function at 0x10028e92
Capabilities:
Print debug messages

Disassembly:
push 0x24
mov eax, 0x1002e067
call fcn.1002b09b
cmp byte [0x1003cdfb], 0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
jne 0x10028ebf
cmp byte [0x1003cdfa], 0
je 0x10028f0e
call fcn.100257dd
test al, al
mov edx, 0x1002fb8c
mov ecx, str._in_AppContaner
cmove ecx, edx
push ecx
push str.ASM_Retrieve_retrieving_shared_memory_in_Plug_in_s
push 0x1003e5f8
call fcn.100257dd
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028efa
push 0x1003e5f8
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028f0e
push 0x1003e5f8
call fcn.10005eb0
pop ecx
and dword [esi], 0
lea eax, [edi + 4]
and dword [ebx], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.100257dd
push dword [edi + 0x48]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100028d9
or dword [ebp - 4], 0xffffffff
mov ebx, eax
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.100031be
test ebx, ebx
jne 0x10028f8c
cmp byte [0x1003cdfb], bl
jne 0x10028f58
cmp byte [0x1003cdfa], bl
je 0x10029000
push str.ASM_Retrieve_ERROR__finding_memory_mapped_file_
mov ebx, 0x1003e5f8
push ebx
call fcn.100257dd
cmp byte [0x1003cdfa], 0
pop ecx
pop ecx
je 0x10028f7a
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10029000
push ebx
call fcn.10005eb0
pop ecx
jmp 0x10029000
mov eax, dword [ebx]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x1002f5c0]
mov ecx, ebx
call esi
mov dword [edi + 0x44], eax
test eax, eax
jne 0x10028fbb
cmp byte [0x1003cdfb], al
jne 0x10028fb4
cmp byte [0x1003cdfa], al
je 0x10029000
push str.ASM_Retrieve_ERROR__getting_memory_mapped_file_handle_
jmp 0x10028f5d
mov eax, dword [ebx]
push dword [edi + 0x48]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1002f5c0]
mov ecx, ebx
call esi
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x10028ff0
cmp byte [0x1003cdfb], al
jne 0x10028fe6
cmp byte [0x1003cdfa], al
je 0x10029000
push str.ASM_Retrieve_ERROR__mapping_for_writing_
jmp 0x10028f5d
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x48]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 0x4c]
mov dword [ecx], eax
call fcn.1002b045
ret
Function at 0x429970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x42997f
pop dword [ebp - 0x40]
mov eax, 0xfbc42494
sub eax, 0xfb818b15
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xf09ae85f
sub dword [ebp - 0x50], 0xa248a314
mov dword [ebp - 0x4c], 0x764f85ab
add dword [ebp - 0x4c], 0xbbe3c69a
mov dword [ebp - 0x48], 0x8658a2b9
add dword [ebp - 0x48], 0xc5f3a175
mov dword [ebp - 0x44], 0xf71ffbca
add dword [ebp - 0x44], 0x8e00436
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xa6bed8df
sub dword [ebp - 0x50], 0x324c6f89
mov dword [ebp - 0x4c], 0x959d1622
sub dword [ebp - 0x4c], 0x5430b4ad
mov dword [ebp - 0x48], 0x8b789b6a
add dword [ebp - 0x48], 0xd7f6d102
mov dword [ebp - 0x44], 0x7dda755e
add dword [ebp - 0x44], 0x82258aa2
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x546e0
push 0
call eax
mov ecx, 0x6a8eff73
sub ecx, 0x6a8e9b20
xor edi, edi
add edi, eax
mov ebx, 0x476000
add ebx, dword [ebp - 0x40]
mov esi, 0x977edc36
add esi, 0x4c151731
add dword [ebp - 0x30], 0xe85db96e
mov edx, dword [ebx]
mov dword [ebp - 0x3c], 0x77e4cde4
sub edx, esi
sub dword [ebp - 0x10], esi
mov dword [edi], edx
xor dword [ebp - 0x34], ebx
add edi, 4
add ebx, 4
loop 0x429a93
add eax, 0x9461fdb0
add eax, 0x6b9f866f
mov ebx, eax
add eax, 0x428e5a22
sub eax, 0x428e5a1d
mov ecx, 0xe69e45d4
sub ecx, 0xe65e45d4
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x100045cd
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push eax
push ecx
push edx
push edi
push esi
cmp dword [ebx + 0x45363f], 1
jne 0x100045ea
pop esi
pop edi
pop edx
pop ecx
pop eax
leave
ret 4
mov edi, dword [ebx + 0x453055]
mov eax, dword [edi + 0x3c]
mov edi, dword [eax + edi + 0x28]
mov dword [ebp - 4], esi
mov esi, dword [ebx + 0x4531c8]
add esi, edi
push esi
mov esi, dword [ebp - 4]
pop edi
mov edx, edi
mov edi, dword [ebx + 0x4531c8]
mov eax, dword [edi + 0x3c]
mov edi, dword [eax + edi + 0x28]
push ecx
mov ecx, dword [ebx + 0x4531c8]
push edi
pop dword [ebp - 4]
add dword [ebp - 4], ecx
push dword [ebp - 4]
pop edi
pop ecx
mov eax, edi
mov esi, dword fs:[0x30]
mov esi, dword [esi + 0xc]
mov ecx, dword [esi + 0xc]
mov edi, dword [ecx + 0x1c]
cmp eax, edi
jne 0x1000464b
mov dword [ecx + 0x1c], edx
pop esi
pop edi
pop edx
pop ecx
pop eax
leave
ret 4
cmp edx, edi
jne 0x10004658
pop esi
pop edi
pop edx
pop ecx
pop eax
leave
ret 4
mov ecx, dword [ecx + 4]
jne 0x10004638
push eax
mov dword [esp], 1
pop dword [ebx + 0x45363f]
pop esi
pop edi
pop edx
pop ecx
pop eax
leave
ret 4
Function at 0x10006050
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10003f70
push 0x10015182
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1000135c
push 0x10001350
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x100061a5
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp byte [edi], 0x5c
jne 0x1000610c
lea eax, [edi + 1]
cmp byte [eax], 0x5c
jne 0x1000610c
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x100060ea
cmp al, 0x5c
je 0x100060ea
push esi
call dword [ebp - 0x28]
mov esi, eax
jmp 0x100060d5
cmp byte [esi], 0
je 0x100060f3
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x10006105
cmp al, 0x5c
je 0x10006105
push esi
call dword [ebp - 0x28]
mov esi, eax
jmp 0x100060f0
cmp byte [esi], 0
je 0x1000612b
jmp 0x10006127
lea eax, [edi + 1]
cmp byte [eax], 0x3a
jne 0x1000612b
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x1000612b
cmp al, 0x5c
jne 0x1000612b
inc esi
mov dword [ebp - 0x1c], esi
or ebx, 0xffffffff
mov al, byte [esi]
test al, al
je 0x10006185
cmp al, 0x5c
jne 0x1000617a
and byte [esi], 0
push edi
call fcn.10005e63
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x10006163
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10006177
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jmp 0x10006168
and eax, 0x10
cmp al, 0x10
je 0x10006177
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov dword [ebp - 4], ebx
jmp 0x100061a9
mov byte [esi], 0x5c
push esi
call dword [ebp - 0x28]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x1000612e
mov dword [ebp - 4], ebx
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov al, 1
jmp 0x100061ab
or dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100061f5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
push ebx
push esi
push edi
push 0x100013b4
push 0x100013a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, 0x104
mov edi, eax
xor ebx, ebx
push esi
lea eax, [ebp - 0x170]
push ebx
push eax
mov dword [ebp - 0x18], esi
call sub.MSVCRT.dll_memset
push 0x2e
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x14
cmp eax, ebx
je 0x100062cc
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push ebx
push eax
push 0x80000000
call dword [fcn.10003d2c]
test eax, eax
jne 0x100062cc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x170]
push eax
push ebx
push dword [ebp - 4]
call edi
push dword [ebp - 4]
mov edi, dword [fcn.10003d28]
call edi
push 0x1f4
lea eax, [ebp - 0x364]
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x364]
push 0x1000138c
push eax
call dword [fcn.10003e9c]
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0xf003f
lea eax, [ebp - 0x364]
push ebx
push eax
push 0x80000000
call dword [fcn.10003d2c]
test eax, eax
je 0x100062d3
xor al, al
jmp 0x100063f3
push esi
lea eax, [ebp - 0x170]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x170]
push eax
push ebx
push dword [ebp - 4]
call dword [0x10003d24]
push dword [ebp - 4]
call edi
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [ebp - 0x170]
push 0x10001388
push eax
call esi
pop ecx
cmp eax, ebx
pop ecx
jne 0x10006364
lea eax, [ebp - 0x170]
push 0x10001384
push eax
call esi
pop ecx
cmp eax, ebx
pop ecx
jne 0x10006364
push 0x10001378
push 0x1000129c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
lea eax, [ebp - 0x170]
push 0x10001374
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x170]
push eax
call esi
jmp 0x1000636f
push dword [ebp + 8]
push eax
call fcn.100061bc
pop ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x10
xor eax, eax
cmp dword [ebp + 0xc], ebx
pop ecx
lea edi, [ebp - 0x68]
mov byte [ebp - 0x14], 0x57
rep stosd dword es:[edi], eax
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x6e
mov byte [ebp - 0x11], 0x53
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x30
mov byte [ebp - 0xd], 0x5c
mov byte [ebp - 0xc], 0x44
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x66
mov byte [ebp - 9], 0x61
mov byte [ebp - 8], 0x75
mov byte [ebp - 7], 0x6c
mov byte [ebp - 6], 0x74
mov byte [ebp - 5], bl
mov dword [ebp - 0x6c], 0x44
je 0x100063d5
lea eax, [ebp - 0x14]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x170]
push ebx
push eax
push ebx
call fcn.10005e12
add esp, 0x28
pop edi
pop esi
pop ebx
leave
ret 8