joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d800
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x408
push ebp
mov ebp, dword [esp + 0x414]
test ebp, ebp
je 0x40d8d8
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40d8d8
mov ecx, dword [esp + 0x410]
lea eax, [esp + 4]
push eax
push 0x10008
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d8dd
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push 0
lea eax, [esp + 0x24]
push edx
push eax
push 0
push ecx
mov dword [esp + 0x30], 0x400
call edi
mov esi, eax
cmp esi, 0x103
je 0x40d8b0
test esi, esi
jne 0x40d8c1
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0040d800
mov esi, eax
add esp, 8
test esi, esi
je 0x40d850
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x408
ret
mov ecx, dword [esp + 0x418]
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x408
ret
mov eax, 0x3f2
pop ebp
add esp, 0x408
ret
Function at 0x40f2d0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
lea eax, [esp + 8]
push edi
mov edi, dword [esp + 0x18]
push eax
push 0x800
mov dword [esp + 0xc], 1
call fcn.00402160
add esp, 8
test eax, eax
jne 0x40f300
mov eax, 1
pop edi
add esp, 0x10
ret
mov edx, dword [0x42b6b4]
lea ecx, [esp + 0x10]
push ebp
push ecx
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 0x1c], eax
je 0x40f451
push eax
call fcn.0041aba0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x40f451
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x42b6b4]
push ebx
push esi
push ebp
push eax
push ecx
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40f446
mov al, byte [edi + 0x1a]
mov esi, dword [esp + 0x18]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
test al, 2
je 0x40f3d8
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0x426ac8
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40f3d8
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x2c]
mov eax, dword [edx + 8]
cmp eax, ecx
ja 0x40f396
jne 0x40f3d8
mov edx, dword [edx + 0xc]
mov eax, dword [edi + 0x30]
cmp edx, eax
jbe 0x40f3d8
push 0x1d
push 7
call fcn.004039a0
mov cl, byte [eax]
add esp, 8
test cl, cl
je 0x40f43e
mov ecx, dword [0x42bb70]
test ecx, ecx
jne 0x40f43e
mov ecx, dword [0x42b6b4]
push ecx
push eax
push esi
call ebx
push 0x124
push esi
call fcn.00403960
add esp, 0x14
cmp eax, 6
jne 0x40f43e
mov eax, dword [0x42bb70]
test eax, eax
jne 0x40f446
test byte [edi + 0x1a], 4
je 0x40f446
lea edx, [esp + 0x24]
lea eax, [esp + 0x14]
push edx
push eax
push str.VarFileInfoTranslation
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40f446
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x3c]
xor ecx, ecx
mov cx, word [edx]
cmp eax, ecx
je 0x40f446
push 0x1e
push 7
call fcn.004039a0
add esp, 8
test eax, eax
je 0x40f446
mov ecx, dword [0x42b6b4]
push ecx
push eax
push esi
call ebx
push 0x124
push esi
call fcn.00403960
add esp, 0x14
cmp eax, 6
je 0x40f446
mov dword [esp + 0x10], 0
push ebp
call fcn.0041ad03
add esp, 4
pop esi
pop ebx
lea edx, [esp + 0x10]
push edx
call fcn.004021a0
mov eax, dword [esp + 0xc]
add esp, 4
pop ebp
pop edi
add esp, 0x10
ret
Function at 0x40fff0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionSharedDLLs
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410099
lea ecx, [esp + 0xc]
lea edx, [esp]
push ecx
mov ecx, dword [0x42b6b4]
lea eax, [esp + 8]
push edx
mov edx, dword [esp + 0x10]
push eax
push 0
push ecx
push edx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 4
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41005c
inc dword [esp]
jmp 0x41006c
mov dword [esp], 1
mov dword [esp + 4], 4
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
lea ecx, [esp]
push eax
mov eax, dword [0x42b6b4]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x10
ret
Function at 0x4105b0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x42ba88]
sub esp, 0x208
test eax, eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
jne 0x410693
push 0x42ba88
push 0x104
call fcn.00402160
add esp, 8
test eax, eax
jne 0x4105fb
pop edi
pop esi
pop ebp
mov dword [0x42bb74], 0xc
or eax, 0xffffffff
pop ebx
add esp, 0x208
ret
mov ebp, dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ebx, 1
mov eax, dword [0x42ba88]
push eax
push 0x104
call ebp
mov ecx, dword [0x42ba88]
push ecx
call fcn.004020b0
mov edx, dword [0x42ba88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
add ecx, edx
push str.icptmp_d
push ecx
call esi
mov edx, dword [0x42ba88]
push edx
call fcn.0041ad98
add esp, 0x14
test eax, eax
jne 0x41065a
inc ebx
cmp ebx, 0x3e7
jl 0x410606
jmp 0x41066c
mov eax, dword [0x42ba88]
push eax
call fcn.0041ad6c
add esp, 4
test eax, eax
je 0x410693
mov ecx, dword [0x42ba88]
mov dword [0x42bb74], 0x11
push ecx
call fcn.0040aa10
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
mov edx, dword [0x42ba88]
push edx
call fcn.004020b0
mov ebx, dword [esp + 0x220]
mov ecx, dword [0x42ba88]
lea edx, [esp + 0x14]
mov eax, dword [ebx + 6]
push eax
push ecx
push str._s_d.bin
push edx
call esi
mov eax, dword [0x42ba88]
push eax
call fcn.004020f0
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.004010e0
mov ebp, dword [esp + 0x244]
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
jne 0x41078e
mov eax, dword [0x42ba74]
mov edx, dword [ebx + 6]
push edx
lea edx, [esp + 0x118]
mov ecx, dword [eax + 0x70]
add ecx, eax
push ecx
push str._s_d.bin
push edx
call esi
mov eax, dword [esp + 0x230]
mov ecx, dword [ebx + 0xa]
push ebp
push eax
lea edx, [esp + 0x12c]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00410330
add esp, 0x24
test eax, eax
je 0x410767
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.004010e0
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
jne 0x41078e
lea edx, [esp + 0x10]
mov dword [0x42bb74], 0x10
push edx
call fcn.0040aa10
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
lea eax, [esp + 0x114]
mov dword [0x42bb74], 0x10
push eax
call fcn.0040aa10
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
push ebp
call fcn.00401ea0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x4107b0
Capabilities:
Set current directory

Disassembly:
mov eax, dword [0x42ba88]
test eax, eax
je 0x41084e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push eax
call ebx
test eax, eax
je 0x410840
push esi
push 1
push 0x118
call fcn.0041ac52
mov esi, eax
add esp, 8
test esi, esi
je 0x410829
push edi
push esi
push str..bin
call fcn.0041b851
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x41081f
test byte [esi], 0x10
jne 0x410808
lea eax, [esi + 0x14]
push eax
call fcn.0041afd0
add esp, 4
push esi
push edi
call fcn.0041b91b
add esp, 8
test eax, eax
je 0x4107f7
push edi
call fcn.0041b9e0
add esp, 4
push esi
call fcn.0041ad03
add esp, 4
pop edi
push 0x426b24
call ebx
mov ecx, dword [0x42ba88]
push ecx
call fcn.0041b827
add esp, 4
pop esi
push 0x42ba88
call fcn.004021a0
add esp, 4
pop ebx
ret

Function at 0x4108d0
Capabilities:
Copy file

Disassembly:
push ecx
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push 0x104
xor ebp, ebp
call fcn.00402160
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov edx, ebx
add esp, 8
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4108f5
push 0x5c
push ebx
call fcn.0041aa50
add esp, 8
test eax, eax
je 0x410911
inc eax
jmp 0x410913
mov eax, ebx
mov edi, dword [esp + 0x20]
mov edx, eax
mov ecx, edi
sub edx, edi
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x41091d
mov esi, dword [esp + 0x18]
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x410962
mov dword [0x42bb74], 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x42bb64]
mov dword [0x42bb78], eax
mov ecx, edi
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x410956
jmp 0x41098d
push 2
push esi
mov ebp, 1
call fcn.0041a9fd
add esp, 8
test eax, eax
je 0x41098d
cmp dword [0x42bbac], 0xd
jne 0x41098d
push 0x180
push esi
call fcn.0041a8bc
add esp, 8
lea ecx, [esp + 0x10]
push ecx
call fcn.004021a0
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x411690
Capabilities:
Delete registry value
Encode data using xor
Set registry value

Disassembly:
sub esp, 0x1c
call fcn.0040b6a0
test eax, eax
je 0x41171b
call fcn.004109b0
test eax, eax
je 0x411713
push ebx
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
push ebp
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
push esi
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call esi
test eax, eax
je 0x411706
push 0
push 0
lea ecx, [esp + 0x18]
push 0
push ecx
call edi
test eax, eax
je 0x4116f3
lea edx, [esp + 0x10]
push edx
call ebx
lea eax, [esp + 0x10]
push eax
call ebp
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
call esi
test eax, eax
jne 0x4116d4
call fcn.004109b0
test eax, eax
jne 0x4116c1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
jmp fcn.0040e800
add esp, 0x1c
ret
Function at 0x412710
Capabilities:
Check for software breakpoints
Encode data using xor

Disassembly:
mov eax, dword [0x42bb5c]
sub esp, 0x14
cmp eax, 0xffffffff
push ebx
push ebp
push esi
push edi
je 0x412860
mov ecx, dword [0x42bb60]
mov edx, dword [eax*4 + 0x42b990]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x412732
mov eax, dword [0x42ba50]
test eax, eax
je 0x412860
cmp dword [eax + 8], 1
jne 0x412860
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x412860
mov edi, 0x426268
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
mov dword [0x42615c], 0x4093d0
test ecx, ecx
mov dl, 0x2c
lea ebp, [esp + 0x10]
jle 0x41279f
mov al, dl
shl al, 7
shr dl, 1
add dl, al
mov al, byte [esi + 0x426268]
xor al, dl
mov byte [ebp], al
inc ebp
inc esi
cmp esi, ecx
jl 0x412785
lea ecx, [esp + 0x10]
mov byte [ebp], 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
je 0x41282c
mov edi, 0x426274
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
mov dl, 0x2c
test ecx, ecx
lea ebp, [esp + 0x10]
jle 0x4127eb
mov al, dl
shl al, 7
shr dl, 1
add dl, al
mov al, byte [esi + 0x426274]
xor al, dl
mov byte [ebp], al
inc ebp
inc esi
cmp esi, ecx
jl 0x4127d1
lea ecx, [esp + 0x10]
mov byte [ebp], 0
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
test eax, eax
mov dword [esp + 0x20], edx
je 0x41282c
cmp byte [eax], 0xcc
je 0x412820
call eax
test eax, eax
je 0x41282c
mov dword [0x42baa0], 1
jmp 0x412860
mov eax, dword [0x42ba50]
mov dword [0x426160], 0x40a260
test eax, eax
je 0x412856
cmp dword [eax + 8], 1
jne 0x412856
mov ecx, dword [eax + 0x14]
mov dword [0x42615c], 0x409970
test ecx, ecx
je 0x412860
mov dword [0x42615c], 0x409c10
mov eax, dword [esp + 0x28]
xor esi, esi
mov dword [0x42bb5c], eax
mov dword [0x42b744], esi
mov ecx, dword [eax*4 + 0x42ba10]
mov dword [0x42b740], esi
cmp ecx, esi
je 0x412893
mov edx, dword [ecx]
add ecx, 4
mov dword [0x42b744], edx
mov dword [0x42b740], ecx
mov ecx, dword [eax*4 + 0x42b9d0]
mov edx, dword [0x42bb60]
mov dword [0x42ba50], ecx
mov ecx, dword [eax*4 + 0x42b990]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4128ad
mov eax, dword [0x42ba50]
cmp eax, esi
je 0x4128d5
cmp dword [eax + 8], 1
jne 0x4128d5
cmp dword [eax + 0x14], esi
jne 0x4128d5
mov dword [0x42615c], 0x409970
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x412d60
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x318
push esi
mov esi, dword [esp + 0x320]
test esi, esi
je 0x412d80
push 0x180
push esi
call fcn.0041a8bc
add esp, 8
mov eax, dword [0x42bafc]
test eax, eax
je 0x412dcb
test esi, esi
jne 0x412dac
mov eax, dword [esp + 0x324]
push 4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
neg eax
sbb eax, eax
pop esi
neg eax
add esp, 0x318
ret
mov ecx, dword [esp + 0x324]
push 5
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
neg eax
sbb eax, eax
pop esi
neg eax
add esp, 0x318
ret
mov eax, dword [esp + 0x324]
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea edx, [esp + 0x11c]
push 0x104
push edx
push eax
call edi
test esi, esi
je 0x412dfe
lea ecx, [esp + 0x220]
push 0x104
push ecx
push esi
call edi
lea edx, [esp + 0x18]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x18]
push str.WININIT.INI
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
test esi, esi
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
je 0x412e60
lea ecx, [esp + 0x18]
lea edx, [esp + 0x11c]
push ecx
lea eax, [esp + 0x224]
push edx
push eax
push str.Rename
call esi
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
call esi
pop edi
pop ebp
mov eax, 1
pop esi
add esp, 0x318
ret
lea edx, [esp + 0x18]
lea eax, [esp + 0x11c]
push edx
push eax
push 0x426b44
push str.Rename
call esi
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
call esi
lea edx, [esp + 0x18]
push 2
push edx
call fcn.004010e0
mov ebp, eax
add esp, 8
cmp ebp, 0xffffffff
je 0x412f78
push ebx
push ebp
call fcn.00401260
mov ebx, eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], ebx
lea ecx, [ebx + 0x200]
push ecx
call fcn.00402120
add esp, 0xc
test eax, eax
je 0x412f6e
mov esi, dword [esp + 0x10]
push ebx
push esi
push ebp
call fcn.00401160
add esp, 0xc
test eax, eax
jne 0x412f61
add ebx, 0xfffffffc
mov edx, esi
test ebx, ebx
jbe 0x412f61
mov eax, 0xfffffffe
sub eax, esi
mov dword [esp + 0x18], eax
cmp byte [edx], 0x78
jne 0x412f30
cmp byte [edx + 1], 0x79
jne 0x412f30
cmp byte [edx + 2], 0x7a
jne 0x412f30
cmp byte [edx + 3], 0x3d
jne 0x412f30
lea edi, [esp + 0x120]
or ecx, 0xffffffff
xor eax, eax
lea esi, [edx + 4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x120]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x412f3b
mov eax, dword [esp + 0x18]
inc edx
lea ecx, [eax + edx + 2]
cmp ecx, ebx
jb 0x412ef4
jmp 0x412f61
push 0
push ebp
mov byte [edx], 0x4e
mov byte [edx + 1], 0x55
mov byte [edx + 2], 0x4c
call fcn.00401200
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
push ebp
call fcn.004011a0
add esp, 0x14
lea ecx, [esp + 0x10]
push ecx
call fcn.004021a0
add esp, 4
push ebp
call fcn.00401360
add esp, 4
pop ebx
pop edi
pop ebp
mov eax, 1
pop esi
add esp, 0x318
ret
Function at 0x41a8bc
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41a8e7
test byte [esp + 8], 0x80
je 0x41a8d6
and al, 0xfe
jmp 0x41a8d8
or al, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x41a8f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041be6a
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret

Function at 0x41a9fd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41aa1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041be6a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x41aa3e
test byte [esp + 8], 2
je 0x41aa3e
mov dword [0x42bbac], 0xd
mov dword [0x42bbb0], 5
jmp 0x41aa19
xor eax, eax
ret

Function at 0x41f479
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42b1c0
cmp edx, dword [eax]
je 0x41f49b
add eax, 8
inc ecx
cmp eax, 0x42b250
jl 0x41f48c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42b1c0]
jne 0x41f5c9
mov eax, dword [0x42bc08]
cmp eax, 1
je 0x41f5a3
test eax, eax
jne 0x41f4cc
cmp dword [0x428c38], 1
je 0x41f5a3
cmp edx, 0xfc
je 0x41f5c9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41f503
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041e0d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041e050
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41f546
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041e050
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x426688
push edi
call fcn.0041b020
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041e0d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041e0e0
lea eax, [ebp - 0xa0]
push 0x423b74
push eax
call fcn.0041e0e0
push dword [esi + 0x42b1c4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041e0e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00420dd5
add esp, 0x2c
pop edi
jmp 0x41f5c9
lea eax, [ebp + 8]
lea esi, [esi + 0x42b1c4]
push 0
push eax
push dword [esi]
call fcn.0041e050
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x101b3ac3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10217028]
jne 0x101b3acd
repz ret
jmp fcn.101b7c5b

Function at 0x101b9e0f
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.101b3b5e
and dword [ebp - 4], 0
cmp dword [0x10218678], 0
mov ebx, eax
jne 0x101b9ec0
push 0x101cc620
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101b9f71
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x101cc614
push edi
call esi
test eax, eax
je 0x101b9f71
push eax
call fcn.101b3aec
mov dword [esp], 0x101cc604
push edi
mov dword [0x10218678], eax
call esi
push eax
call fcn.101b3aec
mov dword [esp], 0x101cc5f0
push edi
mov dword [0x1021867c], eax
call esi
push eax
call fcn.101b3aec
mov dword [esp], 0x101cc5d4
push edi
mov dword [0x10218680], eax
call esi
push eax
call fcn.101b3aec
pop ecx
mov dword [0x10218688], eax
test eax, eax
je 0x101b9ec0
push 0x101cc5bc
push edi
call esi
push eax
call fcn.101b3aec
pop ecx
mov dword [0x10218684], eax
mov eax, dword [0x10218684]
cmp eax, ebx
je 0x101b9f18
cmp dword [0x10218688], ebx
je 0x101b9f18
push eax
call fcn.101b3b67
push dword [0x10218688]
mov esi, eax
call fcn.101b3b67
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101b9f18
test edi, edi
je 0x101b9f18
call esi
test eax, eax
je 0x101b9f0f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101b9f0f
test byte [ebp - 0xc], 1
jne 0x101b9f18
or dword [ebp + 0x10], 0x200000
jmp 0x101b9f51
mov eax, dword [0x1021867c]
cmp eax, ebx
je 0x101b9f51
push eax
call fcn.101b3b67
pop ecx
test eax, eax
je 0x101b9f51
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101b9f51
mov eax, dword [0x10218680]
cmp eax, ebx
je 0x101b9f51
push eax
call fcn.101b3b67
pop ecx
test eax, eax
je 0x101b9f51
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10218678]
call fcn.101b3b67
pop ecx
test eax, eax
je 0x101b9f71
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101b9f73
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101c4a20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10216ab0], 0x512
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101c4adc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101c4b29
jmp 0x101c4a96
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101c4a59
jmp 0x101c4a96
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x101c4aa5
xor eax, eax
mov dword [0x10216ab4], 0x1864
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101c4a6e
jmp 0x101c4a96
mov eax, dword [ebp - 0x1c]
mov dword [0x10216ab4], 0x11c4
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x101c4b0b
jmp 0x101c4a96
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
je 0x101c4abe
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], eax
jl 0x101c4adc
jmp 0x101c4abe
mov dword [0x10216ab4], 0x2624
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101c4aad
jmp 0x101c4a96
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101c4a7f
jmp 0x101c4a96
Function at 0x101c55b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10216abc], 0
mov byte [0x10216ac0], 0
mov dword [0x10216ab8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101c5616
mov eax, dword [0x10216ab0]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x101c5648
mov eax, 0x1fdd
xor ecx, ecx
mov dword [0x10216ab8], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x101c5648
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10216ab0], 0x1fdd
mov eax, dword [0x10216ab8]
add eax, 1
mov dword [0x10216ab8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101c5616
jmp 0x101c55fd
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
add ecx, 0xfffff6b9
mov dword [0x10216ac4], 0
mov edi, dword [0x10216abc]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10216ac4], esi
mov dword [0x10216ab4], 0x1dfc
mov eax, esi
cdq
mov esi, dword [ebp - 0x30]
idiv esi
mov dword [0x10216abc], edx
mov dword [0x10216ab0], ecx
mov ecx, dword [ebp - 0x2c]
mov cl, byte [ebx + ecx]
mov byte [0x10216ac0], cl
mov dword [0x10216ab4], 0xe30
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
mov ecx, dword [0x10216ab4]
add ecx, 0xfffffd81
mov dword [0x10216ab0], ecx
mov cl, byte [0x10216ac0]
mov edx, dword [0x10216abc]
mov byte [ebx + edx], cl
mov edx, dword [0x10216ab8]
add edx, 1
mov dword [0x10216ab8], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101c55ed
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret