joyce8/EMBER2024-capa huggingface dataset:
Function at 0xf51350
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
jne 0xf5136f
mov ebx, dword [ebp + 8]
push eax
call fcn.00f50920
test al, al
je 0xf513a9
mov ebx, dword [ebp + 0xc]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xf51377
sub eax, edx
mov esi, eax
push esi
mov dword [ebp + 0xc], esi
call fcn.00f57d64
lea ecx, [ebp + 0xc]
push ecx
mov edi, eax
push edi
push esi
push ebx
call fcn.00f4d680
add esp, 0x14
test al, al
jne 0xf513b4
push edi
call fcn.00f58454
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
xor ebx, ebx
push edx
push edi
lea esi, [ebp - 0x7c]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x2c], 0x67452301
mov dword [ebp - 0x28], 0xefcdab89
mov dword [ebp - 0x24], 0x98badcfe
mov dword [ebp - 0x20], 0x10325476
mov dword [ebp - 0x1c], 0xc3d2e1f0
mov byte [ebp - 0x7c], bl
call fcn.00f4d790
mov dword [ebp + 0xc], 0x40
cmp byte [ebp - 0x7c], bl
jne 0xf51407
call fcn.00f4dd10
mov byte [ebp - 0x7c], 1
xor eax, eax
lea esp, [esp]
mov ecx, dword [ebp + eax*4 - 0x2c]
bswap ecx
mov dword [ebp + eax*4 - 0x18], ecx
inc eax
cmp eax, 5
jb 0xf51410
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x18]
push 0x14
push ecx
call fcn.00f4d560
mov edx, dword [ebp + 0xc]
push edi
mov byte [ebp + edx - 0xbc], bl
call fcn.00f58454
mov bl, byte [ebp + 0x10]
add esp, 0x14
mov eax, 0xf69438
test bl, bl
jne 0xf5145a
mov eax, 0xf69450
mov edi, dword [ebp + 8]
push 0
push eax
call fcn.00f50e30
push 1
lea eax, [ebp - 0xbc]
push eax
call fcn.00f50e30
test bl, bl
je 0xf5147c
call fcn.00f50f10
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10003ebf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10003ece
pop dword [ebp - 0x50]
mov eax, 0x2189b34c
sub eax, 0x1189747e
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xcc363806
add dword [ebp - 0x60], 0x821c0d45
mov dword [ebp - 0x5c], 0x7e338fa5
add dword [ebp - 0x5c], 0xb3ffbca0
mov dword [ebp - 0x58], 0x3966339d
sub dword [ebp - 0x58], 0xed19ef6f
mov dword [ebp - 0x54], 0x96ce614c
sub dword [ebp - 0x54], 0x96ce614c
lea eax, [ebp - 0x60]
push eax
mov eax, 0x2dd311ef
add eax, 0xe22d3e55
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xafd5867b
sub dword [ebp - 0x60], 0x3b631d25
mov dword [ebp - 0x5c], 0x858abc4f
add dword [ebp - 0x5c], 0xbbe1a526
mov dword [ebp - 0x58], 0x12fa5b72
sub dword [ebp - 0x58], 0xaf8aef06
mov dword [ebp - 0x54], 0xcf8492f9
add dword [ebp - 0x54], 0x307b6d07
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x35562
push 0
call eax
mov ecx, 0x42d0
xor edi, edi
add edi, eax
mov esi, 0x4395fffe
add esi, 0xcc6ab602
add esi, dword [ebp - 0x50]
mov ebx, 0xb9859318
add ebx, 0xce7b6f98
sub dword [ebp - 0x28], 0x34035602
mov edx, dword [esi]
mov dword [ebp - 0x3c], 0x57e6bc74
xor edx, ebx
add dword [ebp - 0x38], ecx
mov dword [edi], edx
sub dword [ebp - 8], ecx
add edi, 0x8f9e5b5c
sub edi, 0x8f9e5b58
add esi, 4
loop 0x10003fe7
add eax, 0xfe13
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xf29aa195
add ecx, 0x1d655e6b
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x401e10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c82c
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x43c010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x104
lea eax, [ebp - 0x11c]
xor bl, bl
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [esi + 0xcc]
mov byte [ebp - 0x119], bl
test ecx, ecx
je 0x401ee7
call fcn.00417e60
push eax
lea ecx, [ebp - 0x120]
call dword [sym.imp.mfc140.dll_Ordinal_310]
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140.dll_Ordinal_8672]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x313b3c22
push 0
push eax
mov dword [ebp - 0x14], 0x5526223a
call fcn.004147a0
add esp, 4
lea ecx, [ebp - 0x120]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4656]
cmp eax, 0xffffffff
movzx ebx, bl
mov ecx, 1
mov dword [ebp - 4], 0xffffffff
cmovne ebx, ecx
lea ecx, [ebp - 0x120]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
test bl, bl
je 0x401ee7
call fcn.00414750
and eax, 0xffffffef
or eax, 0x40
jmp 0x401ef2
call fcn.00414750
and eax, 0xffffffbf
or eax, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411594
mov esp, ebp
pop ebp
ret
Function at 0x401f10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c869
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x43c010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
movaps xmm0, xmmword [str._t_t_t]
lea eax, [ebp - 0x2c]
push eax
xor bl, bl
mov dword [ebp - 0x2c], 0x2d3a1703
mov dword [ebp - 0x28], 0x3e3a3a1d
mov dword [ebp - 0x24], 0x3939317b
mov byte [ebp - 0x20], 0x55
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x551b
call fcn.004147a0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x402039
push eax
push 0x80
push 3
push eax
push 1
lea eax, [ebp - 0x40]
push SysReAllocString
push eax
call fcn.004147a0
add esp, 4
push eax
push 0x6c1c97a3
push 0
call fcn.004147c0
cmp eax, 0xffffffff
jne 0x402039
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x40202c
call fcn.00417e60
push eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc140.dll_Ordinal_310]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140.dll_Ordinal_8672]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x2d3a3723
push 0
push eax
mov dword [ebp - 0x18], 0x27343d75
mov word [ebp - 0x14], 0x5531
call fcn.004147a0
add esp, 4
lea ecx, [ebp - 0x44]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4656]
cmp eax, 0xffffffff
movzx ebx, bl
mov ecx, 1
mov dword [ebp - 4], 0xffffffff
cmovne ebx, ecx
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
test bl, bl
jne 0x402039
call fcn.00414750
and eax, 0xffffffbf
or eax, 0x10
jmp 0x402044
call fcn.00414750
and eax, 0xffffffef
or eax, 0x40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411594
mov esp, ebp
pop ebp
ret

Function at 0x402180
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4375d8
push 0x411f4a
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x43c010]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 8]
xor edi, edi
push 0x104
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov byte [ebp - 0x11d], 0
mov dword [ebp - 4], edi
xor esi, esi
mov dword [ebp - 0x124], esi
cmp esi, 2
jge 0x402215
push ebx
push dword [ebp - 0x120]
call sym.Steno_Editor.exe_int___cdecl_GetDriveInfo_char__class_CDriveInfo__
add esp, 8
test eax, eax
je 0x402201
mov edi, 1
jmp 0x40220f
inc esi
jmp 0x4021dc
mov dword [ebp - 0x128], edi
mov dword [ebp - 4], 0xfffffffe
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00411594
mov esp, ebp
pop ebp
ret
Function at 0x4025a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c899
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x43c010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x70], eax
movaps xmm0, xmmword [0x432870]
lea esi, [eax + 0x8a7]
movups xmmword [ebp - 0x20], xmm0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
movaps xmm0, xmmword [0x432880]
push esi
push eax
movups xmmword [ebp - 0x30], xmm0
call fcn.004147a0
add esp, 4
push eax
push 0x7037cb95
push 0
call fcn.004147c0
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.004147a0
add esp, 4
push eax
push 0x7037cb95
push 0
call fcn.004147c0
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
push 0x9f26bdce
push 0
call fcn.004147c0
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
push 0x9f26bdce
push 0
call fcn.004147c0
lea ecx, [ebp + 8]
mov edi, eax
call dword [sym.imp.mfc140.dll_Ordinal_14322]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140.dll_Ordinal_1526]
mov esi, dword [ebp - 0x70]
lea ecx, [esi + 0xd0]
call fcn.00412fa0
push dword [ebp + 8]
push 0x28
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [eax + 0x30]
lea eax, [ebp - 0x58]
push eax
movq qword [ebp - 0x38], xmm0
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
lea eax, [ebp - 0x68]
lea ecx, [esi + 0xd0]
push 0x38
push eax
call fcn.00414430
push dword [ebp - 0x6c]
push 0x1f9d50ac
push 0
call fcn.004147c0
push 0x7d0
push edi
push 0x6aa1dff
push 0
call fcn.004147c0
neg eax
sbb esi, esi
push 0
push 0xa57d6399
push 0
and esi, 1
call fcn.004147c0
push dword [ebp - 0x6c]
push 0xf3c771e
push 0
call fcn.004147c0
push edi
push 0xf3c771e
push 0
call fcn.004147c0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411594
mov esp, ebp
pop ebp
ret 4
Function at 0x411d96
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x4373e8
call fcn.00411e90
push 1
call fcn.0041176f
pop ecx
test al, al
jne 0x411c4d
push 7
call fcn.00411f6d
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0041173a
mov byte [ebp - 0x24], al
mov eax, dword [0x43db08]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x411c46
test eax, eax
jne 0x411cb7
mov dword [0x43db08], ecx
push 0x42ebec
push 0x42ebdc
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x411c9a
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x411d90
push 0x42ebd8
push 0x42ebc0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x43db08], 2
jmp 0x411cbc
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004118dc
pop ecx
call fcn.00412415
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x411cec
push esi
call fcn.00411852
pop ecx
test al, al
je 0x411cec
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00411e87
call esi
call fcn.0041241b
mov esi, eax
cmp dword [esi], edi
je 0x411d0a
push esi
call fcn.00411852
pop ecx
test al, al
je 0x411d0a
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00412089
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.004120c3
test al, al
jne 0x411d35
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x411d3e
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.004118f9
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x411d90
call fcn.00411ed6
ret
call fcn.0041235a
jmp 0x411c2e

Function at 0x412cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0x10]
push edi
cmp dword [ebx + 0x3fc], 0
not esi
jne 0x412cdb
call fcn.00412d10
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
test edi, edi
je 0x412cfd
movzx eax, byte [edx]
lea edx, [edx + 1]
mov ecx, esi
shl esi, 8
shr ecx, 0x18
xor ecx, eax
xor esi, dword [ebx + ecx*4]
sub edi, 1
jne 0x412ce5
not esi
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x412d60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c8d1
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x43c010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xa0], esi
lea ecx, [esi + 0x278]
mov dword [ebp - 0xa4], esi
mov dword [esi], vtable.CSecureStorage.0
call fcn.00412c90
movaps xmm0, xmmword [0x4328c0]
lea eax, [ebp - 0x4c]
movups xmmword [ebp - 0x9c], xmm0
push eax
movaps xmm0, xmmword [0x432930]
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 4], 0
movaps xmm0, xmmword [0x432910]
movups xmmword [ebp - 0x74], xmm0
mov dword [esi + 4], 0
movaps xmm0, xmmword [0x432920]
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x7c], 0x16131416
movaps xmm0, xmmword [0x432900]
movups xmmword [ebp - 0x4c], xmm0
mov byte [ebp - 0x78], 0x55
movaps xmm0, xmmword [0x432940]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x54], 0x6c656510
movaps xmm0, xmmword [0x4328e0]
mov word [ebp - 0x50], 0x2860
mov byte [ebp - 0x4e], 0x55
mov dword [ebp - 0x2c], 0x6d131416
mov word [ebp - 0x28], 0x2865
mov byte [ebp - 0x26], 0x55
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x55092136
call fcn.004147a0
add esp, 4
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004147a0
add esp, 4
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004147a0
add esp, 4
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004147a0
add esp, 4
mov ecx, esi
push eax
call fcn.00413140
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411594
mov esp, ebp
pop ebp
ret

Function at 0x413040
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
cmp esi, 0x104
jb 0x4130e0
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x413081
lea eax, [ebp + 0xc]
push eax
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x4130e0
push esi
mov esi, dword [ebp + 8]
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4130e0
push dword [ebp + 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebx + 0x10c]
push eax
push esi
push 0x7037cb95
push 0
call fcn.004147c0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebx + 8]
push eax
push esi
push 0x7037cb95
push 0
call fcn.004147c0
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x4137b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 0xc], ecx
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x432898]
mulsd xmm0, qword [0x4328a0]
addsd xmm0, qword [0x4328a0]
call fcn.00417761
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
push 0x6c1c97a3
push 0
call fcn.004147c0
mov esi, eax
cmp esi, 0xffffffff
jne 0x413819
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
push 0
push 0
push 0x10
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 4]
push 0
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push esi
call edi
cmp dword [ebp - 4], 4
jne 0x413872
push 0
push 0
push 8
push esi
call ebx
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
push eax
push esi
call edi
cmp dword [ebp - 4], 4
jne 0x413872
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
add eax, ecx
cmp eax, 0xc00
jbe 0x41388a
push esi
push 0xf3c771e
push 0
call fcn.004147c0
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0xc]
push ecx
push 0
push dword [eax + 0x748]
push 0xdec4723a
push 0
call fcn.004147c0
push 0
push 0
push dword [ebp - 0x14]
mov edi, eax
push esi
call ebx
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jne 0x413909
mov ecx, dword [eax + edi - 4]
add eax, 0xfffffffc
shr eax, 3
push eax
mov dword [ebp + 8], ecx
lea ecx, [ebx + 0x678]
push edi
call fcn.00416f60
mov eax, dword [edi]
cmp dword [ebp - 8], eax
jb 0x413909
push eax
lea eax, [edi + 4]
push eax
lea ecx, [ebx + 0x278]
call fcn.00412ca0
mov ecx, dword [ebp - 0x10]
xor edx, edx
cmp dword [ebp + 8], eax
cmove ecx, edx
mov dword [ebp - 0x10], ecx
push esi
push 0xf3c771e
push 0
call fcn.004147c0
cmp dword [ebp - 0x10], 0
je 0x41393c
push edi
push 0
push dword [ebx + 0x748]
push 0x67fcd87
push 0
call fcn.004147c0
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x414180
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x43c010]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x4328d0]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push esi
push 0x80b14b95
push 0
mov dword [ebp - 0x14], 0x7b30393a
mov dword [ebp - 0x10], 0x55393931
mov dword [ebp - 0x30], 0x1c061916
mov dword [ebp - 0x2c], 0x3d060a11
mov dword [ebp - 0x28], 0x55393930
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0x6191609
mov dword [ebp - 0x44], 0x5509111c
mov dword [ebp - 0x24], 0x27253b1c
mov dword [ebp - 0x20], 0x3006363a
mov dword [ebp - 0x1c], 0x27302327
mov word [ebp - 0x18], 0x6766
mov byte [ebp - 0x16], 0x55
mov dword [ebp - 0x40], 0x30273d01
mov dword [ebp - 0x3c], 0x3b3c3134
mov dword [ebp - 0x38], 0x313a1832
mov word [ebp - 0x34], 0x3930
mov byte [ebp - 0x32], 0x55
mov dword [ebp - 0xc], 0x3d213a17
mov byte [ebp - 8], 0x55
call fcn.004147c0
cmp eax, 0x26
jne 0x414412
lea eax, [ebp - 0x58]
push eax
call fcn.004147a0
lea eax, [ebp - 0x24]
push eax
call fcn.004147a0
add esp, 8
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xbc]
push eax
push 0x72148b95
push 0
call fcn.004147c0
push esi
lea eax, [ebp - 0xbc]
push eax
push 0x7037cb95
push 0
call fcn.004147c0
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xc4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0xbc]
push eax
push SysReAllocString
push 0x214db292
push 0x43ca74
call fcn.004147c0
test eax, eax
jne 0x414412
lea eax, [ebp - 0x30]
push eax
push 0x80b14b95
push 0
call fcn.004147c0
inc eax
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004147a0
add esp, 4
push eax
push 1
push 0
push 0x42ec10
push dword [ebp - 0xc4]
push 0x94e5e79c
push 0x43ca74
call fcn.004147c0
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xc0]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xc4]
push 0x214db292
push 0x43ca74
call fcn.004147c0
lea eax, [ebp - 0x14]
push eax
push 0x80b14b95
push 0
call fcn.004147c0
inc eax
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004147a0
add esp, 4
push eax
push 1
push 0
push 0x42ec10
push dword [ebp - 0xc0]
push 0x94e5e79c
push 0x43ca74
call fcn.004147c0
lea eax, [ebp - 0xc]
push eax
push 0x80b14b95
push 0
call fcn.004147c0
inc eax
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004147a0
add esp, 4
push eax
push 1
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004147a0
add esp, 4
push eax
push dword [ebp - 0xc0]
push 0x94e5e79c
push 0x43ca74
call fcn.004147c0
push edi
push 0x80b14b95
push 0
call fcn.004147c0
inc eax
push eax
push edi
push 7
push 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xc0]
push 0x94e5e79c
push 0x43ca74
call fcn.004147c0
push dword [ebp - 0xc0]
push 0x8ace87ca
push 0x43ca74
call fcn.004147c0
push dword [ebp - 0xc4]
push 0x8ace87ca
push 0x43ca74
call fcn.004147c0
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411594
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00411594
mov esp, ebp
pop ebp
ret 8
Function at 0x4147a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, eax
nop dword [eax + eax]
xor byte [ecx], 0x55
lea ecx, [ecx + 1]
mov dl, byte [ecx - 1]
test dl, dl
jne 0x4147b0
pop ebp
ret

Function at 0x4147e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
lea edx, [eax + 0xc]
mov ebx, edx
mov ebx, dword [ebx]
cmp ebx, edx
je 0x414836
mov esi, dword [ebx + 0x30]
xor edi, edi
mov eax, edi
mov ecx, 0x1003f
or ax, 0x20
movzx eax, ax
add eax, edi
mul ecx
mov edi, eax
lodsw ax, word [esi]
test ax, ax
jne 0x414812
cmp edi, 0x86b11dee
je 0x414830
jmp 0x414800
mov eax, dword [ebx + 0x18]
mov dword [ebp - 4], eax
pop esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414850
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
test eax, eax
js 0x4148c5
push esi
cld
xor edx, edx
mov edx, dword fs:[0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov dword [ebp - 4], edx
mov esi, dword [edx + 0x28]
movzx eax, byte [edx + 0x24]
add esi, eax
cmp eax, 0x18
jl 0x4148b9
mov ecx, 0x18
sub esi, ecx
xor edi, edi
xor ebx, ebx
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x4148a7
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x41489e
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
je 0x4148c0
mov edx, dword [edx]
cmp edx, dword [ebp - 4]
jne 0x414885
mov eax, ebx
pop esi
jmp 0x4148ce
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0xb8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret