joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41af4f
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00413780
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x41afea
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x424130]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x41afea
cmp eax, 1
je 0x41b00b
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x41afea
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x41afb7
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x41afe6
xor eax, eax
inc eax
jmp 0x41b02a
cmp edi, eax
jae 0x41afee
xor eax, eax
jmp 0x41b02a
cmp eax, esi
jae 0x41aff5
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov eax, dword [0x424130]
jmp 0x41b00e
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41b211
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x4245a0], ebx
push esi
push edi
jne 0x41b291
push 0x4202f0
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41b2cc
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x4202e4
push edi
call esi
test eax, eax
mov dword [0x4245a0], eax
je 0x41b2cc
push 0x4202d4
push edi
call esi
push 0x4202c0
push edi
mov dword [0x4245a4], eax
call esi
cmp dword [0x424130], 2
mov dword [0x4245a8], eax
jne 0x41b291
push 0x4202a4
push edi
call esi
test eax, eax
mov dword [0x4245b0], eax
je 0x41b291
push 0x42028c
push edi
call esi
mov dword [0x4245ac], eax
mov eax, dword [0x4245ac]
test eax, eax
je 0x41b2d6
call eax
test eax, eax
je 0x41b2bd
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x4245b0]
test eax, eax
je 0x41b2bd
test byte [ebp - 8], 1
jne 0x41b2d6
cmp dword [0x42413c], 4
jb 0x41b2d0
or byte [ebp + 0x12], 0x20
jmp 0x41b2f5
xor eax, eax
jmp 0x41b305
or byte [ebp + 0x12], 4
jmp 0x41b2f5
mov eax, dword [0x4245a4]
test eax, eax
je 0x41b2f5
call eax
mov ebx, eax
test ebx, ebx
je 0x41b2f5
mov eax, dword [0x4245a8]
test eax, eax
je 0x41b2f5
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x4245a0]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41be7c
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x41be95
or eax, 0xffffffff
jmp 0x41bef6
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x41bef2
push 0x3d
push esi
call fcn.0041322d
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x41bef2
cmp esi, eax
je 0x41bef2
xor ecx, ecx
cmp byte [eax + 1], cl
mov eax, dword [0x424150]
sete cl
cmp eax, dword [0x424154]
mov dword [ebp - 4], ecx
jne 0x41bed8
mov edi, eax
call fcn.0041be1b
mov dword [0x424150], eax
cmp eax, ebx
jne 0x41bf31
cmp dword [ebp + 0xc], ebx
je 0x41befa
cmp dword [0x424158], ebx
je 0x41befa
call fcn.0041b83f
test eax, eax
je 0x41bf31
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
je 0x41bf03
xor eax, eax
jmp 0x41bef5
push 4
call fcn.0041455f
cmp eax, ebx
pop ecx
mov dword [0x424150], eax
je 0x41bef2
mov dword [eax], ebx
cmp dword [0x424158], ebx
jne 0x41bf31
push 4
call fcn.0041455f
cmp eax, ebx
pop ecx
mov dword [0x424158], eax
je 0x41bef2
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
mov ebx, dword [0x424150]
sub edi, esi
push esi
call fcn.0041bdce
mov edi, eax
test edi, edi
pop ecx
jl 0x41bf98
cmp dword [ebx], 0
je 0x41bf98
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.00414571
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x41bf78
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x41bfd9
mov ecx, dword [esi + 4]
inc edi
mov dword [esi], ecx
lea esi, [ebx + edi*4]
cmp dword [esi], eax
jne 0x41bf6f
mov eax, edi
shl eax, 2
push eax
push dword [0x424150]
call fcn.0041680c
test eax, eax
mov esi, dword [ebp - 8]
pop ecx
pop ecx
je 0x41bfd9
jmp 0x41bfd4
cmp dword [ebp - 4], 0
jne 0x41c040
test edi, edi
jge 0x41bfa8
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x424150]
call fcn.0041680c
test eax, eax
pop ecx
pop ecx
je 0x41bef2
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov ecx, dword [ebp + 8]
and dword [ecx], 0
mov dword [0x424150], eax
cmp dword [ebp + 0xc], 0
je 0x41c02b
push esi
call fcn.004146e0
inc eax
inc eax
push eax
call fcn.0041455f
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x41c02b
push esi
push edi
call fcn.00417a80
mov eax, edi
sub eax, esi
add eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov byte [eax], 0
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableA]
test eax, eax
jne 0x41c024
or dword [ebp - 0x10], 0xffffffff
push edi
call fcn.00414571
pop ecx
cmp dword [ebp - 4], 0
je 0x41c038
push esi
call fcn.00414571
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x41bef5
push esi
call fcn.00414571
mov eax, dword [ebp + 8]
and dword [eax], 0
pop ecx
jmp 0x41beff
Function at 0x1006530
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
push 0x40
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x1006553
mov eax, 1
jmp 0x100665e
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0x1006569
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
jne 0x1006573
mov eax, 2
jmp 0x100665e
mov edx, dword [ebp + 0x10]
push edx
push 0xf8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x40
push edx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x100659e
mov eax, 1
jmp 0x100665e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0x4550
jne 0x10065c4
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x58]
cmp edx, 0x10b
jne 0x10065c4
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x46]
test ecx, ecx
jne 0x10065ce
mov eax, 2
jmp 0x100665e
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x46]
imul eax, eax, 0x28
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x140], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x140]
push eax
call fcn.01018a10
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x138], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x138], 0
jne 0x100660f
mov eax, 3
jmp 0x100665e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x54]
lea ecx, [ecx + eax + 0x18]
mov edx, dword [ebp + 8]
mov dword [edx + 0x13c], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x140]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x138]
push eax
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x100665c
mov eax, 1
jmp 0x100665e
xor eax, eax
pop ebp
ret

Function at 0x1007000
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x1007016
xor eax, eax
jmp 0x1007056
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0x100703b
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x100703f
xor eax, eax
jmp 0x1007056
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.01007060
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x10170d0
Capabilities:
Get steam token

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
push 0x64000
nop
call 0x76efb100
add esp, 4
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0x10205bd
lea ecx, [ebp - 0x1c]
call fcn.0101a740
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x1fffff
call 0x480d78
nop
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1017148
mov dword [ebp - 0x45c], 0x10205be
lea ecx, [ebp - 0x1c]
call fcn.0101a800
mov eax, dword [ebp - 0x45c]
jmp 0x10172df
mov edx, 1
test edx, edx
je 0x10172ae
mov byte [ebp - 0x438], 0
push 0x207
push 0
lea eax, [ebp - 0x437]
push eax
call fcn.0101aae0
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0xfff
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x1020ba8
mov edx, dword [ebp - 4]
push edx
call fcn.01016f00
add esp, 0x20
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x28]
add eax, 0x208
mov ecx, dword [ebp - 0x24]
adc ecx, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x24], 0
ja 0x10171ca
jb 0x10171c5
cmp dword [ebp - 0x28], 0
ja 0x10171ca
jmp 0x10172ae
cmp dword [ebp - 0x24], 0
ja 0x10171d9
cmp dword [ebp - 0x28], 0xffff
jbe 0x10171f5
push 0
push 0x208
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
push ecx
call 0x480e87
nop
lea edx, [ebp - 0x438]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0101a820
lea ecx, [ebp - 0x1c]
call fcn.0101aad0
push eax
call dword [fcn.0124a784]
cmp eax, 0x12c
jle 0x10172a9
lea ecx, [ebp - 0x1c]
call fcn.0101aad0
push eax
lea ecx, [ebp - 0x478]
call fcn.01017320
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x454]
push ecx
call fcn.01016b60
add esp, 8
lea ecx, [ebp - 0x478]
call fcn.01008060
lea ecx, [ebp - 0x454]
call fcn.01017380
movzx edx, al
test edx, edx
jne 0x101729e
lea ecx, [ebp - 0x454]
call fcn.01017360
cmp eax, 0xa
jbe 0x101729e
lea ecx, [ebp - 0x1c]
call fcn.0101aad0
mov dword [ebp - 0x47c], eax
lea ecx, [ebp - 0x454]
call fcn.01008060
lea ecx, [ebp - 0x1c]
call fcn.0101a800
mov eax, dword [ebp - 0x47c]
jmp 0x10172df
lea ecx, [ebp - 0x454]
call fcn.01008060
jmp 0x1017148
mov eax, dword [ebp - 8]
mov dword [ebp - 0x480], eax
mov ecx, dword [ebp - 0x480]
push ecx
nop
call 0x76efb0f3
add esp, 4
mov dword [ebp - 0x484], 0x10205bf
lea ecx, [ebp - 0x1c]
call fcn.0101a800
mov eax, dword [ebp - 0x484]
mov esp, ebp
pop ebp
ret

Function at 0x1019750
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1019780
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x1019793
xor eax, eax
jmp 0x1019851
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x10197ae
xor eax, eax
jmp 0x1019851
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0x4550
je 0x10197cc
xor eax, eax
jmp 0x1019851
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 0
jmp 0x101980e
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x18]
jae 0x101984f
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
push edx
call fcn.01018a30
add esp, 8
test eax, eax
jne 0x101984d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x1019851
jmp 0x1019805
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000e2b0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, eax
mov ecx, dword [esi + 4]
push edi
xor edi, edi
cmp ecx, edi
je 0x1000e2d4
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
push 0xe
call edx
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [esi + 4], edi
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x1000e2e7
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esi + 0xc], edi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x1c], edi
je 0x1000e332
mov eax, dword [esi + 0x24]
push eax
mov dword [esi + 0x20], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x1c]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000e31d
mov edx, dword [esi + 0x1c]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x1c]
push eax
call ebx
mov ecx, dword [esi + 0x24]
push ecx
call ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x1000e33f
push eax
call ebx
mov dword [esi + 0x14], edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea edx, [esi + 0x28]
push edx
call edi
add esi, 0x88
push esi
call edi
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x10010410
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x40
mov eax, dword [0x10032914]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
push edi
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
mov eax, 0x65
mov edx, eax
mov word [esp + 0x2e], dx
mov edx, 0x72
mov ecx, 0x6b
mov word [esp + 0x2c], cx
mov ecx, edx
mov word [esp + 0x30], cx
mov ecx, 0x6e
mov word [esp + 0x32], cx
mov ecx, eax
mov word [esp + 0x34], cx
mov ecx, 0x6c
mov word [esp + 0x36], cx
mov ecx, 0x33
mov word [esp + 0x38], cx
mov ecx, 0x32
mov word [esp + 0x3a], cx
mov ecx, 0x2e
mov word [esp + 0x3c], cx
mov ecx, 0x64
mov word [esp + 0x3e], cx
mov ecx, 0x6c
mov word [esp + 0x40], cx
mov word [esp + 0x42], cx
xor ecx, ecx
mov word [esp + 0x44], cx
mov cl, 0x74
mov byte [esp + 0x16], cl
mov byte [esp + 0x1a], cl
mov cl, 0x6d
mov byte [esp + 0x1f], dl
mov byte [esp + 0x23], dl
mov byte [esp + 0x1c], cl
mov byte [esp + 0x20], cl
mov cl, 0x61
lea edx, [esp + 0x2c]
xor edi, edi
push edx
mov dword [esp + 0x14], edi
mov byte [esp + 0x18], 0x47
mov byte [esp + 0x19], al
mov byte [esp + 0x1b], 0x53
mov byte [esp + 0x1c], 0x79
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1f], al
mov byte [esp + 0x21], 0x46
mov byte [esp + 0x22], 0x69
mov byte [esp + 0x25], 0x77
mov byte [esp + 0x26], cl
mov byte [esp + 0x28], al
mov byte [esp + 0x29], 0x54
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], 0x62
mov byte [esp + 0x2c], 0x6c
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100105e4
push ebp
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
je 0x100105d2
push edi
push edi
push edi
push 0x52534d42
call ebp
mov edi, eax
test edi, edi
je 0x100105d2
push edi
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
push edi
mov esi, eax
push esi
push 0
push 0x52534d42
call ebp
test eax, eax
je 0x100105d6
cmp byte [esi + 1], 2
jb 0x100105d6
cmp byte [esi + 2], 4
jb 0x100105d6
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100105bc
mov ecx, dword [0x10036f4c]
cmp ecx, dword [esi + 4]
jb 0x100105bc
mov edx, dword [esi + 4]
mov dword [0x10036f4c], edx
mov ecx, dword [esi + 4]
push ecx
lea edx, [esi + 8]
push edx
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
push ebx
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [esp + 0x14]
pop ebp
jmp 0x100105e8
mov eax, dword [esi + 4]
push ebx
mov dword [0x10036f4c], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [esp + 0x14]
pop ebp
jmp 0x100105e8
mov esi, dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [esp + 0x14]
pop ebp
jmp 0x100105e8
mov esi, dword [esp + 0xc]
test esi, esi
je 0x100105f5
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x48]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100217e0
add esp, 0x40
ret
Function at 0x10010610
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [0x10036f4c]
test edi, edi
je 0x100106a8
test edx, edx
je 0x100106a8
push ebx
mov eax, edx
push ebp
push esi
shr eax, 2
lea esi, [eax*4]
mov ecx, edx
sub ecx, esi
shr ecx, 1
lea ebp, [esi + edi]
lea esi, [ecx + eax*2]
add esi, esi
sub edx, esi
mov ebx, edx
lea edx, [esi + edi]
xor esi, esi
mov dword [esp + 0xc], ebx
test eax, eax
jbe 0x10010667
mov ebx, dword [0x10036f50]
xor dword [edi + esi*4], ebx
inc esi
cmp esi, eax
jb 0x10010655
mov ebx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
jbe 0x10010681
lea ecx, [ecx]
movzx esi, word [0x10036f54]
xor word [ebp + eax*2], si
inc eax
cmp eax, ecx
jb 0x10010670
xor eax, eax
test ebx, ebx
jbe 0x1001069e
jmp 0x10010690
mov cl, byte [0x10036f56]
xor byte [eax + edx], cl
inc eax
cmp eax, ebx
jb 0x10010690
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
xor eax, eax
pop ecx
ret
Function at 0x10013000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [eax]
push edi
push ebx
xor edi, edi
and esi, 7
mov dword [esp + 0xc], 0xffffffff
push ebp
mov edx, dword [esp + 0x18]
lea esp, [esp]
lea ebp, [edi + edx]
lea eax, [edx + 0x465]
cmp ebp, eax
jae 0x10013040
lea ecx, [ecx]
mov cl, byte [ebp]
and cl, 0xfe
cmp cl, 0xe8
je 0x10013040
inc ebp
cmp ebp, eax
jb 0x10013030
mov edi, ebp
sub edi, edx
cmp ebp, eax
mov eax, edi
jae 0x10013136
sub eax, dword [esp + 0x10]
cmp eax, 3
jbe 0x10013073
xor esi, esi
mov al, byte [ebp + 4]
mov dword [esp + 0x10], edi
test al, al
je 0x100130ae
cmp al, 0xff
je 0x100130ae
and esi, 3
add esi, esi
or esi, 1
inc edi
jmp 0x10013020
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x10013059
movzx eax, byte [esi + 0x100287e0]
mov ecx, ebp
sub ecx, eax
cmp byte [esi + 0x100287d8], 0
mov al, byte [ecx + 4]
je 0x1001309c
test al, al
je 0x1001309c
cmp al, 0xff
jne 0x10013059
and esi, 3
add esi, esi
mov dword [esp + 0x10], edi
or esi, 1
inc edi
jmp 0x10013020
movzx ecx, byte [ebp + 2]
movzx edx, al
movzx eax, byte [ebp + 3]
shl edx, 8
or edx, eax
movzx eax, byte [ebp + 1]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
lea esp, [esp]
lea eax, [edi + edx + 5]
test esi, esi
je 0x1001310c
movzx edx, byte [esi + 0x100287e0]
add edx, edx
add edx, edx
add edx, edx
mov ecx, 0x18
sub ecx, edx
mov ebx, eax
shr ebx, cl
test bl, bl
je 0x100130f9
cmp bl, 0xff
jne 0x1001310c
mov ecx, 0x20
sub ecx, edx
mov edx, 1
shl edx, cl
dec edx
xor edx, eax
jmp 0x100130d0
mov ecx, eax
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [ebp + 4], cl
mov edx, eax
mov ecx, eax
shr edx, 0x10
shr ecx, 8
mov byte [ebp + 3], dl
mov byte [ebp + 2], cl
mov byte [ebp + 1], al
add edi, 5
jmp 0x10013018
sub eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, 3
jbe 0x1001314f
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [edx], eax
mov eax, edi
pop edi
pop esi
pop ecx
ret
lea ecx, [eax - 1]
mov eax, dword [esp + 0x14]
shl esi, cl
and esi, 7
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ecx
ret

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

Disassembly:
xor edx, edx
push esi
mov dword [eax + 0x30], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x2c], 0x20
mov dword [eax + 0x50], 1
mov dword [eax + 0x48], 4
mov dword [eax + 0x4c], edx
mov dword [eax + 0x54], edx
lea esi, [eax + 0x6c]
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x100132d7
pop esi
ret
Function at 0x10014b00
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x10014b10
pop edi
pop ebx
ret

Function at 0x10014b40
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, 0x100
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x10014b50
pop esi
pop ebp
pop ebx
ret

Function at 0x10014cb0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, eax
mov edi, ecx
xor eax, eax
lea edx, [eax + 1]
test edi, edi
je 0x10014cf2
push ebx
push ebp
mov ebx, dword [esp + 0x14]
movzx ebx, word [ebx + edx*2]
mov ecx, esi
and ecx, 1
mov ebp, ecx
neg ebp
sar ebp, 4
and ebp, 0x7f
shr ebx, 4
xor ebx, ebp
mov ebp, dword [esp + 0x18]
add eax, dword [ebp + ebx*4]
add edx, edx
shr esi, 1
or edx, ecx
sub edi, 1
jne 0x10014cc1
pop ebp
pop ebx
pop edi
pop esi
ret