joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401220
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
add edx, 0x67
and edi, 0x95
sbb eax, 0xdb
sbb ebx, 0x9c
add edi, 1
imul ebx
neg ebx
bswap esi
rol esi, 0xb3
imul ebx
not ebx
dec ebx
rol eax, 0x9a
dec edi
neg ebx
bswap ebx
inc edx
and edx, 0x59
rcl ebx, 0x42
ror edi, 0x88
imul edi
ror edx, 0x99
imul edi
mov eax, 0xf0
ror esi, 0x6f
inc edi
sub esi, 3
ror eax, 0xf3
and eax, 0xe0
ror edx, 0xbf
sbb eax, 0xc4
sub eax, 0x87
rol edx, 0x80
imul edx
imul ebx
rcr esi, 0xa9
or edi, 0x69
bswap eax
imul edx
rol edi, 0xe7
inc eax
bswap ebx
inc edi
sub esi, 0x82
sub edx, 0xfd
and esi, 0x21
add eax, 0x3e
mov edi, 0xb9
not eax
bswap esi
xor ecx, ecx
xor edi, edi
rol esi, 0x57
imul eax
rcr esi, 0x5c
imul ebx
not eax
dec esi
rol eax, 0x8a
bswap esi
and eax, 0x27
add ebx, 0x18
and eax, 0xae
rcr edi, 0x3f
bswap edi
neg eax
sbb edx, 0xda
and eax, 0xcd
neg esi
rcl edx, 0xaa
sbb eax, 0x66
inc esi
neg edx
add eax, 0xa2
inc edx
rcl eax, 0xe6
or ebx, 0x88
imul ebx
and eax, 0x7e
add eax, 0xae
add ebx, 0x5d
dec edi
inc edi
rol edx, 0xe6
mov edx, 0x71
dec ebx
rcl edx, 0xe
neg esi
ror esi, 0x9f
neg eax
dec ebx
imul edx
bswap ebx
rcr edx, 0xd2
rol edx, 0x8b
imul esi
add esi, 0xf4
neg eax
neg eax
dec ebx
add edi, 0xf2
dec ebx
mov ecx, dword [ebp + 0xc]
inc edi
or edx, 0x15
neg ebx
imul ebx
sub edi, 0x16
or ebx, 0x22
bswap esi
mov eax, 0x7a
add edx, 0x30
not ebx
rcr edi, 0xe4
rol edx, 0x33
rol ebx, 0x7d
bswap edx
dec eax
rol ebx, 0x6e
dec esi
bswap esi
rcl ebx, 0xa2
neg ebx
rcr edx, 0xaf
dec esi
mov eax, 0xfe
imul ebx
dec ebx
bswap ebx
neg edx
inc eax
inc esi
sub ebx, 0xef
rcr esi, 0x63
dec esi
dec esi
neg edi
neg ebx
not eax
add ebx, 0x53
bswap eax
rol edi, 0xc4
rcr ebx, 0xbe
not esi
sub edi, 0x70
imul eax
imul ebx
ror eax, 0x4f
rcr edi, 0xaa
dec edx
not ebx
mov edi, 0xc5
imul esi
mov edi, dword [ebp + 8]
mov esi, eax
xor esi, esi
xor ebx, esi
not byte [edi]
xor ebx, ebx
xor ebx, esi
mov eax, ebx
xor eax, esi
mov ebx, eax
xor esi, esi
xor eax, eax
xor esi, ebx
xor esi, eax
add byte [edi], 0x37
xor esi, ebx
xor esi, eax
xor ebx, esi
xor ebx, esi
mov eax, ebx
xor ebx, esi
xor ebx, esi
mov eax, esi
mov esi, ebx
sub byte [edi], 0x75
xor esi, eax
mov eax, esi
xor esi, eax
xor esi, ebx
xor esi, esi
mov esi, esi
mov esi, ebx
xor ebx, esi
xor ebx, eax
imul byte [edi]
inc edi
loop 0x4013ca
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4060e3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404fce
and dword [ebp - 4], 0
cmp dword [0x460e60], 0
mov ebx, eax
jne 0x406194
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406245
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406245
push eax
call fcn.00404f5c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x460e60], eax
call esi
push eax
call fcn.00404f5c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x460e64], eax
call esi
push eax
call fcn.00404f5c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x460e68], eax
call esi
push eax
call fcn.00404f5c
pop ecx
mov dword [0x460e70], eax
test eax, eax
je 0x406194
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404f5c
pop ecx
mov dword [0x460e6c], eax
mov eax, dword [0x460e6c]
cmp eax, ebx
je 0x4061ec
cmp dword [0x460e70], ebx
je 0x4061ec
push eax
call fcn.00404fd7
push dword [0x460e70]
mov esi, eax
call fcn.00404fd7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061ec
test edi, edi
je 0x4061ec
call esi
test eax, eax
je 0x4061e3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061e3
test byte [ebp - 0xc], 1
jne 0x4061ec
or dword [ebp + 0x10], 0x200000
jmp 0x406225
mov eax, dword [0x460e64]
cmp eax, ebx
je 0x406225
push eax
call fcn.00404fd7
pop ecx
test eax, eax
je 0x406225
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406225
mov eax, dword [0x460e68]
cmp eax, ebx
je 0x406225
push eax
call fcn.00404fd7
pop ecx
test eax, eax
je 0x406225
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x460e60]
call fcn.00404fd7
pop ecx
test eax, eax
je 0x406245
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406247
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407f4e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x460608]
jne 0x407f58
repz ret
jmp fcn.00409675
Function at 0x401e40
Capabilities:
Allocate or change rwx memory
Check mutex on windows
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_SetWindowExtEx]
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
jmp 0x401e88
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x5f5e100
jge 0x401e9c
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x401e7f
cmp dword [ebp - 8], 0x5f5e100
jne 0x401f20
push str.jLBQKWJRCJQWIJRKXASKKHK
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401f0f
mov dword [ebp - 0xc], 0xa90
push 0x40f1bc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0x40
mov ecx, dword [ebp - 0xc]
push ecx
push 0x4013b0
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0xc]
push edx
push 0x4013b0
call fcn.004011d0
add esp, 8
push 0
call 0x4013b0
add esp, 4
jmp 0x401f1c
jmp 0x401ea5
xor eax, eax
jmp 0x401f22
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4026db
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40271a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40271a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40271a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40271a
cmp dword [ecx + 0x74], 0xe
jbe 0x40271a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x408216
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 0x4082b3
push ebx
push esi
call fcn.004081df
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.00408128
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x408260
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4082b2
push edi
push eax
call fcn.00408e16
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x408280
call fcn.00406d51
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4082b1
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00408128
add esp, 0x20
test eax, eax
jne 0x40829f
push edi
call fcn.00406d51
jmp 0x4082a7
push ebx
call fcn.00406d51
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 0x409599
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410fe8
push 0x410fe0
push str.FlsAlloc
push 0x1e
call fcn.0040945a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4095cd
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f13c]
call esi
jmp 0x4095d3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x409617
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410ff8
push 0x410ff0
push str.FlsGetValue
push 0x20
call fcn.0040945a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40964e
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f13c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40ead0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40eafd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40eafd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40194c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.004019c0
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call sub.KERNEL32.dll_WriteFile
mov eax, dword [ebp - 8]
leave
ret 4
Function at 0x100064d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10006529
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10006529
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000651a
cmp esi, edx
jae 0x10006529
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10006508
cmp esi, edx
jae 0x10006529
cmp word [esi], 0
je 0x10006529
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x1000a8a0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
mov esi, dword [edx]
movsx eax, byte [esi]
add eax, 0xffffffde
cmp eax, 0x59
ja case.0x1000a8bf.35
movzx eax, byte [eax + 0x1000a9ac]
jmp dword [eax*4 + 0x1000a990]
lea eax, [esi + 1]
mov dword [edx], eax
cmp byte [eax], 0x75
jne 0x1000a8fa
inc eax
mov dword [edx], eax
cmp byte [eax], 0x6c
jne 0x1000a8fa
inc eax
mov dword [edx], eax
cmp byte [eax], 0x6c
jne 0x1000a8fa
add ecx, 0x18
inc eax
mov dword [edx], eax
mov esi, ecx
sub eax, dword [edx + 4]
mov edx, 0x10
mov dword [ecx], edx
mov dword [esi + 4], eax
pop esi
pop ebp
ret 8
add ecx, 0x18
sub eax, dword [edx + 4]
mov esi, ecx
mov edx, 3
mov dword [ecx], edx
mov dword [esi + 4], eax
pop esi
pop ebp
ret 8
lea eax, [esi + 1]
mov dword [edx], eax
cmp byte [eax], 0x72
jne 0x1000a8fa
inc eax
mov dword [edx], eax
cmp byte [eax], 0x75
jne 0x1000a8fa
inc eax
mov dword [edx], eax
cmp byte [eax], 0x65
jne 0x1000a8fa
add ecx, 0x18
inc eax
mov dword [edx], eax
mov esi, ecx
sub eax, dword [edx + 4]
mov edx, 0x10
mov dword [ecx], edx
mov dword [esi + 4], eax
pop esi
pop ebp
ret 8
lea eax, [esi + 1]
mov dword [edx], eax
cmp byte [eax], 0x61
jne 0x1000a8fa
inc eax
mov dword [edx], eax
cmp byte [eax], 0x6c
jne 0x1000a8fa
inc eax
mov dword [edx], eax
cmp byte [eax], 0x73
jmp 0x1000a921
push 0
push dword [ebp + 0xc]
push edx
call fcn.1000a640
pop esi
pop ebp
ret 8
pop esi
mov dword [ebp + 8], edx
pop ebp
jmp fcn.1000a450
pop esi
mov dword [ebp + 8], edx
pop ebp
jmp fcn.100099c0
pop esi
mov dword [ebp + 8], edx
pop ebp
jmp fcn.10009b90
Function at 0x100122a0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x100124b5
push ebx
push edi
cmp eax, 0x7c
je 0x100124b3
cmp eax, 0x29
jne 0x100122e1
cmp dword [esi + 0x10], 0
jne 0x100124b3
cmp eax, eax
jne 0x100122e1
test dword [esi + 0x50], 0x10000000
je 0x100124c2
jmp 0x1001246c
cmp eax, 0x2e
jne 0x1001233b
push 5
lea ecx, [esi + 0x24]
call fcn.10014de0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x1001232f
cmp byte [eax], 0x5c
jne 0x1001232c
lea ecx, [eax + 1]
cmp ecx, edx
je 0x1001232c
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x10012319
mov bl, byte [ecx]
cmp bl, 0x28
je 0x1001232a
cmp bl, 0x29
je 0x1001232a
test dl, 0x10
jne 0x1001232c
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x1001232a
cmp dl, 0x7d
jne 0x1001232c
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10015060
jmp 0x1001249e
cmp eax, 0x5c
jne 0x10012397
mov ecx, esi
call fcn.10014e50
test byte [esi + 0x50], 0x80
je 0x1001238b
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x1001236a
push 4
lea ecx, [esi + 0x24]
call fcn.10014de0
mov ecx, esi
call fcn.10014e50
jmp 0x100124a5
cmp al, 0x42
jne 0x1001238b
push 4
lea ecx, [esi + 0x24]
call fcn.10014de0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10014e50
jmp 0x100124a5
mov ecx, esi
call fcn.100124e0
jmp 0x1001249e
cmp eax, 0x5b
jne 0x100123f8
mov ecx, esi
call fcn.10014e50
lea ecx, [esi + 0x24]
call fcn.100118a0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x100123c4
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10014e50
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x100123e2
cmp eax, 0x5d
jne 0x100123e2
push eax
lea ecx, [esi + 0x24]
call fcn.10011830
mov ecx, esi
call fcn.10014e50
mov ecx, esi
call fcn.10012f20
cmp dword [esi + 0x4c], 0x5d
jne 0x100124cb
jmp 0x10012497
cmp eax, 0x28
jne 0x10012428
mov ecx, esi
call fcn.10014e50
mov ecx, esi
call fcn.100152b0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x100124c2
mov ecx, esi
call fcn.10014e50
test bl, bl
je 0x100124a5
jmp 0x1001249e
cmp eax, 0x5e
jne 0x10012440
push 2
lea ecx, [esi + 0x24]
call fcn.10014de0
mov ecx, esi
call fcn.10014e50
jmp 0x100124a5
cmp eax, 0x24
jne 0x10012458
push 3
lea ecx, [esi + 0x24]
call fcn.10014de0
mov ecx, esi
call fcn.10014e50
jmp 0x100124a5
cmp eax, 0x2a
je 0x100124b9
cmp eax, 0x2b
je 0x100124b9
cmp eax, 0x3f
je 0x100124b9
cmp eax, 0x7b
je 0x100124b9
cmp eax, 0x7d
jne 0x1001247c
test dword [esi + 0x50], 0x10000000
je 0x100124d4
jmp 0x1001248a
cmp eax, 0x5d
jne 0x1001248a
test dword [esi + 0x50], 0x10000000
je 0x100124cb
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10011720
mov ecx, esi
call fcn.10014e50
mov ecx, esi
call fcn.10014eb0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x100122b3
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.10014680
push 5
mov ecx, esi
call fcn.10014680
push 4
mov ecx, esi
call fcn.10014680
push 6
mov ecx, esi
call fcn.10014680
int3
Function at 0x10015570
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x100155a1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10015590
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x1001d440
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082496
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x100aa394]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1005be50
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call ebx
mov esi, dword [ebp + 8]
test esi, esi
je 0x1001d4c1
lea eax, [ebp - 0x218]
push eax
call ebx
sub esi, 1
jne 0x1001d4b3
push str.NetBridge.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.10004ec0
mov ecx, eax
test ecx, ecx
je 0x1001d623
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x21c]
call fcn.10004b90
test al, al
jne 0x1001d538
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d516
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.10006390
mov esi, dword [ebp - 0x21c]
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001d554
mov bl, 1
jmp 0x1001d562
push esi
call fcn.10034f90
add esp, 4
test eax, eax
sete bl
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001d581
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x1001d603
cmp dword [edi], 0
jne 0x1001d5ea
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x1001d603
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.zlib_uncompress
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.zlib_compress
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.zlib_compressBound
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x1001d5ea
call eax
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0
je 0x1001d603
cmp dword [edi + 4], 0
je 0x1001d603
cmp dword [edi + 0xc], 0
je 0x1001d603
mov eax, 1
jmp 0x1001d605
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003f57d
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10004b70
int3
Function at 0x1001ed80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100826a6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100aa394]
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1001ee2c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1001ee2c
call fcn.1001c6f0
mov esi, eax
jmp 0x1001ef1c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1001ee4f
call fcn.1001c6f0
jmp 0x1001ef0f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x1001ee6d
call fcn.1001c6f0
jmp 0x1001ef0f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x1001ee8e
mov esi, 0x8007000e
jmp 0x1001ef11
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1001c290
jmp 0x1001eeb8
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1001eecf
mov esi, 0x8007000e
jmp 0x1001ef11
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1001eeef
call fcn.1001c6f0
jmp 0x1001ef0f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.1001ebe0
mov esi, eax
test edi, edi
je 0x1001ef1c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1001ef40
lea ecx, [ebp - 0x418]
call fcn.1001cbf0
nop word [eax + eax]
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.1003f57d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100234b0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100a2038
push 0x1005c570
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x100aa394]
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 esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
test esi, esi
je 0x10023623
cmp word [esi], 0
je 0x10023623
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10023510
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x10023623
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10023623
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.1005be50
push esi
push str.__s_
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.10023650
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.1005be50
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], 0x1008b3c8
mov dword [ebp - 0x844], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x854], 0x440
cmp dword [ebp + 0x14], 0
je 0x100235c3
push esi
call fcn.10034f90
add esp, 4
test eax, eax
je 0x10023623
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x100235ea
cmp dword [ebp + 0x18], 0
je 0x100235ea
push 0xffffffffffffffff
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x100235ff
test esi, esi
je 0x1002360f
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x1002360f
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x1002362c
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
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.1003f57d
mov esp, ebp
pop ebp
ret
Function at 0x10026b90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x10026bc1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10026bb0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x100274a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100aa394]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.1005be50
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.1005be50
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10027503
cmp dword [ebp - 0x114], 6
mov eax, 0x30
jae 0x10027508
mov eax, 0x2c
mov ecx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x10027526
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov ecx, edi
jmp 0x10027528
mov eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x1002753c
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov ecx, dword [0x100ac850]
mov eax, esi
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1003f57d
mov esp, ebp
pop ebp
ret 0x18