joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001660
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10067428], eax
je 0x1000167e
mov eax, 0x10dd
jmp 0x1000175f
mov eax, dword [0x10067438]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100016fc
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x100016da
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x100016da
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.100017d0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.100298c0
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x10001686
mov dword [0x10067438], 0
call fcn.10001770
mov ecx, dword [0x10067434]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x10001749
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.100298c0
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x10001714
mov dword [0x10067434], 0
mov dword [0x10067428], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10001ca0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x10001cb5
xor eax, eax
jmp 0x10001d2a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x10001ce2
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x10001d25
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x10001d23
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x10001d1f
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x10001d23
xor eax, eax
jmp 0x10001d2a
jmp 0x10001cd9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10001dd0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1006742c], 0
je 0x10001de9
mov eax, dword [0x1006742c]
jmp 0x10001e89
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x10001dfb
xor eax, eax
jmp 0x10001e89
push 8
call fcn.10029483
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10001e51
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x10001e3a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.100298c0
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x1006742c], eax
mov dword [0x10067430], 0
mov eax, dword [ebp - 4]
jmp 0x10001e89
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10001e6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x10001e1b
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x10067434]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x10067434], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10002780
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call section..text
add esp, 0xc
mov dword [ebp - 0x10], 0
cmp dword [0x1006741c], 0
jne 0x100027bd
cmp dword [0x10067418], 0
je 0x100027bd
mov eax, dword [0x10067418]
mov dword [0x1006741c], eax
cmp dword [0x1006741c], 0
je 0x1000283a
mov ecx, dword [0x1006741c]
cmp dword [ecx + 8], 0
je 0x1000283a
mov edx, dword [0x1006741c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 8]
jb 0x1000283a
mov ecx, dword [0x1006741c]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1000283a
mov eax, dword [0x1006741c]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
jb 0x10002809
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jbe 0x10002810
xor eax, eax
jmp 0x1000295d
mov ecx, dword [0x1006741c]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1002d9b0
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x1000295d
mov edx, dword [0x10067418]
mov dword [0x1006741c], edx
jmp 0x10002856
mov eax, dword [0x1006741c]
mov ecx, dword [eax + 4]
mov dword [0x1006741c], ecx
cmp dword [0x1006741c], 0
je 0x10002896
cmp dword [0x1006741c], 0
je 0x10002894
mov edx, dword [0x1006741c]
cmp dword [edx + 8], 0
je 0x10002894
mov eax, dword [0x1006741c]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jb 0x10002894
mov edx, dword [0x1006741c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10002894
jmp 0x100027ee
jmp 0x10002848
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100010e0
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000295b
mov eax, dword [ebp - 4]
mov dword [0x1006741c], eax
mov ecx, dword [0x1006741c]
mov dword [ecx], 0x52727464
mov edx, dword [0x1006741c]
mov dword [edx + 8], 0
mov eax, dword [0x1006741c]
mov ecx, dword [0x10067418]
mov dword [eax + 4], ecx
mov edx, dword [0x1006741c]
mov dword [0x10067418], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1006741c]
add eax, 0x48
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0x38c
jmp 0x10002927
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 1
jle 0x1000294b
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x48
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
jmp 0x1000291e
mov eax, dword [0x1006741c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x100027ee
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10002970
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10067428], eax
je 0x10002995
mov eax, 0x10dd
jmp 0x10002b3d
cmp dword [0x1006742c], 0
je 0x100029a8
mov eax, dword [0x1006742c]
jmp 0x10002b3d
cmp dword [ebp + 0xc], 0
jne 0x100029b8
mov eax, 0x57
jmp 0x10002b3d
cmp dword [ebp + 8], 0
jne 0x100029c8
mov eax, 6
jmp 0x10002b3d
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x100029f1
mov dword [ebp - 0xc], 6
mov ecx, dword [ebp - 0xc]
mov dword [0x1006742c], ecx
mov edx, dword [ebp + 8]
mov dword [0x10067430], edx
mov eax, dword [ebp - 0xc]
jmp 0x10002b3d
push 0x18
call fcn.10029483
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10002a4a
mov dword [ebp - 0xc], 8
mov ecx, dword [ebp - 0xc]
mov dword [0x1006742c], ecx
cmp dword [ebp - 0x18], 0
je 0x10002a39
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.100298c0
add esp, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
mov dword [0x10067430], ecx
mov eax, dword [ebp - 0xc]
jmp 0x10002b3d
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10001340
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10001340
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 8]
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0
je 0x10002a8a
cmp dword [ebp - 8], 0x1e
jbe 0x10002aa6
mov dword [ebp - 0xc], 9
cmp dword [0x10067420], 0
je 0x10002aa1
jmp 0x10002a1a
jmp 0x10002a11
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x10002acd
mov dword [ebp - 0xc], 9
cmp dword [0x10067420], 0
je 0x10002ac8
jmp 0x10002a1a
jmp 0x10002a11
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 0x40
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10002afa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x10002a11
mov edx, dword [ebp - 0x18]
mov dword [edx + 4], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x10067438]
mov dword [edx], eax
mov ecx, dword [ebp - 0x18]
mov dword [0x10067438], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10002c60
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10067464], 0
je 0x10002c76
xor eax, eax
jmp 0x10002e92
cmp dword [0x10067460], 0
je 0x10002c89
mov eax, dword [0x10067460]
jmp 0x10002e92
push 0x24
push 0
push 0x1006743c
call fcn.1002d9b0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x1006743c], eax
push 0
push 0
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x10067440], eax
cmp dword [0x10067440], 0
jne 0x10002d2e
mov dword [0x10067464], 1
cmp dword [0x10067440], 0
je 0x10002ce1
mov eax, dword [0x10067440]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x10067444], 0
mov dword [0x10067448], 0
mov dword [0x1006744c], 0
mov dword [0x10067450], 0
mov dword [0x10067454], 0
mov dword [0x10067458], 0
mov dword [0x1006745c], 0
xor eax, eax
jmp 0x10002e92
push str.ImagehlpApiVersionEx
mov ecx, dword [0x10067440]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10067444], eax
push str.SymInitialize
mov edx, dword [0x10067440]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10067448], eax
push str.SymSetOptions
mov eax, dword [0x10067440]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1006744c], eax
push str.SymGetOptions
mov ecx, dword [0x10067440]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10067450], eax
push str.SymLoadModule64
mov edx, dword [0x10067440]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10067454], eax
push str.SymGetModuleInfo64
mov eax, dword [0x10067440]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10067458], eax
push str.SymFromName
mov ecx, dword [0x10067440]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1006745c], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call fcn.1002d9b0
add esp, 0xc
mov eax, 0xb
mov word [ebp - 8], ax
cmp dword [0x10067444], 0
je 0x10002e13
cmp dword [0x10067448], 0
je 0x10002e13
cmp dword [0x10067454], 0
je 0x10002e13
cmp dword [0x10067458], 0
je 0x10002e13
cmp dword [0x1006745c], 0
jne 0x10002e18
jmp 0x10002cc2
lea ecx, [ebp - 8]
push ecx
call dword [0x10067444]
movzx edx, word [ebp - 8]
cmp edx, 0xb
jge 0x10002e30
jmp 0x10002cc2
push 0
push 0
mov eax, dword [0x1006743c]
push eax
call dword [0x10067448]
test eax, eax
jne 0x10002e49
jmp 0x10002cc2
cmp dword [0x10067450], 0
je 0x10002e83
cmp dword [0x1006744c], 0
je 0x10002e83
call dword [0x10067450]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0xfffffff8
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
or edx, 0x2704
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call dword [0x1006744c]
mov dword [0x10067460], 0x1006743c
mov eax, dword [0x10067460]
mov esp, ebp
pop ebp
ret
Function at 0x10005660
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [0x1006a800], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x10066ce0], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x10066cdc], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100055d0
add esp, 4
call fcn.10005510
mov eax, 1
pop ebp
ret
Function at 0x10026620
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x10066040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x11c], 0
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.1002d9b0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
push str.RtlGetVersion
push 0x1005f3dc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x100266c4
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x128], ecx
lea edx, [ebp - 0x118]
push edx
call dword [ebp - 0x128]
test eax, eax
jne 0x100266ac
mov dword [ebp - 0x124], 1
jmp 0x100266b6
mov dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x11c], eax
jmp 0x100266d7
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x114], 5
jne 0x1002670d
cmp dword [ebp - 0x110], 1
jne 0x100266f5
mov dword [0x10066cd8], 0
jmp 0x10026708
cmp dword [ebp - 0x110], 2
jne 0x10026708
mov dword [0x10066cd8], 1
jmp 0x100267a4
cmp dword [ebp - 0x114], 6
jne 0x10026755
cmp dword [ebp - 0x110], 0
jne 0x1002672b
mov dword [0x10066cd8], 2
jmp 0x10026753
cmp dword [ebp - 0x110], 1
jne 0x10026740
mov dword [0x10066cd8], 3
jmp 0x10026753
cmp dword [ebp - 0x110], 2
jne 0x10026753
mov dword [0x10066cd8], 4
jmp 0x100267a4
cmp dword [ebp - 0x114], 0xa
jne 0x100267a4
cmp dword [ebp - 0x10c], 0x4a64
jne 0x10026776
mov dword [0x10066cd8], 5
jmp 0x100267a4
cmp dword [ebp - 0x10c], 0x4a65
jne 0x1002678e
mov dword [0x10066cd8], 6
jmp 0x100267a4
cmp dword [ebp - 0x10c], 0x5867
jne 0x100267a4
mov dword [0x10066cd8], 7
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x114]
push eax
push str._SaturnMon__InitGetOsVersion___MajorVersion:__d__MinorVersion:__d__BuildNumber:__d__PlatformId:__d__CSDVersion:__ws_n
call fcn.100267f0
add esp, 0x18
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029475
mov esp, ebp
pop ebp
ret
Function at 0x100272f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10066040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1002743b
mov edx, dword [ebp - 0x1c]
push edx
call fcn.100298c5
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1002740d
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x1005f980
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1002740d
cmp dword [ebp - 0xc], 0
je 0x1002740d
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xfeef04bd
jne 0x1002740d
cmp dword [ebp + 0xc], 0
je 0x100273bb
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
mov eax, dword [ebp + 0xc]
mov word [eax], dx
cmp dword [ebp + 0x10], 0
je 0x100273d3
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
and edx, 0xffff
mov eax, dword [ebp + 0x10]
mov word [eax], dx
cmp dword [ebp + 0x14], 0
je 0x100273ee
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
mov eax, dword [ebp + 0x14]
mov word [eax], dx
cmp dword [ebp + 0x18], 0
je 0x10027406
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
mov eax, dword [ebp + 0x18]
mov word [eax], dx
mov dword [ebp - 0x24], 1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.100294c1
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x1002742e
mov dword [ebp - 0x2c], 0
jmp 0x1002743b
mov dword [ebp - 0x18], 0x8123
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029475
mov esp, ebp
pop ebp
ret
Function at 0x100274f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10066040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov eax, dword [0x100677b4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x1006ac88]
cmp eax, dword [edx + 4]
jle 0x10027553
push 0x1006ac88
call fcn.10029542
add esp, 4
cmp dword [0x1006ac88], 0xffffffff
jne 0x10027553
push 0x1004b1f0
call fcn.100298ab
add esp, 4
push 0x1006ac88
call fcn.100294f1
add esp, 4
mov ecx, 0x1006ac64
call fcn.10027700
movzx ecx, al
test ecx, ecx
je 0x100275aa
push 0x104
mov ecx, 0x1006ac64
call fcn.10027740
mov ecx, 0x1006ac64
call fcn.10018fb0
shl eax, 1
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
push edx
push 0
mov ecx, 0x1006ac64
call fcn.100276e0
push eax
push 0
push 0x1005f9b4
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathschrome.exe
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0
mov ecx, 0x1006ac64
call fcn.100276e0
push eax
mov ecx, dword [ebp + 8]
call fcn.1000d3b0
mov eax, dword [ebp - 0xc]
or eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029475
mov esp, ebp
pop ebp
ret

Function at 0x100275e0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10066040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x10027608
cmp dword [ebp + 0xc], 0
je 0x10027608
cmp dword [ebp + 0x10], 0
je 0x10027608
cmp dword [ebp + 0x14], 0
jne 0x1002760c
xor eax, eax
jmp 0x10027646
push 0x3c
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.1002d9b0
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x40]
push eax
push 0x90000000
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029475
mov esp, ebp
pop ebp
ret

Function at 0x10027660
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10066040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x10027688
cmp dword [ebp + 0xc], 0
je 0x10027688
cmp dword [ebp + 0x10], 0
je 0x10027688
cmp dword [ebp + 0x14], 0
jne 0x1002768c
xor eax, eax
jmp 0x100276c6
push 0x3c
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.1002d9b0
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x40]
push eax
push 0x90000000
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029475
mov esp, ebp
pop ebp
ret
Function at 0x1002c17c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x1002c19d
jl 0x1002c194
test edi, edi
jne 0x1002c19d
xor eax, eax
xor edx, edx
jmp 0x1002c25e
cmp dword [ebx + 0x38], 0
je 0x1002c1b2
push eax
push edi
push dword [ebp + 8]
call fcn.1002c264
jmp 0x1002c25e
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1002c1f9
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x1002c1f9
cmp eax, edi
jb 0x1002c1d3
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.1002dcb0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x1002c1ff
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x1002c253
mov ecx, ebx
call fcn.1002b9d0
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x1002c23e
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.1003a12f
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x1002c253
jmp 0x1002c211
test edx, edx
je 0x1002c253
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1003a12f
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x10037f87
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10037fc6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10037fc6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10037fc6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10037fc6
cmp dword [ecx + 0x74], 0xe
jbe 0x10037fc6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10040240
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1003c0ce
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100402af
cmp esi, dword [ebp - 4]
je 0x100402aa
cmp dword [ebp + 0xc], 0
je 0x100402aa
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10040287
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1003fd92
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100402b1
xor eax, eax
inc eax
jmp 0x100402b1
xor eax, eax
pop edi
pop esi
leave
ret