joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ef50
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007632e
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10099040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.DirectX11RenderTarget.0
mov dword [ebp - 4], 2
call fcn.1001ef90
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.10001c30
mov dword [ebp - 0x18], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.DirectX11RenderTarget:_Failed_to_release_DC
call fcn.100041e0
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 4
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [eax + 0x30]
call ecx
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
mov byte [ebp - 4], 3
call fcn.1000ec20
add esp, 0x1c
call fcn.1001efa0
jmp 0x1000eff4
mov dword [ebp - 4], 2
jmp 0x1000f004
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.1000e760
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 8
call fcn.1000e760
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.1000e760
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10015550
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10076b6d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10099040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10004840
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10004840
add esp, 4
push eax
lea edx, [ebp - 0x1c]
push edx
call fcn.10015f20
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.10015fb0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10015c20
mov dword [ebp - 0x20], 0x10015ff0
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
push 0
lea ecx, [ebp - 0x14]
call fcn.10001c30
push eax
mov edx, dword [ebp - 0x20]
push edx
push 0
push 0
call fcn.1005a09e
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x100155fc
lea ecx, [ebp - 0x14]
call fcn.10006620
jmp 0x1001560d
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call fcn.1003c3d6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10015c20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x10025560
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10099040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], ecx
push str.mfplat.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0
jne 0x100255a6
push str.failed_to_load_mfplat.dll
lea ecx, [ebp - 0x1c]
call fcn.100041e0
push 0x100969f8
lea eax, [ebp - 0x1c]
push eax
call fcn.1005435a
push str.MFCreateDXGIDeviceManager
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], eax
push str.MFCreateDXGISurfaceBuffer
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 8], eax
push str.MFCreateMediaType
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
push str.MFCreateMemoryBuffer
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x10], eax
push str.MFCreateSample
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x14], eax
push str.MFStartup
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x18], eax
push str.MFTEnumEx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1c], eax
push str.MFCreateMediaBufferFromMediaType
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x20], eax
push str.MFCalculateImageSize
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x24], eax
mov byte [ebp - 0x21], 0
xor edx, edx
je 0x1002569b
mov eax, dword [ebp - 0x20]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x20], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10052d14
mov esp, ebp
pop ebp
ret
Function at 0x10029430
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x10029450
jl 0x10029447
cmp dword [ebp + 0xc], 0
ja 0x10029450
xor eax, eax
xor edx, edx
jmp 0x10029587
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x10029472
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.10005fb0
jmp 0x10029587
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.10007b10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x100294e1
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.100098e0
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.10007c70
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.10004a40
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.10007bf0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x10029578
mov ecx, dword [ebp - 8]
call fcn.10029e60
mov dword [ebp - 0x18], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x10029551
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1005b3cf
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x1002954f
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x10029587
jmp 0x100294fd
cmp dword [ebp - 4], 0
jbe 0x10029578
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.1005b3cf
add esp, 0x10
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003a450
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079a1d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10099040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 4]
call fcn.100133d0
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0x40]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0x3c]
push ecx
push 0xffff8300
push 0xffff8300
push 0x90000000
push str.ThumbnailWindow
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0x30]
push ecx
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 4]
call fcn.10013410
push 5
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.ThumbnailWindow:_Failed_to_register_thumbnail
call fcn.100041e0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
add ecx, 0x38
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.dwmapi.dll_DwmRegisterThumbnail]
push eax
call fcn.1003a090
add esp, 0x1c
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
add ecx, 0x44
call fcn.100148a0
movzx edx, al
test edx, edx
jne 0x1003a593
push 1
push 0
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push edx
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1003a589
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1003a591
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1003a542
lea eax, [ebp - 0x2c]
push eax
call fcn.10021350
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
call fcn.10004c90
mov dword [ebp - 0x14], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.ThumbnailWindow:_Worker_stopped
call fcn.100041e0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10003dc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1003a9e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079a9d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10099040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.10004840
add esp, 4
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.1003ab40
add esp, 8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.1003abc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1003aae0
mov dword [ebp - 0x20], 0x1003ac00
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.10001c30
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push 0
call fcn.1005a09e
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x1003aa7f
lea ecx, [ebp - 0x14]
call fcn.1003aab0
jmp 0x1003aa90
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
push 6
call fcn.1003c3d6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1003aae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1003b1b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079b1d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10099040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x34]
call fcn.100133d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x98000000
push 0x1008d90c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x2c]
push edx
push 0x80800a0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x34]
call fcn.10013410
push 1
push 0xff
push 0x229af5
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 5
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
add ecx, 8
call fcn.100148a0
movzx edx, al
test edx, edx
jne 0x1003b2b0
push 1
push 0
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push edx
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1003b29c
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1003b2ae
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call fcn.1003b3e0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1003b255
lea ecx, [ebp - 0x28]
push ecx
call fcn.10021350
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
call fcn.10004c90
mov dword [ebp - 0x14], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.WindowHighlighter:_Worker_stopped
call fcn.100041e0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003dc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1003b3e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10099040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], eax
je 0x1003b420
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x1003b420
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x1003b434
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1003b4b7
push 0x10
lea edx, [ebp - 0x14]
push edx
push 9
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.dwmapi.dll_DwmGetWindowAttribute]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1003b461
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 0x20], 5
mov edx, dword [ebp - 0x14]
sub edx, 5
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
add eax, 5
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 5
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
add edx, 5
mov dword [ebp - 8], edx
push 0x40
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10052d14
mov esp, ebp
pop ebp
ret

Function at 0x1003b500
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079b4d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10099040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.10004840
add esp, 4
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.1003b630
add esp, 8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.1003abc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1003b5d0
mov dword [ebp - 0x20], 0x1003b6b0
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.10001c30
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push 0
call fcn.1005a09e
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x1003b59f
lea ecx, [ebp - 0x14]
call fcn.1003aab0
jmp 0x1003b5b0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
push 6
call fcn.1003c3d6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1003b5d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100526ca
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.1005c67e
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x10052709
sub eax, 1
je 0x10052704
sub eax, 1
je 0x10052700
xor eax, eax
leave
ret
push 3
jmp 0x1005270b
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x10062c37
Capabilities:
Parse pe header

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

Function at 0x10067912
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1008127c
push 0x10081274
push str.FlsAlloc
push 0x1f
call fcn.1006773d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10067946
push dword [ebp + 8]
mov ecx, esi
call dword [0x1007c3fc]
call esi
jmp 0x1006794c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10067990
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1008128c
push 0x10081284
push str.FlsGetValue
push 0x21
call fcn.1006773d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100679c7
push dword [ebp + 8]
mov ecx, esi
call dword [0x1007c3fc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100679cf
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10081294
push 0x1008128c
push str.FlsSetValue
push 0x22
call fcn.1006773d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10067a09
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1007c3fc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1006961e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10053cd0
mov eax, dword [0x10099040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.10067143
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10069660
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100697bc
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100749a0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x1009c5d8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.100691a7
mov ecx, dword [esi*4 + 0x1009c5d8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x100697b5
cmp eax, dword [ecx + edi + 0x24]
jne 0x100697b5
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100697b5
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100691a7
add esp, 0x14
test edx, edx
jl 0x100697b5
jg 0x1006972b
test eax, eax
jb 0x100697b5
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100697b5
jl 0x10069745
cmp dword [ebp - 0x1008], eax
ja 0x100697b5
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10069763
test ebx, ebx
je 0x1006979c
cmp ecx, edi
jae 0x1006979c
mov al, byte [ecx]
cmp al, 0xd
jne 0x1006977d
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10069789
cmp byte [ecx + 1], 0xa
jne 0x10069789
inc ecx
jmp 0x10069789
movzx eax, al
movsx eax, byte [eax + 0x100992f0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10069763
cmp edx, ebx
jne 0x10069763
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100697ba
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10052d14
leave
ret
Function at 0x1006985b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x1009c5d8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1006989b
cmp byte [ebx], 0xa
jne 0x1006989b
or byte [edi + eax + 0x28], 4
jmp 0x100698a0
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x1006999f
mov dl, byte [eax]
cmp dl, 0x1a
je 0x10069982
inc eax
cmp dl, 0xd
je 0x100698cc
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100698f2
cmp eax, ecx
jae 0x10069900
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x100698b4
jmp 0x1006999f
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1006997d
cmp dword [ebp - 0x10], 0
je 0x1006997d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x1009c5d8]
test byte [eax + edi + 0x28], 0x48
je 0x10069957
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10069942
mov byte [esi], dl
jmp 0x10069953
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1009c5d8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1006999f
cmp byte [ebp - 1], 0xa
jne 0x10069966
cmp esi, ebx
jne 0x10069966
mov byte [esi], 0xa
jmp 0x1006999e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100691c5
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1006999f
mov byte [esi], 0xd
jmp 0x1006999e
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x1009c5d8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1006999c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1006999f
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret