joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005818
Capabilities:
Parse pe header

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

Function at 0x1000b0f6
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017ba0
push 0x10017b98
push str.FlsAlloc
push 0x1f
call fcn.1000afb5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b12a
push dword [ebp + 8]
mov ecx, esi
call dword [0x10016130]
call esi
jmp 0x1000b130
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000b174
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017bb0
push 0x10017ba8
push str.FlsGetValue
push 0x21
call fcn.1000afb5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b1ab
push dword [ebp + 8]
mov ecx, esi
call dword [0x10016130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000b1b3
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017bb8
push 0x10017bb0
push str.FlsSetValue
push 0x22
call fcn.1000afb5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b1ed
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10016130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000d60a
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 0x1000d6a7
push ebx
push esi
call fcn.1000d5d3
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.1000d567
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000d654
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000d6a6
push edi
push eax
call fcn.10009251
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000d674
call fcn.10009217
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000d6a5
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000d567
add esp, 0x20
test eax, eax
jne 0x1000d693
push edi
call fcn.10009217
jmp 0x1000d69b
push ebx
call fcn.10009217
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 0x1000d6aa
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1000d6bb
pop esi
ret
push ebx
push edi
push esi
call fcn.1000d5d3
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10009251
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1000d6e3
push ebx
push esi
push edi
call fcn.10005040
add esp, 0xc
push 0
call fcn.10009217
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1000dab3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1000d6f8
Function at 0x10015600
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001562d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001562d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x43f15a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x43f168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x43f14a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x43f145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x43f145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
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 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret
Function at 0x407180
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 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4a6b55ac
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x339c1007
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x100af22c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101db128]
jne 0x100af236
repz ret
jmp fcn.100b0c9b

Function at 0x100b1def
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.100af2ad
and dword [ebp - 4], 0
cmp dword [0x101dce68], 0
mov ebx, eax
jne 0x100b1ea0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100b1f51
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100b1f51
push eax
call fcn.100af23b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101dce68], eax
call esi
push eax
call fcn.100af23b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101dce6c], eax
call esi
push eax
call fcn.100af23b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101dce70], eax
call esi
push eax
call fcn.100af23b
pop ecx
mov dword [0x101dce78], eax
test eax, eax
je 0x100b1ea0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100af23b
pop ecx
mov dword [0x101dce74], eax
mov eax, dword [0x101dce74]
cmp eax, ebx
je 0x100b1ef8
cmp dword [0x101dce78], ebx
je 0x100b1ef8
push eax
call fcn.100af2b6
push dword [0x101dce78]
mov esi, eax
call fcn.100af2b6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100b1ef8
test edi, edi
je 0x100b1ef8
call esi
test eax, eax
je 0x100b1eef
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100b1eef
test byte [ebp - 0xc], 1
jne 0x100b1ef8
or dword [ebp + 0x10], 0x200000
jmp 0x100b1f31
mov eax, dword [0x101dce6c]
cmp eax, ebx
je 0x100b1f31
push eax
call fcn.100af2b6
pop ecx
test eax, eax
je 0x100b1f31
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100b1f31
mov eax, dword [0x101dce70]
cmp eax, ebx
je 0x100b1f31
push eax
call fcn.100af2b6
pop ecx
test eax, eax
je 0x100b1f31
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101dce68]
call fcn.100af2b6
pop ecx
test eax, eax
je 0x100b1f51
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100b1f53
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100b3918
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101dabb0], 0
mov byte [0x101dabb4], 0
mov edi, dword [0x101daba4]
add edi, 0xe84
mov dword [0x101daba8], edi
mov dword [0x101dabac], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100b3978
xor eax, eax
mov dword [0x101dabac], 0
mov dword [ebp - 0x20], eax
jmp 0x100b39aa
mov eax, dword [ebp - 0x1c]
mov dword [0x101daba8], 0x8b8
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101dabac]
add eax, 1
mov dword [0x101dabac], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100b3978
jmp 0x100b3967
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101dabb8], 0
mov edi, dword [0x101dabb0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101dabb8], esi
mov dword [0x101daba4], 0x233b
mov eax, esi
cdq
idiv ecx
mov dword [0x101dabb0], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101dabb4], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x101dabb4]
mov esi, dword [0x101dabb0]
mov byte [ebx + esi], cl
mov esi, dword [0x101dabac]
add esi, 1
mov dword [0x101dabac], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x100b39aa
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100b3c13
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x101c7cb3]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x101daba4], 0x1540
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.100b387c
mov dword [0x101daba4], 0x1b9e
call fcn.100b3eb2
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.100b374f
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x100b3d3e
mov eax, dword [ebp - 0x3c]
mov dword [0x101daba4], 0x505
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 [0x101daba4], 0x1847
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.100b3ae2
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101daba4], 0x14d0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 8], ecx
mov dword [0x101daba8], 0xc82
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x100b3d3e
mov eax, dword [ebp - 0x44]
add eax, 0x2481
mov ecx, dword [0x101daba4]
add ecx, 0x2182
mov dword [0x101daba4], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x100b4552
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.100b485c
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, dword [0x101daba4]
add edi, 0x20f3
mov dword [0x101daba4], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101daba8], 0x1487
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 0x100b4693
jmp 0x100b4611
mov eax, dword [ebp - 0x28]
add eax, 1
mov cl, byte [ebp - 0x29]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x2a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x30], eax
jne 0x100b463d
mov al, byte [ebp - 0x2a]
test al, 1
jne 0x100b45e7
jmp 0x100b466f
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101daba4], 0x954
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
jmp 0x100b4693
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 - 0x34], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov edx, dword [ebp - 0x44]
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 - 0x28], eax
mov byte [ebp - 0x29], bh
mov byte [ebp - 0x2a], cl
je 0x100b45db
jmp 0x100b45b3
xor eax, eax
mov ecx, dword [ebp - 0x34]
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 0x100b4623
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100b469e
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x101daba8]
add edx, 0xffffd94f
mov dword [0x101daba4], edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
jmp 0x100b46fe
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
jge 0x100b4745
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, eax
add edx, 0xffffe3e9
mov esi, dword [ebp - 0x14]
cmp word [esi + ecx*2], 0
mov edi, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edi
je 0x100b4745
jmp 0x100b46e1
mov dword [0x101daba8], 0x7a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x100b4762
jmp 0x100b47cc
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [0x101daba4], ecx
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x30], eax
je 0x100b4727
jmp 0x100b47cc
mov eax, dword [ebp - 0x2c]
add eax, 0xffffe7d7
mov dword [0x101daba4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x100b47cc
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100b47cc
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x100b47cc
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x100b47cc
mov eax, 1
mov dword [0x101daba4], 0xb63
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x34], eax
je 0x100b47d3
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x100b47d3
mov eax, dword [ebp - 0x34]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
Function at 0x100b4a05
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101dabac], 0
mov dword [0x101dabb0], 0
mov dword [0x101dabbc], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x100b4a62
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov dword [0x101daba4], 0x581
mov edi, edx
add edi, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x101dabac], edx
mov dword [0x101daba8], 0x20ec
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101dabb0], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x101dabb4], cl
mov dword [0x101daba8], 0x1c17
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101dabb4]
mov edx, dword [0x101dabb0]
mov byte [ebx + edx], cl
mov edx, dword [0x101dabac]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101dabb0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101dabbc], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov dword [0x101daba8], 0x2239
mov edx, dword [0x101daba4]
add edx, 0x97e
mov dword [0x101daba4], edx
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
je 0x100b4a5a
mov eax, dword [0x101dabac]
mov ecx, dword [0x101dabb0]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jmp 0x100b4a62
Function at 0x100b4b61
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 [0x101daba4], 0x895
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.100b400a
lea ecx, [0x100b3d48]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x24], edx
mov dword [esp + 0x6c], 0x15b400
mov edx, dword [0x101dab90]
mov dword [esp + 0x5c], edx
mov edx, dword [0x101dab94]
mov dword [esp + 0x70], edx
mov edx, dword [0x101dab98]
mov dword [esp + 0x54], edx
mov edx, dword [0x101dab9c]
mov dword [esp + 0x78], edx
mov edx, dword [0x101daba0]
mov dword [esp + 0x44], edx
mov dword [0x101daba8], 0x1d3f
mov dword [0x101daba4], 0x2324
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x100b4c33
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], eax
mov dword [0x101daba4], 0x4417
mov dword [0x101daba8], 0x94b
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x68], edx
call fcn.100b469e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
je 0x100b4c6a
jmp 0x100b4c97
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x100b4c56
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x100b4bf7
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x100b4c33
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100b3c13
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret