joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490c1f
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4cb040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x490c6a
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00490dba
test al, al
jne 0x490c64
sub edx, 2
cmp edx, edi
jne 0x490c4a
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x490c8c
lea eax, [edi + 2]
cmp edx, eax
je 0x490c8c
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00490b6b
add esp, 0x10
jmp 0x490d86
push esi
lea ecx, [ebp - 0x255]
call fcn.00490dba
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x490ccf
push dword [ebp - 0x25c]
jmp 0x490c7c
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x490d0c
cmp word [ebp - 0x226], 0
je 0x490d2d
cmp word [ebp - 0x226], ax
jne 0x490d0c
cmp word [ebp - 0x224], 0
je 0x490d2d
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00490b6b
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x490d79
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x490ce6
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x490d61
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x490d86
push 0x49099b
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00496a60
add esp, 0x10
jmp 0x490d56
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f83f
leave
ret

Function at 0x49169c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4916ad
pop esi
ret
push ebx
push edi
push esi
call fcn.00491665
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0048a79a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4916d5
push ebx
push esi
push edi
call fcn.00470dc0
add esp, 0xc
push 0
call fcn.0048a760
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x491aa5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004916ea
Function at 0x493bb7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0048ab26
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x493c26
cmp esi, dword [ebp - 4]
je 0x493c21
cmp dword [ebp + 0xc], 0
je 0x493c21
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x493bfe
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00493709
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x493c28
xor eax, eax
inc eax
jmp 0x493c28
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x493c8d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4cb040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0048ab26
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0048ab26
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x493d04
cmp word [ecx], dx
je 0x493d04
mov eax, dword [0x4ad114]
push edi
dec eax
push eax
push 0x4ad000
call fcn.00493c2c
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x493d77
cmp word [eax], dx
je 0x493d77
mov eax, dword [edi]
test eax, eax
je 0x493d28
cmp word [eax], dx
je 0x493d28
lea eax, [ebp - 0x10]
push eax
call fcn.0049360f
jmp 0x493d31
lea eax, [ebp - 0x10]
push eax
call fcn.004936aa
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x493da1
mov eax, dword [0x4acffc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4accf0
call fcn.00493c2c
add esp, 0xc
test al, al
je 0x493da1
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x493d6c
cmp word [eax], di
je 0x493d6c
lea eax, [ebp - 0x10]
push eax
call fcn.0049360f
pop ecx
jmp 0x493da3
lea eax, [ebp - 0x10]
push eax
call fcn.004936aa
jmp 0x493d69
mov eax, dword [edi]
test eax, eax
je 0x493d8e
cmp word [eax], dx
je 0x493d8e
lea eax, [ebp - 0x10]
push eax
call fcn.004935c4
pop ecx
jmp 0x493da1
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x493e6c
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00493ab1
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x493e6c
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x493e6c
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x493e6c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x493df9
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0048b519
test ebx, ebx
je 0x493e67
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0048b519
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x493e6c
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x493e6c
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004971b8
add esp, 0x10
xor eax, eax
inc eax
jmp 0x493e6e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f83f
leave
ret
Function at 0x49681f
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4cb040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x496862
call fcn.00479b92
mov dword [eax], 0xf
call fcn.00479ba5
mov dword [eax], 0xd
call fcn.00474895
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f83f
leave
ret
test eax, eax
jne 0x496869
inc eax
jmp 0x496856
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x496854
xor eax, eax
cmp ecx, 1
setne al
jmp 0x496856

Function at 0x498570
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x49859d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x49859d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430c40
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x208
cmp eax, 1
push ebx
push edi
jne case.default.0x430c9a
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], bl
mov byte [esp + 0x10c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x218]
add eax, 0xfffff006
cmp eax, 5
ja case.default.0x430c9a
jmp dword [eax*4 + 0x430ddc]
mov ecx, dword [0x5c88a4]
push ebx
call fcn.00408d70
pop edi
pop ebx
add esp, 0x208
ret 0x10
mov ecx, dword [0x5c8890]
push ebx
call fcn.0048aca0
pop edi
pop ebx
add esp, 0x208
ret 0x10
mov ecx, dword [0x5c88bc]
push ebx
push 1
call fcn.00472d50
push 0x13
jmp 0x430dc4
mov ecx, dword [0x5c88bc]
push ebx
push 1
call fcn.00472d50
lea ecx, [esp + 8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
lea edx, [esp + 8]
lea eax, [esp + 0x10c]
push edx
push str._sImagedpessg.list
push eax
call fcn.004b8784
add esp, 0xc
lea ecx, [esp + 0x10c]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push 0x13
jmp 0x430dc4
cmp dword [0x5c899c], ebx
je 0x430d82
mov ecx, dword [0x5c8890]
call fcn.0048be20
mov ecx, 0x5ecbb8
call fcn.0046af40
mov edx, dword [0x5d339c]
xor eax, eax
mov ecx, 0x4b0
mov dword [0x5d9ed0], ebx
mov dword [edx*4 + 0x5d33a0], ebx
mov edx, dword [0x5d339c]
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edi, [edx + edx*4]
shl edi, 6
add edi, 0x5c9d98
rep stosd dword es:[edi], eax
mov ecx, dword [0x5c88bc]
push ebx
push 1
call fcn.00472d50
mov ecx, dword [0x5c8884]
call fcn.0042b0b0
cmp eax, 1
jne 0x430dc2
mov eax, dword [0x5c8884]
mov dword [0x5d33c0], ebx
push ebx
mov ecx, dword [eax + 0xd40]
call fcn.004340e0
pop edi
pop ebx
add esp, 0x208
ret 0x10
push 9
mov ecx, dword [0x5c8884]
call fcn.0042b0e0
pop edi
pop ebx
add esp, 0x208
ret 0x10
Function at 0x70ba6247
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x70ba6267
mov eax, 0x80004005
jmp 0x70ba62f5
lea eax, [ebp - 4]
push esi
push eax
xor esi, esi
push 0x2000000
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x70ba62f2
lea eax, [ebp - 0x10]
push edi
push eax
push esi
push esi
lea eax, [ebp - 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
call edi
cmp eax, esi
jne 0x70ba62dc
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 4]
call fcn.70ba6247
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0x104
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 4]
jmp 0x70ba62a8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
xor eax, eax
pop esi
leave
ret 8

Function at 0x70ba7230
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x70ba72f4
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x70bd5be0], eax
call fcn.70baa0f0
test eax, eax
jne 0x70ba7254
ret 0xc
mov ecx, dword [0x70bd5be0]
xor edx, edx
mov eax, ecx
mov dl, ch
and eax, 0xff
mov dword [0x70bd5bec], edx
mov dword [0x70bd5be8], eax
shl eax, 8
add eax, edx
shr ecx, 0x10
mov dword [0x70bd5be4], eax
mov dword [0x70bd5be0], ecx
call fcn.70ba8080
test eax, eax
jne 0x70ba7296
call fcn.70baa130
xor eax, eax
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x70bd9ed8], eax
call fcn.70ba9f90
mov ecx, dword [0x70bd9ed8]
mov dword [0x70bd5b3c], eax
test ecx, ecx
je 0x70ba72e5
test eax, eax
je 0x70ba72e5
call fcn.70ba9470
call fcn.70ba9f80
call fcn.70ba97d0
call fcn.70ba96e0
call fcn.70ba9310
mov eax, dword [0x70bd5b38]
inc eax
mov dword [0x70bd5b38], eax
mov eax, 1
ret 0xc
call fcn.70ba80e0
call fcn.70baa130
xor eax, eax
ret 0xc
test eax, eax
jne 0x70ba7334
mov eax, dword [0x70bd5b38]
test eax, eax
jle 0x70ba732f
mov ecx, eax
mov eax, dword [0x70bd5c18]
dec ecx
test eax, eax
mov dword [0x70bd5b38], ecx
jne 0x70ba7318
call fcn.70ba9360
call fcn.70ba9680
call fcn.70ba80e0
call fcn.70baa130
mov eax, 1
ret 0xc
xor eax, eax
ret 0xc
cmp eax, 3
jne 0x70ba7343
push 0
call fcn.70ba81b0
add esp, 4
mov eax, 1
ret 0xc
Function at 0x70ba8080
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.70ba8ee0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x70bce4a0], eax
je 0x70ba80d8
push 0x74
push 1
call fcn.70baa810
mov esi, eax
add esp, 8
test esi, esi
je 0x70ba80d8
mov eax, dword [0x70bce4a0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x70ba80d8
push esi
call fcn.70ba8110
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x70ba8130
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x70bce4a0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x70ba819e
push 0x74
push 1
call fcn.70baa810
mov esi, eax
add esp, 8
test esi, esi
je 0x70ba8194
mov ecx, dword [0x70bce4a0]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x70ba8194
push esi
call fcn.70ba8110
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret
push 0x10
call fcn.70ba7400
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret

Function at 0x70ba81b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x70bce4a0]
cmp eax, 0xffffffff
je 0x70ba825f
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x70ba81d4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x70ba8250
mov eax, dword [esi + 0x24]
test eax, eax
je 0x70ba81e4
push eax
call fcn.70ba9110
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x70ba81f4
push eax
call fcn.70ba9110
add esp, 4
mov eax, dword [esi + 0x30]
test eax, eax
je 0x70ba8204
push eax
call fcn.70ba9110
add esp, 4
mov eax, dword [esi + 0x38]
test eax, eax
je 0x70ba8214
push eax
call fcn.70ba9110
add esp, 4
mov eax, dword [esi + 0x40]
test eax, eax
je 0x70ba8224
push eax
call fcn.70ba9110
add esp, 4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x70ba8234
push eax
call fcn.70ba9110
add esp, 4
mov eax, dword [esi + 0x50]
cmp eax, 0x70bce9a0
je 0x70ba8247
push eax
call fcn.70ba9110
add esp, 4
push esi
call fcn.70ba9110
add esp, 4
mov eax, dword [0x70bce4a0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
ret
Function at 0x70ba9370
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.70ba9430
mov eax, dword [0x70bd5c1c]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x70ba9394
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x70bd5c18], 1
mov byte [0x70bd5c14], bl
jne 0x70ba93ee
mov ecx, dword [0x70bd9ec8]
test ecx, ecx
je 0x70ba93dc
mov esi, dword [0x70bd9ec4]
sub esi, 4
cmp esi, ecx
jb 0x70ba93dc
mov eax, dword [esi]
test eax, eax
je 0x70ba93d5
call eax
mov ecx, dword [0x70bd9ec8]
sub esi, 4
cmp esi, ecx
jae 0x70ba93c7
push 0x70bc6020
push 0x70bc6018
call fcn.70ba9450
add esp, 8
push 0x70bc602c
push 0x70bc6024
call fcn.70ba9450
add esp, 8
test ebx, ebx
je 0x70ba940d
call fcn.70ba9440
pop esi
pop ebp
pop ebx
ret
push ebp
mov dword [0x70bd5c1c], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x43b63a
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
mov ecx, dword [esp]
add esp, 4
inc esi
and esi, esi
add eax, 0xce1b3f13
call fcn.0043b673
and eax, esi
xor dword [edx], ecx
or eax, eax
add edx, 1
add eax, eax
cmp edx, ebx
jne fcn.0043b63a
add eax, 0x223f3c26
ret
Function at 0x402fd0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x18
push ebx
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x402ffa
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret 0x10
mov eax, dword [esp + 4]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
push ebp
push esi
seto cl
neg ecx
or ecx, eax
push edi
push ecx
call fcn.004030f4
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], 0
mov ebp, eax
mov dword [esp + 0x20], ebp
test ecx, ecx
jle 0x40309b
mov eax, ebx
sub eax, ebp
mov dword [esp + 0x1c], eax
lea esp, [esp]
mov ebx, dword [eax + ebp]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
push esi
call fcn.004030f4
add esp, 4
mov edi, eax
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x14]
lea ebp, [ebp + 4]
inc eax
mov dword [ebp - 4], edi
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
jl 0x403040
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
push ebx
mov dword [ebp + ecx*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
push dword [esp + 0x14]
call fcn.004023a0
xor esi, esi
add esp, 8
mov edi, eax
cmp dword [esp + 0x10], esi
jle 0x4030d9
mov ecx, dword [ebp + esi*4]
test ecx, ecx
je 0x4030d9
push ecx
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
inc esi
add esp, 4
cmp esi, dword [esp + 0x10]
jl 0x4030c1
push ebp
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x27b225b2
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x74b472ae
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10011c00
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 0x10011c3e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10011c36
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10011c40
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10011c26
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10011d10
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 0x10011d26
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10011d41
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x1001c354
Capabilities:
Encode data using xor

Disassembly:
call 0x1001c2cd
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1001c2fd
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1001c319
xor edx, 0
jmp 0x1001c324
xor edx, edx
jmp 0x1001c33b
jmp 0x1001c347
xor eax, eax
push 0x8427d7c0
call 0x1001c354
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1001c390
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1001c369
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1001c3a7
add eax, 0
jno 0x1001c3ac
add esi, 0
ret 0x10
Function at 0x1001d115
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1001d137
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1001d2d9
cmp edi, dword [ebp + 0x10]
jb 0x1001d2d9
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1001cc01
inc edi
jmp 0x1001d1c0
jmp 0x1001d1cd
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001cc01
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001cc01
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1001d221
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1001d205
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001d24f
add dword [eax], 0x39
jle 0x1001d22b
sub al, 0xf5
mov ch, al
call fcn.1001d264
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1001ef3c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1001ef52
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1001ef63
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1001efa4
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx