joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10216e39
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x10216e60
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x10216e63
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.10216e15
pop esi
leave
ret 8
Function at 0x401230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401289
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401289
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x401278
cmp esi, edx
jae 0x401289
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x401266
cmp esi, edx
jae 0x401289
cmp word [esi], 0
je 0x401289
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x409807
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x409846
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x409846
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x409846
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x409846
cmp dword [ecx + 0x74], 0xe
jbe 0x409846
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4140ed
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 0x41418a
push ebx
push esi
call fcn.004140b6
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.0041404a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x414137
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x414189
push edi
push eax
call fcn.00411198
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x414157
call fcn.0041115e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x414188
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041404a
add esp, 0x20
test eax, eax
jne 0x414176
push edi
call fcn.0041115e
jmp 0x41417e
push ebx
call fcn.0041115e
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 0x41438a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41f260
push 0x41f258
push str.FlsAlloc
push 0x1f
call fcn.004142a6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4143be
push dword [ebp + 8]
mov ecx, esi
call dword [0x41c230]
call esi
jmp 0x4143c4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x414408
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41f270
push 0x41f268
push str.FlsGetValue
push 0x21
call fcn.004142a6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41443f
push dword [ebp + 8]
mov ecx, esi
call dword [0x41c230]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x414447
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41f278
push 0x41f270
push str.FlsSetValue
push 0x22
call fcn.004142a6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x414481
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41c230]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1019447e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101b14f0]
jne 0x10194488
repz ret
jmp fcn.1019539c

Function at 0x1019659b
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.10193834
and dword [ebp - 4], 0
cmp dword [0x101b2a0c], 0
mov ebx, eax
jne 0x1019664c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101966fd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101966fd
push eax
call fcn.101937c2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101b2a0c], eax
call esi
push eax
call fcn.101937c2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101b2a10], eax
call esi
push eax
call fcn.101937c2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101b2a14], eax
call esi
push eax
call fcn.101937c2
pop ecx
mov dword [0x101b2a1c], eax
test eax, eax
je 0x1019664c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101937c2
pop ecx
mov dword [0x101b2a18], eax
mov eax, dword [0x101b2a18]
cmp eax, ebx
je 0x101966a4
cmp dword [0x101b2a1c], ebx
je 0x101966a4
push eax
call fcn.1019383d
push dword [0x101b2a1c]
mov esi, eax
call fcn.1019383d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101966a4
test edi, edi
je 0x101966a4
call esi
test eax, eax
je 0x1019669b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1019669b
test byte [ebp - 0xc], 1
jne 0x101966a4
or dword [ebp + 0x10], 0x200000
jmp 0x101966dd
mov eax, dword [0x101b2a10]
cmp eax, ebx
je 0x101966dd
push eax
call fcn.1019383d
pop ecx
test eax, eax
je 0x101966dd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101966dd
mov eax, dword [0x101b2a14]
cmp eax, ebx
je 0x101966dd
push eax
call fcn.1019383d
pop ecx
test eax, eax
je 0x101966dd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101b2a0c]
call fcn.1019383d
pop ecx
test eax, eax
je 0x101966fd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101966ff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10197bbe
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov dword [ebp - 8], 0
mov dword [0x101b0d34], 0x24f2
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, 0x13da
mov esi, dword [ebp - 8]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [0x101b0d34], 0x13da
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x10197c7a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10197cc1
jmp 0x10197d18
mov eax, dword [ebp - 0x20]
add esp, 0x28
pop esi
pop ebp
ret
mov dword [0x101b0d34], 0x5bf
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10197d18
mov dword [0x101b0d38], 0x47
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10197c07
jmp 0x10197d18
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x10197c28
jmp 0x10197d18
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp word [edx + ecx*2], 0
mov esi, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], esi
je 0x10197c63
mov eax, dword [ebp - 0x28]
add eax, 0xfffffe00
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [0x101b0d34], eax
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], eax
jl 0x10197c7a
jmp 0x10197c63
mov dword [0x101b0d34], 0xfffffa1e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10197d18
mov dword [0x101b0d38], 0x519
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10197d18
mov eax, 1
mov dword [0x101b0d34], 0x24bd
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x10197c1f
xor eax, eax
mov dword [0x101b0d34], 0x1321
mov dword [ebp - 0x20], eax
jmp 0x10197c1f
Function at 0x10197fd4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, 0x11f9
mov dword [0x101b0d40], 0
mov byte [0x101b0d44], 0
mov dword [0x101b0d34], 0x1887
mov dword [0x101b0d3c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jmp 0x10198050
mov dword [0x101b0d34], 0x3b1
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x101b0d34], 0xfffff035
mov dword [0x101b0d3c], 0
mov dword [ebp - 0x24], eax
jmp 0x10198094
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x41f
mov ebx, ecx
mov dword [0x101b0d38], eax
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], bl
mov dword [0x101b0d34], 0xaad
mov ecx, dword [0x101b0d3c]
add ecx, 1
mov dword [0x101b0d3c], ecx
cmp ecx, 0x100
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
jl 0x10198050
jmp 0x10198035
mov eax, dword [ebp - 0x24]
mov ecx, 0x100
mov dword [ebp - 0x28], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101b0d48], 0
mov edi, dword [0x101b0d38]
mov ebx, edi
add ebx, 0x1f68
mov dword [0x101b0d34], ebx
mov ebx, dword [0x101b0d40]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [esi + ecx]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add ecx, edx
mov dword [0x101b0d48], ecx
add edi, 0xfffffb7b
mov dword [0x101b0d38], edi
mov eax, ecx
cdq
mov ecx, dword [ebp - 0x2c]
idiv ecx
mov dword [0x101b0d40], edx
mov dword [0x101b0d34], 0xb5f
mov edi, dword [ebp - 0x28]
mov cl, byte [esi + edi]
mov byte [0x101b0d44], cl
mov dword [0x101b0d38], 0x148d
mov cl, byte [esi + edx]
mov byte [esi + edi], cl
mov edx, dword [0x101b0d34]
add edx, 0xfffffb13
mov dword [0x101b0d38], edx
mov cl, byte [0x101b0d44]
mov edx, dword [0x101b0d40]
mov byte [esi + edx], cl
mov dword [0x101b0d34], 0x106c
mov edx, dword [0x101b0d3c]
add edx, 1
mov dword [0x101b0d3c], edx
cmp edx, 0x100
mov dword [ebp - 0x24], edx
jl 0x10198094
jmp 0x10198023
Function at 0x101983cf
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 1
lea esi, [ebp - 0x24]
mov dword [0x101b0d34], 0x15fa
mov dword [0x101b0d38], 0xfffffb3e
mov byte [ebp - 0x24], 0x56
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1019a1dc]
mov dh, byte [eax + 0x1019a1ad]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x34], ecx
jne 0x10198408
mov dword [0x101b0d38], 0x10bc
mov dword [0x101b0d34], 0x1c28
call fcn.1019821c
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.101975a4
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
je 0x10198518
mov dword [0x101b0d38], 0x6ae
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x101b0d34], 0x1d1e
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.10197780
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx], ecx
mov dword [0x101b0d38], 0x1af1
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x54], ecx
mov dword [0x101b0d34], 0x1860
cmp ecx, 0
mov dword [ebp - 0x3c], eax
je 0x10198518
mov eax, dword [ebp - 0x40]
add eax, 0x17f4
mov dword [0x101b0d38], 0xb20
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x4c
pop esi
pop ebp
ret
Function at 0x101986e7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [0x101b0d38], 0x968
mov dword [ebp - 0x10], eax
call fcn.10198985
xor ecx, ecx
mov edx, eax
mov dword [0x101b0d38], 0x15f9
mov esi, dword [eax + 0x3c]
mov dword [0x101b0d34], 0xfffff591
mov dword [0x101b0d38], 0x58
mov esi, dword [eax + esi + 0x78]
mov dword [0x101b0d38], 0xfffffbf7
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101b0d34], 0x38ca
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10198844
jmp 0x10198793
mov al, byte [ebp - 0x25]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x2c]
add edx, 1
mov ah, byte [ebp - 0x2d]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x34], edx
jne 0x101987bf
jmp 0x101987e8
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x25], bh
mov byte [ebp - 0x2d], cl
jne 0x10198768
mov al, byte [ebp - 0x2d]
test al, 1
jne 0x10198817
jmp 0x101987f1
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x24], eax
jb 0x101987a5
jmp 0x10198844
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov dword [0x101b0d34], 0x2457
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101b0d38], 0x163f
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x24]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10198b28
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x93e
xor ebx, ebx
mov dword [0x101b0d3c], 0
mov dword [0x101b0d40], 0
mov dword [0x101b0d4c], 0
mov dword [0x101b0d34], 0x1b7a
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10198cb6
jmp 0x10198bac
mov eax, dword [0x101b0d40]
mov ecx, dword [0x101b0d3c]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x109d
mov edi, 0x100
mov dword [0x101b0d34], 0xcd7
add edx, 1
mov ebx, ecx
add ebx, 1
mov dword [ebp - 0x34], eax
mov eax, edx
cdq
idiv edi
mov dword [0x101b0d3c], edx
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x34]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x101b0d40], edx
mov dword [0x101b0d34], 0x1a1e
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x3c]
mov cl, byte [ecx + edi]
mov byte [0x101b0d44], cl
mov dword [0x101b0d38], 0xfffff974
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x24]
mov byte [edx + edi], cl
mov cl, byte [0x101b0d44]
mov edx, dword [0x101b0d40]
mov edi, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov dword [0x101b0d34], 0x6cf
mov edx, dword [0x101b0d3c]
movzx edx, byte [edi + edx]
mov ecx, dword [0x101b0d40]
movzx ecx, byte [edi + ecx]
add ecx, edx
mov dword [0x101b0d34], 0x257e
and ecx, 0xff
mov dword [0x101b0d4c], ecx
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x38]
xor cl, byte [edx + edi]
mov byte [0x101b0d50], cl
mov dword [0x101b0d38], 0x16d0
mov edx, dword [ebp - 0x20]
mov byte [edx + edi], cl
mov dword [0x101b0d34], 0x22d9
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
jne 0x10198b95
mov eax, dword [ebp - 0x2c]
mov dword [0x101b0d34], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10198cc6
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x101b0d34], 0x1742
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.101978b0
lea ecx, [0x10198521]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x70], edx
mov dword [esp + 0x28], 0x130800
mov edx, dword [0x101b0d20]
mov dword [esp + 0x68], edx
mov edx, dword [0x101b0d24]
mov dword [esp + 0x7c], edx
mov dword [0x101b0d38], 0x848
mov edx, dword [0x101b0d28]
mov dword [esp + 0x60], edx
mov edx, dword [0x101b0d2c]
mov dword [esp + 0x78], edx
mov edx, dword [0x101b0d30]
mov dword [esp + 0x24], edx
mov dword [0x101b0d34], 0x96b
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x10198e0b
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10198e0b
lea eax, [esp + 0x20]
mov dword [0x101b0d34], 0x996
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101983cf
mov dword [0x101b0d34], 0x26f7
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x101b0d38]
add ecx, 0xfffff46a
mov dword [0x101b0d34], ecx
mov dword [esp + 0xc], eax
jmp 0x10198e37
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], eax
mov dword [0x101b0d38], 0x58
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x5c], edx
mov dword [0x101b0d34], 0xc36
call fcn.10197bbe
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
je 0x10198d76
jmp 0x10198e37
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10198d5f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x10198dcb
jmp 0x10198d5f
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x484b2afb
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6d4408f9
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219