joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007480
Capabilities:
Set current directory

Disassembly:
mov eax, dword [0x10077fb0]
push 0
mov byte [eax + 0xa68], 2
call dword [sym.imp.kernel32.dll_Sleep]
mov eax, dword [0x10077fb0]
cmp dword [eax + 0xa64], 0
je 0x100074d4
mov ecx, dword [eax + 0xa64]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov edx, dword [0x10077fb0]
mov eax, dword [edx + 0xa64]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [0x10077fb0]
mov dword [ecx + 0xa64], 0
call fcn.10006c90
mov edx, dword [0x10077fb0]
add edx, 0x638
push edx
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
ret

Function at 0x10008b80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x2a30
push 0
push 0x10070458
mov dword [0x10070450], 0x10070458
call fcn.1003ae80
mov ecx, dword [0x10077fb0]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0
push ecx
push 0x10008820
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov edx, dword [0x10077fb0]
mov dword [edx + 0xa64], eax
mov ecx, dword [0x10077fb0]
xor eax, eax
cmp dword [ecx + 0xa64], eax
setne al
mov esp, ebp
pop ebp
ret

Function at 0x10008e50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10008f03
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x10008f03
push esi
lea eax, [ebp - 8]
push eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp + 8], eax
test eax, eax
je 0x10008ef7
push eax
call fcn.1003a243
mov esi, eax
add esp, 4
test esi, esi
jne 0x10008e9b
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
push ecx
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x10008eee
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 4]
push eax
push 0x100580d8
push esi
mov dword [ebp - 4], 0
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x10008eee
mov eax, dword [ebp - 4]
test eax, eax
je 0x10008eee
mov ecx, dword [eax + 8]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 0xc]
push esi
mov dword [ebx], edx
call fcn.1003d7a2
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.1003d7a2
add esp, 4
pop esi
pop edi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0x80070057
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000a080
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc7c
mov eax, dword [0x1006b5d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10077fb0]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x414]
push ecx
push 0x410
mov dword [eax + 4], edi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x100581c8
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x82c]
push 0x100581c0
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x82c]
push ecx
xor ebx, ebx
push ebx
push 0x100581b4
push 0x100581a4
call dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
mov edx, dword [0x10077fb0]
mov dword [edx + 0xc], eax
mov ecx, dword [0x10077fb0]
mov eax, dword [ecx + 0xc]
cmp eax, 7
jge 0x1000a114
cmp eax, ebx
jge 0x1000a10f
xor eax, eax
jmp 0x1000a119
cmp eax, 7
jl 0x1000a119
mov eax, 7
mov dword [ecx + 0xc], eax
mov ecx, dword [0x10077fb0]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax*4 + 0x10067eac]
cmp eax, ebx
je 0x1000a171
push eax
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0xc4c]
push 0x10058198
push edx
call esi
add esp, 0x10
lea eax, [ebp - 0xc4c]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov ecx, dword [0x10077fb0]
mov dword [ecx + 8], eax
mov eax, dword [0x10077fb0]
cmp dword [eax + 8], ebx
jne 0x1000a17c
mov edx, dword [eax + 4]
mov dword [eax + 8], edx
jmp 0x1000a177
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
mov eax, dword [0x10077fb0]
mov dword [eax], 0x1005818c
call fcn.1000b7a0
push 0x10058154
push 0x1005817c
test eax, eax
je 0x1000a1a9
mov ecx, dword [0x10077fb0]
push 0x10058164
add ecx, 0x128
push ecx
jmp 0x1000a1bb
mov edx, dword [0x10077fb0]
push 0x1005815c
add edx, 0x128
push edx
call esi
mov eax, dword [0x10077fb0]
mov ecx, dword [eax + 8]
add esp, 0x10
push 0xfff
push 0x10077fb8
push 0x7d6
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [0x10077fb0]
lea edx, [eax + 0x128]
push edx
push 0x10077fb8
add eax, 0xa8
push 0x1005815c
push eax
mov byte [0x10078fb7], bl
call esi
mov eax, dword [0x10077fb0]
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
add esp, 0x10
mov dword [ebp - 0xc7c], 0x30
mov dword [ebp - 0xc78], 3
mov dword [ebp - 0xc74], 0x1000a890
mov dword [ebp - 0xc70], ebx
mov dword [ebp - 0xc6c], ebx
mov dword [ebp - 0xc68], edi
mov ecx, dword [eax + 8]
push 0x66
push ecx
call esi
push 0x7f00
push ebx
mov dword [ebp - 0xc64], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 4
mov dword [ebp - 0xc60], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0xc5c], eax
mov eax, dword [0x10077fb0]
mov dword [ebp - 0xc58], ebx
mov edx, dword [eax]
mov dword [ebp - 0xc54], edx
mov eax, dword [eax + 8]
push 0x66
push eax
call esi
lea ecx, [ebp - 0xc7c]
push ecx
mov dword [ebp - 0xc50], eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
movzx eax, ax
pop ebx
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret
Function at 0x1000a2b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
call fcn.10013bc0
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x1000a305
mov eax, dword [0x10077fb0]
mov ecx, dword [eax + 8]
push 0xfff
push 0x10077fb8
push 0x7e4
push ecx
call edi
push 0x10077fb8
push 0x44
mov byte [0x10078fb7], 0
call fcn.10010b30
add esp, 8
cmp eax, 6
je 0x1000a305
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
pop edi
pop ebp
ret
mov edx, dword [0x10077fb0]
mov ecx, dword [ebp + 8]
push esi
push 0
push ecx
mov dword [edx + 0x50], 0x464
mov eax, dword [0x10077fb0]
push 0
push 0
mov dword [eax + 0x54], 0x258
mov eax, dword [0x10077fb0]
mov edx, dword [eax + 0x54]
mov ecx, dword [eax + 0x50]
push edx
push ecx
push 0x80000000
push 0x80000000
push 0x80000000
lea edx, [eax + 0xa8]
mov eax, dword [eax]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x1000a3a6
mov ecx, dword [0x10077fb0]
mov edx, dword [ecx + 8]
push 0xfff
push 0x10077fb8
push 0x7e6
push edx
call edi
push 0x10077fb8
push 0x10
mov byte [0x10078fb7], 0
call fcn.10010b30
mov eax, dword [0x10077fb0]
mov ecx, dword [eax + 0xa0]
add esp, 8
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
pop esi
xor eax, eax
pop edi
pop ebp
ret
mov edx, dword [0x10077fb0]
mov dword [edx + 0x10], esi
call fcn.10003ec0
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
mov eax, 1
pop edi
pop ebp
ret
Function at 0x1000ea50
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x1007d000]
mov ecx, dword [eax + 4]
push esi
push 0
push 0
push 0x130b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
push esi
call fcn.1000e7f0
add esp, 4
cmp esi, 3
pop esi
jne 0x1000ea9f
call fcn.1000e5b0
mov edx, dword [0x1007d000]
mov eax, dword [edx]
push 0
push 0x3e9
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret
mov ecx, dword [0x1007d000]
mov edx, dword [ecx]
push 1
push 0x3e9
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret

Function at 0x1000f5e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1007d000]
mov ecx, dword [eax + 0x2434]
push ebx
lea edx, [ebp - 8]
mov dword [ebp - 8], ecx
push edx
mov ecx, 0x1007d014
call fcn.10035340
mov eax, dword [eax]
xor ebx, ebx
mov dword [ebp - 8], ebx
cmp dword [0x1007afcc], ebx
jle 0x1000f6c4
push esi
push edi
mov dword [ebp - 4], ebx
lea edi, [eax + 4]
mov edi, edi
mov eax, dword [0x1007d010]
add eax, dword [ebp - 4]
mov edx, dword [0x1007d00c]
movzx ecx, byte [eax + 0x38]
sub ecx, 0
lea esi, [edx + ebx*8]
je 0x1000f66f
dec ecx
jne 0x1000f6ab
lea ecx, [eax + 0x1c]
mov edx, 0x10
cmp dword [ecx + 0x14], edx
jb 0x1000f64c
mov ecx, dword [ecx]
cmp dword [eax + 0x14], edx
jb 0x1000f653
mov eax, dword [eax]
mov edx, dword [0x1007d000]
add edx, 9
push edx
mov edx, dword [edi - 4]
push edx
push ecx
push eax
call dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
mov ecx, dword [esi]
mov dword [ecx], eax
jmp 0x1000f6ab
mov esi, dword [esi]
mov ebx, 0x10
cmp dword [edi + 0x14], ebx
jb 0x1000f67f
mov edx, dword [edi]
jmp 0x1000f681
mov edx, edi
cmp dword [eax + 0x30], ebx
lea ecx, [eax + 0x1c]
jb 0x1000f68b
mov ecx, dword [ecx]
cmp dword [eax + 0x14], ebx
jb 0x1000f692
mov eax, dword [eax]
mov ebx, dword [0x1007d000]
add ebx, 9
push ebx
push 0x3f
push esi
push edx
push ecx
push eax
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov ebx, dword [ebp - 8]
add dword [ebp - 4], 0x3c
inc ebx
add edi, 0x20
mov dword [ebp - 8], ebx
cmp ebx, dword [0x1007afcc]
jl 0x1000f620
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000fb50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10075b14]
push 0x2010
push eax
push 0x1007afd0
mov dword [0x1007afcc], 0x1d
call fcn.1003b230
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
mov ecx, 0x1007d014
mov dword [0x1007d00c], 0x10068760
mov dword [0x1007d010], 0x10068848
mov dword [ebp - 4], 0
call fcn.10035340
lea edx, [ebp - 4]
push edx
mov ecx, 0x1007d014
mov dword [eax], 0x10068f18
mov dword [ebp - 4], 1
call fcn.10035340
mov dword [eax], 0x100692b8
lea eax, [ebp - 4]
push eax
mov ecx, 0x1007d014
mov dword [ebp - 4], 2
call fcn.10035340
mov dword [eax], 0x10069658
call fcn.1000eac0
mov ecx, dword [0x1007d000]
mov dword [ecx + 0x2434], 0
mov eax, dword [0x10077fb0]
mov edx, dword [eax + 0x4c]
add edx, 0x186c
push edx
add eax, 0x228
push eax
push 0x10057dc0
push 0x1007abb9
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x1007d000]
mov eax, dword [eax + 0x2434]
push 1
call fcn.1000f3a0
mov ecx, dword [0x1007d000]
add esp, 0x14
add ecx, 9
push ecx
push 0xffffffffffffffff
push 0x10058694
push 0x1005868c
call dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
test eax, eax
js 0x1000fc4f
mov dword [0x10069a08], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x1007abb9
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x1000fc7d
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
call fcn.1000f5e0
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x1000fc90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x2438
push 0
push 0x1007abb0
call fcn.1003ae80
add esp, 0xc
mov dword [0x1007d000], 0x1007abb0
call fcn.1000fb50
test eax, eax
jne 0x1000fcbf
mov esp, ebp
pop ebp
ret
push ebx
push esi
push edi
call fcn.1000e880
mov eax, dword [0x10077fb0]
mov ecx, dword [eax + 0x10]
call fcn.1000d960
push 0x1007cd4c
mov esi, 0x1007cd48
xor ecx, ecx
call fcn.1000d690
mov edx, dword [0x1007cd50]
mov dword [ebp - 4], 0
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 4]
add esp, 4
xor ecx, ecx
mov eax, 0x100682cc
cmp dword [eax + 0xc], 0
je 0x1000fd30
mov ebx, dword [0x1007cd3c]
cmp dword [ebx*4 + 0x1007cff4], ecx
jne 0x1000fd1c
mov esi, dword [eax - 4]
mov edi, dword [eax]
inc ecx
cmp edx, dword [eax - 4]
jne 0x1000fd30
mov ebx, dword [0x1007cd54]
cmp ebx, dword [eax]
je 0x1000fe43
cmp dword [eax + 0x20], 0
je 0x1000fd60
mov ebx, dword [0x1007cd3c]
cmp dword [ebx*4 + 0x1007cff4], ecx
jne 0x1000fd4b
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
inc ecx
cmp edx, dword [eax + 0x10]
jne 0x1000fd60
mov ebx, dword [0x1007cd54]
cmp ebx, dword [eax + 0x14]
je 0x1000fe28
cmp dword [eax + 0x34], 0
je 0x1000fd90
mov ebx, dword [0x1007cd3c]
cmp dword [ebx*4 + 0x1007cff4], ecx
jne 0x1000fd7b
mov esi, dword [eax + 0x24]
mov edi, dword [eax + 0x28]
inc ecx
cmp edx, dword [eax + 0x24]
jne 0x1000fd90
mov ebx, dword [0x1007cd54]
cmp ebx, dword [eax + 0x28]
je 0x1000fe2d
cmp dword [eax + 0x48], 0
je 0x1000fdbc
mov ebx, dword [0x1007cd3c]
cmp dword [ebx*4 + 0x1007cff4], ecx
jne 0x1000fdab
mov esi, dword [eax + 0x38]
mov edi, dword [eax + 0x3c]
inc ecx
cmp edx, dword [eax + 0x38]
jne 0x1000fdbc
mov ebx, dword [0x1007cd54]
cmp ebx, dword [eax + 0x3c]
je 0x1000fe33
cmp dword [eax + 0x5c], 0
je 0x1000fde8
mov ebx, dword [0x1007cd3c]
cmp dword [ebx*4 + 0x1007cff4], ecx
jne 0x1000fdd7
mov esi, dword [eax + 0x4c]
mov edi, dword [eax + 0x50]
inc ecx
cmp edx, dword [eax + 0x4c]
jne 0x1000fde8
mov ebx, dword [0x1007cd54]
cmp ebx, dword [eax + 0x50]
je 0x1000fe39
cmp dword [eax + 0x70], 0
je 0x1000fe14
mov ebx, dword [0x1007cd3c]
cmp dword [ebx*4 + 0x1007cff4], ecx
jne 0x1000fe03
mov esi, dword [eax + 0x60]
mov edi, dword [eax + 0x64]
inc ecx
cmp edx, dword [eax + 0x60]
jne 0x1000fe14
mov ebx, dword [0x1007cd54]
cmp ebx, dword [eax + 0x64]
je 0x1000fe3f
add dword [ebp - 4], 6
add eax, 0x78
cmp eax, 0x10068614
jl 0x1000fd02
jmp 0x1000fe49
inc dword [ebp - 4]
jmp 0x1000fe43
add dword [ebp - 4], 2
jmp 0x1000fe43
add dword [ebp - 4], 3
jmp 0x1000fe43
add dword [ebp - 4], 4
jmp 0x1000fe43
add dword [ebp - 4], 5
cmp dword [ebp - 4], 0x2a
jl 0x1000fe55
mov dword [0x1007cd50], esi
mov dword [0x1007cd54], edi
call fcn.1000ecc0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10010360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x94
push 0
push 0x1007d208
call fcn.1003ae80
push 0x1007d208
push 0x72
call fcn.10010770
add esp, 0x14
test eax, eax
jne 0x1001038e
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1007d208]
mov ecx, dword [0x1007d20c]
push 0x1007d234
push 0x73
mov dword [0x1007d260], 0x91
mov dword [0x1007d264], 0x234
mov dword [0x1007d268], eax
mov dword [0x1007d26c], ecx
call fcn.10010770
add esp, 8
test eax, eax
je 0x10010388
mov edx, dword [0x1007d234]
mov eax, dword [0x1007d238]
lea ecx, [ebp - 4]
push ecx
push 0
mov dword [0x1007d280], edx
mov edx, dword [0x10077fb0]
push edx
push 0x10010270
push 0
push 0
mov dword [0x1007d278], 0x91
mov dword [0x1007d27c], 0x22c
mov dword [0x1007d284], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [0x10077fb0]
mov dword [ecx + 0xa54], eax
mov edx, dword [0x10077fb0]
xor eax, eax
cmp dword [edx + 0xa54], eax
setne al
mov esp, ebp
pop ebp
ret
Function at 0x10010db0
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, dword [0x10077fb0]
mov ecx, dword [eax + 0x4c]
cmp dword [ecx + 0x181c], 8
push esi
mov esi, dword [sym.imp.kernel32.dll_lstrcpy]
push edi
mov edi, dword [sym.imp.kernel32.dll_lstrlen]
je 0x10010df1
add eax, 0xca4
push eax
call edi
test eax, eax
mov eax, dword [0x10077fb0]
je 0x10010df1
lea edx, [eax + 0xca4]
push edx
add eax, 0x228
push eax
call esi
jmp 0x10010e02
add eax, 0x228
push eax
push 0x410
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov eax, dword [0x10077fb0]
add eax, 0x228
push eax
call edi
mov ecx, eax
mov eax, dword [0x10077fb0]
cmp byte [ecx + eax + 0x227], 0x5c
je 0x10010e36
push 0x100580d8
add eax, 0x228
push eax
call dword [sym.imp.kernel32.dll_lstrcat]
mov eax, dword [0x10077fb0]
lea edx, [eax + 0x228]
push edx
add eax, 0x638
push eax
call esi
mov eax, dword [0x10077fb0]
movsx ecx, byte [eax + 0x638]
push ecx
add eax, 0xa48
push 0x1005898c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [0x10077fb0]
add esp, 0xc
add edx, 0x228
push edx
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [0x10077fb0]
mov edx, dword [eax + 0x4c]
lea ecx, [eax + 0x228]
push ecx
add edx, 0x14
push edx
call esi
pop edi
pop esi
ret

Function at 0x10011030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 4
call fcn.10010fc0
mov eax, dword [0x10077fb0]
lea ecx, [eax + 0x228]
push ecx
add eax, 0xca4
push eax
call dword [sym.imp.kernel32.dll_lstrcpy]
call fcn.1000b7a0
test eax, eax
je 0x10011073
mov eax, 1
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 8]
push edx
push 0xf003f
push 0
push 0x100589ac
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10011098
xor eax, eax
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10077fb0]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
add ecx, 0xca4
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push 0x100589a4
push eax
mov dword [ebp - 4], 0x410
call esi
mov edx, dword [0x10077fb0]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
add edx, 0xc9c
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push 0x1005899c
push ecx
mov dword [ebp - 4], 4
call esi
mov eax, dword [0x10077fb0]
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp - 8]
add eax, 0xca0
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x10058994
push edx
call esi
mov esi, eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10011130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x100589ac
push 0x80000002
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10011160
xor eax, eax
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10077fb0]
push esi
add ecx, 0xca4
push ecx
call dword [sym.imp.kernel32.dll_lstrlen]
mov edx, dword [0x10077fb0]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc eax
push eax
mov eax, dword [ebp - 4]
add edx, 0xca4
push edx
push 1
push 0
push 0x100589a4
push eax
call esi
mov ecx, dword [0x10077fb0]
mov edx, dword [ebp - 4]
push 4
add ecx, 0xc9c
push ecx
push 4
push 0
push 0x1005899c
push edx
call esi
mov eax, dword [0x10077fb0]
mov ecx, dword [ebp - 4]
push 4
add eax, 0xca0
push eax
push 4
push 0
push 0x10058994
push ecx
call esi
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10011230
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
push esi
push edi
lea eax, [ebp - 0x2c]
push eax
call ebx
lea ecx, [ebp - 0x1c]
push ecx
call ebx
rdtsc
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
call esi
mov edi, eax
lea ecx, [ecx]
call esi
sub eax, edi
cmp eax, 0x3e8
jb 0x10011260
lea edx, [ebp - 0x24]
push edx
call ebx
rdtsc
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
sbb eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x1c]
shld edx, ecx, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
fild qword [ebp - 0x14]
add ecx, ecx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
sbb ecx, edx
add eax, dword [ebp - 0x2c]
pop edi
adc ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
pop esi
fild qword [ebp - 0x2c]
pop ebx
fild qword [ebp - 0x34]
fdivp st(1)
fdivp st(1)
mov esp, ebp
pop ebp
ret
Function at 0x100123d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1006b5d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10077fb0]
add eax, 0xa48
push eax
call dword [sym.imp.kernel32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x1001247e
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0xc]
push eax
call fcn.10011fe0
add esp, 0xc
test eax, eax
je 0x1001247e
mov eax, dword [ebp - 0x10]
fnstcw word [ebp - 0x16]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
fild qword [ebp - 0x14]
movzx eax, word [ebp - 0x16]
and ecx, 0x80000000
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
or eax, 0xc00
fild qword [ebp - 0x14]
mov dword [ebp - 0x10], eax
fchs
faddp st(1)
fmul qword [0x10058cd8]
fadd qword [0x10057fd0]
fldcw word [ebp - 0x10]
fistp qword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
fldcw word [ebp - 0x16]
cmp edx, dword [ebp + 8]
jbe 0x1001247e
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret

Function at 0x10012aa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x1006b5d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1007e6bc]
push esi
mov esi, dword [sym.imp.kernel32.dll_lstrcpy]
mov byte [eax + 0x1807], 3
push 0x10058f10
add eax, 0xe00
push eax
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x10c], pe_nt_image_headers32
call esi
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.1003ae80
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
push 0xf003f
push 0
push 0x10058ee4
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10012b48
lea edx, [ebp - 0x10c]
push edx
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0x10058ed8
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x1007e6bc]
cmp dword [eax + 0x23d8], 0
je 0x10012ba3
lea ecx, [eax + 0x25dc]
push ecx
lea edx, [eax + 0x24dc]
push edx
lea ecx, [eax + 0x245c]
push ecx
lea edx, [eax + 0x255c]
push edx
lea ecx, [eax + 0x23dc]
push ecx
mov byte [eax + 0x1807], 1
add eax, 0xe00
push 0x10058ec0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
jmp 0x10012bd9
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.kernel32.dll_lstrlen]
test eax, eax
je 0x10012bd9
mov eax, dword [0x1007e6bc]
lea ecx, [ebp - 0x104]
mov dword [eax + 0x23d8], 1
mov byte [eax + 0x1807], 2
push ecx
add eax, 0xe00
push eax
call esi
mov edx, dword [0x1007e6bc]
mov al, byte [edx + 0x23d8]
mov ecx, dword [0x10077fb0]
mov byte [ecx + 0xa7c], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret