joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ab4c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x515580]
cmp dword [eax + 0x30], 0
je 0x45abf6
cmp dword [ebx + 0x94], 0
jne 0x45abf0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45aadc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45abf0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45abb6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45abf0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041abc4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45abc5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45b910
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45b945
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404898
jmp 0x45b952
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047fc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45ccb4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45cd22
mov eax, esi
call fcn.004475b0
test al, al
je 0x45cd22
mov eax, dword [ebx + 0x84]
call fcn.00447210
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45cd22
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45cd16
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447210
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043f63c
jmp 0x45cd22
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045caf0
pop esi
pop ebx
ret
Function at 0x460898
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4608c6
mov eax, ebx
call fcn.0046134c
cmp dword [ebx + 0x40], 0
je 0x4608bf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x460937
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x460929
cmp dword [ebx + 8], 0
je 0x4608e8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4608fa
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x460929
cmp dword [ebx + 8], 0
je 0x4608db
cmp eax, 3
je 0x46090d
dec eax
jne 0x4608db
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4608db
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4608db
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x460955
cmp dword [ebx + 0x14], 0xcc
je 0x460955
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00460960
pop ebx
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x10042fb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100e048]
jne 0x1004304
ret
jmp 0x1004309
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x100e048]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x100fcd0]
test eax, eax
je 0x100432d
call eax
cmp dword [0x100fcd4], 0
je 0x1004374
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x100fcd4]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.010042fb
add ebp, 0x2a8
leave
ret
Function at 0x100443e
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push 0x60
push 0x1001298
call fcn.01004600
and dword [ebp - 4], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or dword [ebp - 4], 0xffffffff
mov ebx, 0x94
push ebx
push 0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10045f5
mov dword [esi], ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push esi
push 0
test eax, eax
jne 0x100449b
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10045f5
mov eax, dword [esi + 0x10]
mov dword [0x100f400], eax
mov eax, dword [esi + 4]
mov dword [0x100f40c], eax
mov eax, dword [esi + 8]
mov dword [0x100f410], eax
mov eax, dword [esi + 0xc]
and eax, 0x7fff
mov dword [0x100f404], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [0x100f400], 2
je 0x10044d9
or byte [0x100f405], 0x80
mov eax, dword [0x100f40c]
shl eax, 8
add eax, dword [0x100f410]
mov dword [0x100f408], eax
call fcn.010043e2
mov dword [ebp - 0x1c], eax
xor ebx, ebx
inc ebx
push ebx
call fcn.0100569f
pop ecx
test eax, eax
jne 0x100450a
push 0x1c
call fcn.010043be
pop ecx
call fcn.0100557d
test eax, eax
jne 0x100451b
push 0x10
call fcn.010043be
pop ecx
mov dword [ebp - 4], ebx
call fcn.0100517e
test eax, eax
jge 0x100452f
push 0x1b
call fcn.01004399
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x1011074], eax
call fcn.01005058
mov dword [0x100f3f0], eax
call fcn.01004fb7
test eax, eax
jge 0x1004555
push 8
call fcn.01004399
pop ecx
call fcn.01004d6d
test eax, eax
jge 0x1004566
push 9
call fcn.01004399
pop ecx
call fcn.0100489a
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1004579
push eax
call fcn.01004399
pop ecx
call fcn.01004d04
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], bl
je 0x100458c
movzx eax, word [ebp - 0x40]
jmp 0x100458f
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push 0
push 0x1000000
call fcn.01003c16
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x1c], 0
jne 0x10045b0
push esi
call fcn.010049af
call fcn.010049d1
jmp 0x10045e2
or dword [ebp - 4], 0xffffffff
mov eax, esi
jmp 0x10045fa
mov eax, 0xff
call fcn.0100463b
ret
Function at 0x10049ef
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
xor eax, eax
cmp ecx, dword [eax*8 + 0x100e058]
je 0x1004a07
inc eax
cmp eax, 0x12
jb 0x10049f8
push esi
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x100e058]
mov dword [ebp + 8], esi
jne 0x1004b4d
mov eax, dword [0x100f3f8]
cmp eax, 1
push ebx
je 0x1004b1d
test eax, eax
jne 0x1004a3c
cmp dword [0x100e050], 1
je 0x1004b1d
cmp ecx, 0xfc
je 0x1004b4c
push edi
push 6
pop ecx
mov esi, 0x1001628
mov edi, 0x100f448
rep movsd dword es:[edi], dword [esi]
push 0x104
mov ebx, 0x100f462
push ebx
movsw word es:[edi], word [esi]
push 0
mov byte [0x100f566], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1004a8a
push 5
pop ecx
mov esi, 0x1001610
mov edi, 0x100f462
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1004a8f
sub eax, edx
inc eax
cmp eax, 0x3c
jbe 0x1004ac2
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1004aa3
sub eax, edx
push 3
lea eax, [eax + 0x100f427]
push 0x100160c
push eax
call fcn.01006820
add esp, 0xc
mov edx, 0x100f448
mov edi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1004aca
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x100e05c]
mov esi, 0x1001608
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1004ae5
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1004af1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x12010
mov ecx, eax
and ecx, 3
push 0x10015e0
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.0100671d
add esp, 0xc
pop edi
jmp 0x1004b4c
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x1004b4c
mov esi, dword [esi + 0x100e05c]
mov ecx, esi
lea edx, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x1004b34
push 0
sub ecx, edx
lea edx, [ebp - 4]
push edx
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebx
pop esi
leave
ret
Function at 0x10057de
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x100580c
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x1005813
cmp ebx, dword [eax + 4]
jae 0x1005813
xor eax, eax
jmp 0x1005a03
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x1005824
xor eax, eax
inc eax
jmp 0x1005a02
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x100583a
cmp ecx, edx
jae 0x100597f
cmp dword [eax + 4], 0
je 0x1005843
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x100582b
cmp dword [ebp + 8], 0
je 0x1005865
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x100597f
cmp eax, esi
jae 0x100597f
mov eax, dword [0x100f880]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x100588a
cmp dword [esi*4 + 0x100f888], edi
je 0x1005983
inc esi
cmp esi, eax
jl 0x1005878
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10059ff
cmp dword [ebp - 8], 0x1000000
jne 0x10059ff
test byte [ebp - 0xc], 0xcc
je 0x1005908
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x10059ff
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10059ff
cmp word [eax + 0x18], 0x10b
jne 0x10059ff
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x10059ff
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x1005908
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x1005908
test byte [ecx + 0x27], 0x80
jne 0x100597f
push 1
push 0x100f8c8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x100581c
mov ecx, dword [0x100f880]
test ecx, ecx
mov edx, ecx
jle 0x100593c
lea eax, [ecx*4 + 0x100f884]
cmp dword [eax], edi
je 0x100593c
dec edx
sub eax, 4
test edx, edx
jg 0x1005930
test edx, edx
jne 0x100596d
push 0xf
pop ebx
cmp ecx, ebx
jg 0x1005949
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x1005961
lea eax, [edx*4 + 0x100f888]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x100594f
cmp ecx, 0x10
jge 0x100596d
inc ecx
mov dword [0x100f880], ecx
push 0
push 0x100f8c8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x100581c
xor eax, eax
jmp 0x1005a02
test esi, esi
jle 0x100581c
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x100f8c8
call ebx
test eax, eax
jne 0x100581c
cmp dword [esi*4 + 0x100f888], edi
je 0x10059d9
mov eax, dword [0x100f880]
lea esi, [eax - 1]
test esi, esi
jl 0x10059c7
cmp dword [esi*4 + 0x100f888], edi
je 0x10059c3
dec esi
jns 0x10059b7
test esi, esi
jge 0x10059d7
cmp eax, 0x10
jge 0x10059d2
inc eax
mov dword [0x100f880], eax
lea esi, [eax - 1]
jmp 0x10059d9
je 0x10059f1
xor ecx, ecx
test esi, esi
jl 0x10059f1
lea eax, [ecx*4 + 0x100f888]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x10059df
push 0
push 0x100f8c8
call ebx
jmp 0x100581c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100671d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x100fa28], ebx
push esi
push edi
jne 0x100679d
push 0x10018f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10067d8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10018ec
push edi
call esi
test eax, eax
mov dword [0x100fa28], eax
je 0x10067d8
push 0x10018dc
push edi
call esi
push 0x10018c8
push edi
mov dword [0x100fa2c], eax
call esi
cmp dword [0x100f400], 2
mov dword [0x100fa30], eax
jne 0x100679d
push 0x10018ac
push edi
call esi
test eax, eax
mov dword [0x100fa38], eax
je 0x100679d
push 0x1001894
push edi
call esi
mov dword [0x100fa34], eax
mov eax, dword [0x100fa34]
test eax, eax
je 0x10067e2
call eax
test eax, eax
je 0x10067c9
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x100fa38]
test eax, eax
je 0x10067c9
test byte [ebp - 8], 1
jne 0x10067e2
cmp dword [0x100f40c], 4
jb 0x10067dc
or byte [ebp + 0x12], 0x20
jmp 0x1006801
xor eax, eax
jmp 0x1006811
or byte [ebp + 0x12], 4
jmp 0x1006801
mov eax, dword [0x100fa2c]
test eax, eax
je 0x1006801
call eax
mov ebx, eax
test ebx, ebx
je 0x1006801
mov eax, dword [0x100fa30]
test eax, eax
je 0x1006801
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x100fa28]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1009b9b
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.01009c80
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1009c36
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 [0x100f400]
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 0x1009c36
cmp eax, 1
je 0x1009c57
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 0x1009c36
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x1009c03
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x1009c32
xor eax, eax
inc eax
jmp 0x1009c76
cmp edi, eax
jae 0x1009c3a
xor eax, eax
jmp 0x1009c76
cmp eax, esi
jae 0x1009c41
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 [0x100f400]
jmp 0x1009c5a
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 0x1009fc7
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x1003168
call fcn.01004600
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x100fb88], edi
jne 0x100a00b
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1009ff6
mov dword [0x100fb88], ebx
jmp 0x100a00b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x100a00b
mov dword [0x100fb88], 2
mov eax, dword [0x100fb88]
cmp eax, ebx
jne 0x100a02b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x100a0ed
cmp eax, 2
je 0x100a034
cmp eax, edi
jne 0x100a05c
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x100a047
mov eax, dword [0x100fa90]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x100a063
xor eax, eax
jmp 0x100a0ed
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.01009c80
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x100a096
cmp esi, edi
jne 0x100a0ab
mov ecx, dword [ebp - 0x20]
call fcn.01006f37
mov esi, eax
cmp esi, edi
je 0x100a05c
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x100a0de
cmp dword [ebp + 0x14], edi
jne 0x100a0c8
push edi
push edi
jmp 0x100a0ce
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x100a0ea
push esi
call fcn.01006ec6
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.0100463b
ret
Function at 0x100a0f6
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x1003178
call fcn.01004600
xor esi, esi
cmp dword [0x100fb8c], esi
jne 0x100a13a
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100a125
mov dword [0x100fb8c], edi
jmp 0x100a13a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x100a13a
mov dword [0x100fb8c], 2
mov eax, dword [0x100fb8c]
cmp eax, 2
je 0x100a219
cmp eax, esi
je 0x100a219
cmp eax, 1
jne 0x100a17f
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x100a168
mov eax, dword [0x100fa90]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x100a186
xor eax, eax
jmp 0x100a22b
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.01009c80
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x100a1bc
cmp edi, esi
jne 0x100a1d5
lea ecx, [ebx + ebx]
call fcn.01006f37
mov edi, eax
cmp edi, esi
je 0x100a17f
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100a208
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x100a1f2
push esi
push esi
jmp 0x100a1f8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x100a214
push edi
call fcn.01006ec6
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x100a22b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.0100463b
ret

Function at 0x100a5e5
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp word [esi], 0x5c
push edi
je 0x100a621
push esi
call fcn.0100bca8
cmp eax, 0x104
pop ecx
jb 0x100a621
push esi
push 0x1003184
push 0
call fcn.0100a997
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
push 0
mov edi, eax
call fcn.0100a78d
jmp 0x100a62a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x100af39
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
push 0x1c
push 0x10032a8
call fcn.01004600
or dword [ebp - 0x20], 0xffffffff
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0x10], edi
je 0x100afbb
push edi
push 4
call fcn.0100badc
mov dword [0x100fc3c], eax
cmp eax, edi
je 0x100b00a
mov esi, 0x100eaf0
mov dword [ebp - 0x24], esi
mov eax, dword [esi]
cmp eax, edi
je 0x100af87
push dword [esi + 4]
push eax
call fcn.0100ae8a
add esi, 8
jmp 0x100af70
push 0x209
mov esi, 0x10110a0
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x100b00a
push esi
call fcn.0100a96c
mov eax, 0x20a
mov dword [ebp - 0x28], eax
push 0x1003298
push eax
push esi
call fcn.0100af08
mov dword [ebp - 0x2c], eax
jmp 0x100afc0
mov esi, 0x10110a0
cmp dword [0x100fc48], edi
je 0x100afdb
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x100afea
mov ecx, dword [0x100fc30]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x100b003
mov eax, dword [eax]
mov dword [0x100fc30], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x100fc34], eax
mov dword [ebp - 0x1c], 1
or dword [ebp - 4], 0xffffffff
call fcn.0100b020
mov eax, dword [ebp - 0x1c]
call fcn.0100463b
ret 0xc