joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4795e8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47975f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x479778
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.004042dc
push 0xffffffffffffffff
mov ecx, 0x479788
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
push 0xffffffffffffffff
mov ecx, 0x4797a4
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x34], eax
mov ecx, 0x4797c4
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004665c8
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4797e0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004664b4
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4797f4
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004664b4
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x47980c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004664b4
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x479828
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004665c8
mov byte [ebx + 0x48], al
mov ecx, 0x47983c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0046cd7c
mov byte [ebx + 0x49], al
push 0xffffffffffffffff
mov ecx, 0x479850
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x4c], eax
push 0xffffffffffffffff
mov ecx, 0x479870
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x50], eax
push 0
mov ecx, 0x479894
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x54], eax
push 0
mov ecx, 0x4798b0
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x58], eax
push 0xff
mov ecx, 0x4798cc
mov edx, dword [ebx + 4]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x5c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479766
lea eax, [ebp - 4]
call fcn.00404288
ret
Function at 0x100019e5
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100183d7
call fcn.100076b4
sub esp, 0x14
and dword [ebp - 0x1c], 0
push esi
push edi
push 0x10026a70
lea ecx, [ebp - 0x10]
call fcn.100115c9
push 1
mov eax, 0x104
pop esi
mov dword [ebp - 0x18], eax
push eax
mov dword [ebp - 4], esi
call fcn.100112ba
mov edi, eax
pop ecx
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SoftwareTryJohnClt
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001a61
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push edi
push eax
push 0
push str.SysKey
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10001a61
push edi
lea ecx, [ebp - 0x10]
call fcn.100116e4
push edi
call fcn.100112e3
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.100112ee
mov dword [ebp - 0x1c], esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1001155b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x10004d6f
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x10018b1f
call fcn.100076b4
sub esp, 0x18
and dword [ebp - 0x24], 0
push ebx
push esi
push edi
push 0x10026a70
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call fcn.100115c9
push 2
mov byte [ebp - 4], 2
call fcn.100112ba
push 2
push 0
push eax
mov dword [ebp - 0x10], eax
call fcn.10007040
add esp, 0x10
lea eax, [ebp + 0xc]
push str.TryJohnInfo.ini
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100117f0
push dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, 0x1002011c
mov ebx, str.majia
push 2
push dword [ebp - 0x10]
push esi
push str.loginmsg
push ebx
call edi
lea ecx, [ebp - 0x20]
call fcn.1001155b
push esi
push dword [ebp - 0x10]
call fcn.10008ab0
pop ecx
test eax, eax
pop ecx
mov eax, 0x10020118
je 0x10004e02
mov eax, esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.100115c9
push 2
push 0
push dword [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.10007040
add esp, 0xc
lea eax, [ebp + 0xc]
push str.TryJohnInfo.ini
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100117f0
push dword [eax]
push 2
push dword [ebp - 0x10]
push 0x10020118
push 0x100232e4
push ebx
call edi
lea ecx, [ebp - 0x20]
call fcn.1001155b
push esi
push dword [ebp - 0x10]
call fcn.10008ab0
pop ecx
test eax, eax
pop ecx
je 0x10004e60
mov esi, 0x10020118
push esi
lea ecx, [ebp - 0x18]
call fcn.100115c9
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push dword [ebp - 0x18]
push str.isViewWindowTy_sisViewWindows_s
push eax
call fcn.100109e4
push dword [ebp - 0x10]
call fcn.100112e3
mov ecx, dword [ebp + 8]
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
call fcn.100112ee
mov dword [ebp - 0x24], 1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.1001155b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.1001155b
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1001155b
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1001155b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x1000503a
Capabilities:
Enumerate processes

Disassembly:
mov eax, 0x10018bad
call fcn.100076b4
sub esp, 0x148
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
push 0x10026a70
lea ecx, [ebp - 0x14]
call fcn.100115c9
push 0
push 2
mov dword [ebp - 4], 1
mov dword [ebp - 0x154], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov ebx, str.TryJohnClt.exe
je 0x1000511e
lea ecx, [ebp - 0x154]
push ecx
push eax
call sub.KERNEL32.dll_Process32First
mov esi, ebx
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
test eax, eax
movsb byte es:[edi], byte [esi]
je 0x1000511e
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 0x1c]
call sub.KERNEL32.dll_Process32Next
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.10008ab0
pop ecx
test eax, eax
pop ecx
je 0x100050d2
test esi, esi
jne 0x100050a5
jmp 0x1000511e
mov esi, 0x104
push esi
call fcn.100112ba
xor edi, edi
push esi
push edi
push eax
mov dword [ebp - 0x18], eax
call fcn.10007040
add esp, 0x10
push dword [ebp - 0x14c]
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
push dword [ebp - 0x18]
push edi
push eax
call sub.PSAPI.DLL_GetModuleFileNameExA
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.100116e4
push dword [ebp - 0x18]
call fcn.100112e3
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
jle 0x10005164
push ebx
lea ecx, [ebp - 0x14]
call fcn.1001065e
cmp eax, 0xffffffff
je 0x10005164
push ebx
lea ecx, [ebp - 0x14]
call fcn.1001065e
dec eax
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.10010550
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 2
jmp 0x1000517f
push 0x10026a70
lea ecx, [ebp - 0x1c]
call fcn.100115c9
mov dword [ebp - 0x10], 2
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x14]
call fcn.10011694
test byte [ebp - 0x10], 2
pop edi
pop esi
mov dword [ebp - 4], 2
pop ebx
je 0x100051a4
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x1c]
call fcn.1001155b
test byte [ebp - 0x10], 1
mov dword [ebp - 4], 1
je 0x100051bd
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.1001155b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.100112ee
or dword [ebp - 0x10], 4
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.1001155b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x100051ea
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10018bd7
call fcn.100076b4
sub esp, 0x14
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
mov edi, 0x10026a70
lea ecx, [ebp - 0x10]
push edi
call fcn.100115c9
mov esi, 0x104
mov dword [ebp - 4], 1
push esi
mov dword [ebp - 0x18], esi
call fcn.100112ba
mov ebx, eax
push esi
push 0
push ebx
call fcn.10007040
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SoftwareTryJohnClt
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10005267
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push ebx
push eax
push 0
push str.SysPath
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebx
call fcn.10008ab0
pop ecx
test eax, eax
pop ecx
je 0x1000528a
push 0x5c
push ebx
call fcn.10008bd0
and byte [eax], 0
pop ecx
pop ecx
push edi
push ebx
call fcn.10008ab0
pop ecx
test eax, eax
pop ecx
je 0x100052ab
push ebx
lea eax, [ebp - 0x10]
push 0x100205d8
push eax
call fcn.100109e4
add esp, 0xc
jmp 0x100052fc
push esi
push 0
push ebx
call fcn.10007040
add esp, 0xc
call fcn.10016a04
mov eax, dword [eax + 8]
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
push ebx
call fcn.10008ab0
pop ecx
test eax, eax
pop ecx
je 0x100052e2
push 0x5c
push ebx
call fcn.10008bd0
and byte [eax], 0
pop ecx
pop ecx
push edi
push ebx
call fcn.10008ab0
pop ecx
test eax, eax
pop ecx
jne 0x10005297
push str.C:Program_Files_
lea ecx, [ebp - 0x10]
call fcn.100116e4
push ebx
call fcn.100112e3
pop ecx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 8]
push eax
call fcn.100112ee
mov dword [ebp - 0x1c], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1001155b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x417770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.htMFnjTB
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x417792
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417799
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417788
mov eax, 1
add ebx, ebx
jne 0x4177ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4177a0
jne 0x4177bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4177a0
xor ecx, ecx
sub eax, 3
jb 0x4177d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417842
mov ebp, eax
add ebx, ebx
jne 0x4177db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4177e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41780c
inc ecx
add ebx, ebx
jne 0x4177f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4177ed
jne 0x417809
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4177ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41782c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41781d
jmp 0x41778e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41782c
add edi, ecx
jmp 0x41778e
pop esi
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x41788b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b9bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ba28]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x417849
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1ba30]
or eax, eax
je 0x417885
mov dword [ebx], eax
add ebx, 4
jmp 0x417866
call dword [esi + 0x1ba2c]
mov ebp, dword [esi + 0x1ba34]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4178bf
sub esp, 0xffffff80
jmp section.OSHvtHFg
Function at 0x40a020
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x200
lea eax, [esp]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40a0cb
push ebx
push esi
lea ecx, [esp + 8]
push edi
push ecx
lea edx, [esp + 0x110]
push 0x40e394
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, 0x40e38c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x210]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test eax, eax
pop ebx
je 0x40a0b5
lea eax, [esp + 0x100]
lea ecx, [esp]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret
lea edx, [esp]
lea eax, [esp + 0x100]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x401040
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov ecx, dword [section..data]
push 0x104
lea eax, [ebp - 0x25c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...VC2010SP1_RunTime.exe
lea edx, [ebp - 0x25c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.00401290
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x54]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x25c]
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4010e3
mov ecx, dword [ebp - 0x10]
push esi
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0xc]
push eax
call esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x4022d0
Capabilities:
Encode data using xor

Disassembly:
or edi, dword [ebp + 0x22d80299]
xor dword [ebp + 0x52597657], eax
popfd
stosd dword es:[edi], eax
bound ebp, qword [esi]
or esp, ebx
adc dh, byte [0x59a8e622]
xor dword [edi + 0x44b912cd], edx
inc esp
inc esp
xchg esi, eax
mov byte [0x51cc446a], ah
mov bl, 0x62
lcall 0xe1d7, 0x897025
push edi
pop ecx
jo 0x4022b3
xor al, byte [0x34231186]
invalid
Function at 0x416310
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 8], 0
jl 0x416325
cmp dword [ebp + 8], 4
jle 0x416327
jmp 0x416376
mov dword [ebp - 4], 0
jmp 0x416339
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx*4 + 0x424564], 0
je 0x416376
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x424564]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + ecx*4]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.00418fd0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x416374
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x416330
mov esp, ebp
pop ebp
ret 4

Function at 0x4171f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
jne 0x417206
xor al, al
jmp 0x41725c
mov ecx, dword [ebp - 0x10]
call fcn.00416ee0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x41725a
mov dword [ebp - 0xc], 0
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00401b30
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 5], al
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 5]
jmp 0x41725c
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x417850
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cc0c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x423064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
call fcn.004011e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
mov dword [eax], vtable.CLocalizationMgr.0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 4], 9
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xc], 0
push 0
push 0
push 9
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00401e11
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 9
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 0x420448
mov eax, dword [ebp - 0x18]
push eax
call fcn.0040211d
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00401ac9
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x416
je 0x417940
cmp dword [ebp - 0x28], 0x804
je 0x417934
jmp 0x41794c
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], 0xc0
jmp 0x4179a1
mov edx, dword [ebp - 0x24]
mov dword [edx + 4], 0x416
jmp 0x4179a1
mov eax, dword [ebp - 0x14]
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0xc0
ja case.0x417973.1
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 0x4179c8]
jmp dword [eax*4 + 0x4179bc]
mov ecx, dword [ebp - 0x14]
and ecx, 0xff
mov edx, dword [ebp - 0x24]
mov dword [edx + 4], ecx
jmp 0x4179a1
mov eax, dword [ebp - 0x24]
mov dword [eax + 4], 0xc1
jmp 0x4179a1
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], 9
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4010e5
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [esp + 4]
ret

Function at 0x4010f8
Capabilities:
Set current directory

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 3
jle 0x40111d
cmp byte [edi + esi - 1], 0x5c
jne 0x40111d
and byte [edi + esi - 1], bl
push 1
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
dec eax
neg eax
sbb eax, eax
neg eax
test ebx, ebx
je 0x401134
mov byte [edi + esi - 1], 0x5c
pop edi
pop esi
pop ebx
ret

Function at 0x4014d8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
lea eax, [ebp - 8]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor ebx, ebx
lea eax, [ebp - 0x28]
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x20
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x40153a
push 7
lea eax, [ebp - 0x28]
push str.PKBACK
push eax
call fcn.00401028
add esp, 0xc
test eax, eax
jne 0x40153a
mov al, byte [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmp al, bl
je 0x401536
cmp al, 0x2e
je 0x401536
cmp al, 0x20
je 0x401536
mov al, byte [ecx + 1]
inc ecx
jmp 0x401524
cmp byte [ecx], bl
jne 0x401540
or ax, 0xffff
jmp 0x40156c
mov al, byte [ecx]
cmp al, 0x30
jb 0x40154a
cmp al, 0x39
jbe 0x40154d
inc ecx
jmp 0x401540
xor eax, eax
mov dl, byte [ecx]
cmp dl, bl
je 0x40156c
movzx edx, dl
lea eax, [eax + eax*4]
shl eax, 1
sub edx, 0x30
js 0x40156c
cmp edx, 9
jg 0x40156c
add eax, edx
inc ecx
jmp 0x40154f
pop ebx
leave
ret 4

Function at 0x4016a5
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
push 8
xor eax, eax
shl ecx, 1
pop esi
sar ecx, 1
mov edx, eax
xor edx, ecx
test dl, 1
je 0x4016c5
shr eax, 1
xor eax, 0xedb88320
jmp 0x4016c7
shr eax, 1
dec esi
jne 0x4016b1
pop esi
ret 4

Function at 0x4016ee
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [0x40b4a0]
mov edx, ecx
dec ecx
test edx, edx
je 0x401721
push edi
lea edx, [ecx + 1]
mov ecx, dword [esp + 8]
push esi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x40b0a0]
xor eax, esi
inc ecx
dec edx
jne 0x401707
pop esi
pop edi
mov dword [0x40b4a0], eax
ret