joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100015a5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x100015b4
pop dword [ebp - 0xc]
mov eax, 0xbf23d845
sub eax, 0xaf23c291
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x991082e5
add dword [ebp - 0x1c], 0xb541c266
mov dword [ebp - 0x18], 0xae676c87
add dword [ebp - 0x18], 0x83cbdfbe
mov dword [ebp - 0x14], 0x63bafd1b
sub dword [ebp - 0x14], 0x176eb8ed
mov dword [ebp - 0x10], 0xa41f814d
sub dword [ebp - 0x10], 0xa41f814d
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x2171b46c
sub eax, 0x11718468
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xdd8dd1e7
sub dword [ebp - 0x1c], 0x691b6891
mov dword [ebp - 0x18], 0xa3938cc2
sub dword [ebp - 0x18], 0x62272b4d
mov dword [ebp - 0x14], 0xa7c39426
add dword [ebp - 0x14], 0xbbabd846
mov dword [ebp - 0x10], 0xde2ffd64
add dword [ebp - 0x10], 0x21d0029c
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x15b0145a
sub eax, 0x5afe44e
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3386b
push 0
call eax
mov ecx, 0x3c2b
mov esi, eax
mov edx, 0x745804c1
add edx, 0x9ba85f3f
add edx, dword [ebp - 0xc]
mov ebx, 0x3c009a5f
sub ebx, 0xa2f37968
sub dword [ebp - 4], eax
mov edi, dword [edx]
add dword [ebp - 8], 0x25fe4368
add edi, ebx
xor dword [ebp - 4], ecx
mov dword [esi], edi
mov dword [ebp - 4], 0x2093dc51
add esi, 4
add edx, 0x96804686
sub edx, 0x96804682
loop 0x100016d0
add eax, 0xe37f
mov ebx, eax
add eax, 5
mov ecx, 0xcbdcef80
sub ecx, 0xbbdcef80
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x30809222
Capabilities:
Enumerate process modules

Disassembly:
push 0x24
mov eax, 0x3081af3b
call fcn.30801ee1
xor ebx, ebx
push 8
pop esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
push ebx
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.3081968d
push 0x20
pop edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 1
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp - 0x30]
call sub.psapi.dll_EnumProcesses
test eax, eax
je 0x3080928c
mov eax, dword [ebp - 0x18]
cmp eax, edi
jb 0x30809285
push ebx
add esi, esi
push esi
lea ecx, [ebp - 0x30]
call fcn.3081968d
mov edi, esi
shl edi, 2
jmp 0x30809294
shr eax, 2
mov esi, eax
jmp 0x30809291
xor esi, esi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
jne 0x3080925a
cmp dword [ebp - 0x14], ebx
je 0x308092c8
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.3081968d
cmp esi, ebx
jbe 0x308092c8
mov ebx, dword [ebp - 0x30]
push ebx
mov ecx, edi
call fcn.3081968d
add ebx, 4
dec esi
jne 0x308092ba
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.30806a0c
mov eax, dword [ebp - 0x14]
call fcn.30801fc6
ret

Function at 0x3081968d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x3081969c
pop dword [ebp - 0x2c]
mov eax, 0xd6a1586
sub eax, 0xdce87eea
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x115c6ba9
add dword [ebp - 0x3c], 0x3cf5d9a2
mov dword [ebp - 0x38], 0xa307a21e
sub dword [ebp - 0x38], 0x70d455d9
mov dword [ebp - 0x34], 0x408b38ad
add dword [ebp - 0x34], 0xbc10b81
mov dword [ebp - 0x30], 0x897b0ae4
add dword [ebp - 0x30], 0x7684f51c
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x4b77ee1a
sub dword [ebp - 0x3c], 0xd70584c4
mov dword [ebp - 0x38], 0xb0bbc212
sub dword [ebp - 0x38], 0x6f4f609d
mov dword [ebp - 0x34], 0x8f22afd1
add dword [ebp - 0x34], 0xd44cbc9b
mov dword [ebp - 0x30], 0x202f0d9c
add dword [ebp - 0x30], 0xdfd0f264
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x6e8bd487
add eax, 0xc1f5fc35
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3d0d0
push 0
call eax
mov ecx, 0x9bed796c
add ecx, 0x6412ce7c
mov ebx, eax
mov edx, 0x3082f200
add edx, dword [ebp - 0x2c]
mov edi, 0x36b6dd0b
mov dword [ebp - 0x24], 0x554571f8
mov esi, dword [edx]
sub dword [ebp - 0x20], esi
xor esi, edi
xor dword [ebp - 0xc], edx
mov dword [ebx], esi
sub dword [ebp - 0x20], 0xc658f78a
add ebx, 4
add edx, 0x9013d96d
sub edx, 0x9013d969
loop 0x308197ad
add eax, 0x11273
xor ebx, ebx
add ebx, eax
add eax, 0x19a6a261
add eax, 0xe6595da4
mov ecx, 0xbd3aef9b
sub ecx, 0x8cbaef9b
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x71d0b5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x71d0f4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x71d0f4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x71d0f4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x71d0f4
cmp dword [ecx + 0x74], 0xe
jbe 0x71d0f4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x722d6d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x722e0a
push ebx
push esi
call fcn.00722d36
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00722cca
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x722db7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x722e09
push edi
push eax
call fcn.00720de9
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x722dd7
call fcn.00720daf
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x722e08
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00722cca
add esp, 0x20
test eax, eax
jne 0x722df6
push edi
call fcn.00720daf
jmp 0x722dfe
push ebx
call fcn.00720daf
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x723fcd
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x72c008
push 0x72c000
push str.FlsAlloc
push 0x1f
call fcn.00723e8c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x724001
push dword [ebp + 8]
mov ecx, esi
call dword [0x72a134]
call esi
jmp 0x724007
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x72404b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x72c018
push 0x72c010
push str.FlsGetValue
push 0x21
call fcn.00723e8c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x724082
push dword [ebp + 8]
mov ecx, esi
call dword [0x72a134]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x72408a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x72c020
push 0x72c018
push str.FlsSetValue
push 0x22
call fcn.00723e8c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x7240c4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x72a134]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x729520
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x72954d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x72954d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x104a4190
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x104a436d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x302000]
push edi
jmp 0x104a41ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x104a41c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x104a41b0
mov eax, 1
add ebx, ebx
jne 0x104a41d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x104a41e4
jne 0x104a4203
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x104a4203
dec eax
add ebx, ebx
jne 0x104a41f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x104a41c8
add ebx, ebx
jne 0x104a41ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x104a4255
xor ecx, ecx
sub eax, 3
jb 0x104a421b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x104a428a
sar eax, 1
mov ebp, eax
jmp 0x104a4226
add ebx, ebx
jne 0x104a4226
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x104a41f4
inc ecx
add ebx, ebx
jne 0x104a4234
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x104a41f4
add ebx, ebx
jne 0x104a4241
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x104a4236
jne 0x104a4252
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x104a4236
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x104a4274
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x104a4266
jmp 0x104a41b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x104a4274
add edi, ecx
jmp 0x104a41b6
pop esi
mov edi, esi
mov ecx, 0x18112
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x104a4292
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x104a4297
lea edi, [esi + 0x474000]
mov eax, dword [edi]
or eax, eax
je 0x104a42ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4a41b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4a41f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x104a42bd
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4a41f8]
or eax, eax
je 0x104a42f9
mov dword [ebx], eax
add ebx, 4
jmp 0x104a42da
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x104a4330
cmp al, 0xef
ja 0x104a4323
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x104a4305
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x104a4312
mov ebp, dword [esi + 0x4a41fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x104a4364
sub esp, 0xffffff80
jmp 0x1028fc7d
Function at 0x416423
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x417a58
call fcn.00416da8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x4193f8
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x416468
cmp eax, esi
jne 0x41645b
xor esi, esi
inc esi
mov edi, esi
jmp 0x41646b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41643f
xor esi, esi
inc esi
cmp dword [0x4193fc], esi
jne 0x41647d
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x4164b7
cmp dword [0x4193fc], ebx
jne 0x4164b1
mov dword [0x4193fc], esi
push 0x4012ac
push 0x4012a0
call fcn.0041659c
pop ecx
pop ecx
test eax, eax
je 0x4164b7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41658c
mov dword [0x419084], esi
cmp dword [0x4193fc], esi
jne 0x4164da
push 0x40129c
push 0x401294
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4193fc], 2
test edi, edi
jne 0x4164e7
xor eax, eax
mov ecx, 0x4193f8
xchg dword [ecx], eax
cmp dword [0x419400], 0
je 0x416513
push 0x419400
call fcn.00416c00
pop ecx
test eax, eax
je 0x416513
push ebx
push 2
push ebx
mov esi, dword [0x419400]
mov ecx, esi
call dword [0x41a198]
call esi
push dword [0x419090]
push dword [0x41908c]
push dword [0x419088]
call fcn.00405cd8
add esp, 0xc
mov dword [0x419080], eax
cmp dword [0x419098], 0
jne 0x416571
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x419084], 0
jne 0x416585
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x419080]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.004a9000
jmp 0x416423

Function at 0x416ae4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x417ad8
call fcn.00416da8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x416b44
cmp eax, 0xffffffff
je 0x416b44
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x416b3d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x416b3d
cmp edx, 0x10000000
jae 0x416b3d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x416b3a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x416bb0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x416bee
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x416be6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x416bf0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x416bd6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40c9dd
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b558]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040a033
mov dword [ebp - 0x14], eax
cmp dword [0x81a7b8], esi
jne 0x40cad0
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40ca5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40cbb0
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40cbb0
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40cbb0
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x81a7b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x81a7bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x81a7c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x81a7c8], eax
test eax, eax
je 0x40cacd
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x81a7c4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40caf5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40cae8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40cb0a
push 4
pop eax
jmp 0x40cbb2
cmp dword [ebp - 0x14], esi
je 0x40cb0a
push dword [0x81a7b8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40caef
mov eax, dword [0x81a7c4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cb68
cmp dword [0x81a7c8], edi
je 0x40cb68
push eax
call ebx
push dword [0x81a7c8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cb68
test eax, eax
je 0x40cb68
call ecx
test eax, eax
je 0x40cb5d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40cb5d
test byte [ebp - 8], 1
jne 0x40cb68
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40cb98
mov eax, dword [0x81a7bc]
cmp eax, edi
je 0x40cb95
push eax
call ebx
test eax, eax
je 0x40cb95
call eax
mov esi, eax
test esi, esi
je 0x40cb95
mov eax, dword [0x81a7c0]
cmp eax, edi
je 0x40cb95
push eax
call ebx
test eax, eax
je 0x40cb95
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x81a7b8]
call ebx
test eax, eax
je 0x40cbb0
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40cbb2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004044c0
mov esp, ebp
pop ebp
ret
Function at 0x1000e241
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 8
mov eax, 0x1004b470
call fcn.1000d553
xor ebx, ebx
push 0x100055fc
mov esi, ebx
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov edi, eax
mov eax, dword [0x10055ef4]
test al, 1
jne 0x1000e280
or eax, 1
push 0x1004cca7
mov dword [0x10055ef4], eax
mov dword [0x10055ef0], ebx
call fcn.10013787
pop ecx
cmp edi, 0xffffffff
jne 0x1000e28f
mov esi, 0x80004005
jmp 0x1000e3f5
mov ebx, dword [ebp + 8]
movzx eax, bx
push 0x10005614
push eax
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
jne 0x1000e2b3
mov eax, 0x80070057
jmp 0x1000e3f7
push eax
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x1000e285
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
cmp ebx, 2
je 0x1000e2ee
cmp ebx, 1
jne 0x1000e3f5
xor ebx, ebx
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
push eax
push dword [edi]
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], ebx
call fcn.1000e3ff
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jns 0x1000e33a
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x1000e3f5
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
jmp 0x1000e3f5
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x10055efc]
jb 0x1000e39e
ja 0x1000e352
mov esi, dword [0x10055ef8]
cmp dword [ebp - 0x14], esi
jbe 0x1000e3a4
push dword [0x10055ef0]
xorps xmm0, xmm0
movlpd qword [0x10055ef8], xmm0
call fcn.10013787
push dword [ebp - 0x14]
mov dword [0x10055ef0], ebx
call fcn.10013787
pop ecx
pop ecx
mov ecx, eax
mov dword [0x10055ef0], ecx
test ecx, ecx
jne 0x1000e38b
mov esi, 0x8007000e
jmp 0x1000e3e4
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [0x10055ef8], esi
mov dword [0x10055efc], eax
jmp 0x1000e3aa
mov esi, dword [0x10055ef8]
mov ecx, dword [0x10055ef0]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
push ebx
lea ebx, [ebp + 0xc]
push ebx
push esi
push ecx
xor ebx, ebx
push ebx
push ebx
push eax
call dword [edx + 0xc]
mov esi, eax
test esi, esi
js 0x1000e3e4
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x14]
jne 0x1000e3df
cmp ebx, dword [ebp - 0x10]
jne 0x1000e3df
mov eax, dword [0x10055ef0]
mov dword [edi], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
jmp 0x1000e3e4
mov esi, 0x80004005
mov eax, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x1000e3f5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.1000d5f3
ret 0xc
Function at 0x10013787
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x10013796
pop dword [ebp - 4]
mov eax, 0x10013796
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x3ea23f73
add dword [ebp - 0x14], 0xfb005d8
mov dword [ebp - 0x10], 0xe2486874
add dword [ebp - 0x10], 0x4feae3d1
mov dword [ebp - 0xc], 0xb77865b
add dword [ebp - 0xc], 0x40d4bdd3
mov dword [ebp - 8], 0x84253c08
sub dword [ebp - 8], 0x84253c08
lea eax, [ebp - 0x14]
push eax
mov eax, 0x3b5907cf
add eax, 0xd4a709b9
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xc52191b7
add dword [ebp - 0x14], 0xaf50d79f
mov dword [ebp - 0x10], 0x167392eb
add dword [ebp - 0x10], 0x2af8ce8a
mov dword [ebp - 0xc], 0x41589545
add dword [ebp - 0xc], 0x2216d727
mov dword [ebp - 8], 0x53e0ff56
sub dword [ebp - 8], 0x53e0ff56
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0x52a82e74
add eax, 0xbd57e234
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x490dd
push 0
call eax
mov ecx, 0x42b9
mov esi, eax
mov edi, 0x22a4c7b8
sub edi, 0x129ea9b8
add edi, dword [ebp - 4]
mov edx, 0x77891c3d
sub edx, 0x777fb4ad
mov ebx, dword [edi]
xor ebx, edx
mov dword [esi], ebx
add esi, 4
add edi, 0x91b04cf7
add edi, 0x6e4fb30d
loop 0x100138ad
add eax, 0x69585cc6
sub eax, 0x69575f0f
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x100388bf
Capabilities:
Enumerate gui resources

Disassembly:
push 0x624
mov eax, 0x1004af99
call fcn.1001de1b
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
xor esi, esi
mov dword [ebp - 0x61c], ebx
mov dword [ebp - 0x624], edi
mov dword [ebp - 0x618], esi
cmp dword [0x10055e84], esi
jne 0x100388fc
push esi
push 0x100396b2
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, 0x10055e88
call fcn.100416b0
test eax, eax
je 0x10038bdf
inc dword [0x10055e84]
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x1ff
lea eax, [ebp - 0x614]
push eax
push esi
push esi
push esi
push esi
push ebx
call dword [sym.imp.MSVCR100.dll__wsplitpath_s]
add esp, 0x24
push 0x1ff
lea eax, [ebp - 0x614]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSO.dll_Ordinal_6137]
mov ecx, dword [0x10055e88]
lea eax, [ebp - 0x614]
push eax
mov dword [ebp - 0x620], ecx
mov dword [ebp - 4], esi
call fcn.10013787
or dword [ebp - 4], 0xffffffff
mov ebx, eax
jmp 0x10038a45
mov ecx, 0x10055e88
mov dword [edi + 0xc], ebx
call fcn.100416fb
lea ecx, [ebp - 0x630]
mov dword [edi + 4], eax
call fcn.100416a3
mov dword [ebp - 4], 4
mov ecx, ebx
mov dword [ebp - 0x618], esi
mov byte [ebp - 4], 5
call fcn.10041c26
mov ebx, eax
push ebx
lea ecx, [ebp - 0x630]
mov dword [ebp - 0x618], ebx
call fcn.10013787
test ebx, ebx
je 0x10038a9e
mov ecx, ebx
call fcn.10040ea3
push ebx
call fcn.10013787
pop ecx
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x630]
call fcn.10041bba
mov ebx, eax
mov dword [ebp - 0x618], ebx
test ebx, ebx
je 0x10038b10
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.10013787
push eax
push edi
mov dword [ebp - 0x620], eax
call fcn.10013787
push dword [ebp - 0x620]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10038a90
push 0x14
call fcn.10013787
mov ebx, eax
test ebx, ebx
jne 0x10038b21
push 0xfffffffffffffffe
jmp 0x10038b7f
lea eax, [ebx + 8]
push eax
push 0x100549b0
push 0x1000473c
call fcn.10013787
test eax, eax
jne 0x10038b1d
push 0x10053448
mov dword [ebx + 4], esi
push edi
mov dword [edi + 0x5c], ebx
call fcn.10013787
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x630]
call fcn.100414da
xor eax, eax
jmp 0x10038be2
or dword [ebp - 4], 0xffffffff
pop esi
lea ecx, [ebp - 0x630]
call fcn.100414da
mov eax, esi
jmp 0x10038be2
push 0xfffffffffffffffa
pop eax
call fcn.1001df2e
ret 0x10