joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100585f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b4008
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10247db0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.10045300
mov dword [ebp - 4], 0
push 0x10058520
push 3
push 0x20
mov eax, dword [ebp - 0x10]
add eax, 0x88
push eax
call fcn.1004d6c0
push 0x10058580
push 3
push 0x28
mov ecx, dword [ebp - 0x10]
add ecx, 0xe8
push ecx
call fcn.1004d6c0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x168], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x24], 0
lea ecx, [ebp - 0x38]
call fcn.10044c50
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0x558
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x38]
call fcn.10052180
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x38]
call fcn.10052180
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x38]
push eax
call fcn.100522e0
push 0xf3690c
mov ecx, dword [0x10266cc8]
call fcn.100e1350
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x168], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x160], 0
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov word [edx + 6], cx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov word [ecx + 4], ax
xor edx, edx
mov eax, dword [ebp - 0x10]
mov word [eax + 2], dx
push 0x101f0e1a
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.10045050
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0x10]
mov byte [edx], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x50], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x48], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x54], 0
mov dword [ebp - 0x14], 0
jmp 0x1005878d
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 3
jge 0x100587b1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [eax + edx*4 + 0x58], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0x64], 0
jmp 0x10058784
mov dword [ebp - 0x18], 0
jmp 0x100587c3
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x100587d9
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0x70], 0
jmp 0x100587ba
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x164], 0
mov ecx, dword [ebp - 0x10]
call fcn.10058820
mov ecx, dword [ebp - 0x10]
call fcn.1005b3a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.10052290
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1005d9f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x1005da0e
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jae 0x1005da3a
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
xor ecx, dword [ebp - 8]
and ecx, 0xff
mov edx, dword [ebp - 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x102488d0]
mov dword [ebp - 8], edx
jmp 0x1005da05
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x1005edd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10247db0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x40], ecx
mov ecx, 0xb
mov esi, str._pipediscord_ipc_0
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x44], 0x15
mov eax, 2
imul ecx, eax, 0x15
mov edx, 0x30
mov word [ebp + ecx - 0x34], dx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 0x38]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], 0xffffffff
je 0x1005ee47
mov ecx, dword [ebp - 0x38]
mov byte [ecx], 1
mov al, 1
jmp 0x1005eeb8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jne 0x1005ee8a
mov edx, 2
imul eax, edx, 0x15
movzx ecx, word [ebp + eax - 0x34]
cmp ecx, 0x39
jge 0x1005ee88
mov edx, 2
imul eax, edx, 0x15
mov cx, word [ebp + eax - 0x34]
add cx, 1
mov edx, 2
imul eax, edx, 0x15
mov word [ebp + eax - 0x34], cx
jmp 0x1005ee15
jmp 0x1005eeaf
cmp dword [ebp - 0x3c], 0xe7
jne 0x1005eeaf
push 0x2710
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x1005eeaa
xor al, al
jmp 0x1005eeb8
jmp 0x1005ee15
xor al, al
jmp 0x1005eeb8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10159b70
mov esp, ebp
pop ebp
ret
Function at 0x1005ef10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0xc], 0
jne 0x1005ef26
mov al, 1
jmp 0x1005efc9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1005ef46
push 0x4f
push 0x101f59a8
push 0x101f5a9c
call fcn.10176a20
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x1005ef50
xor al, al
jmp 0x1005efc9
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0xffffffff
jne 0x1005ef5d
xor al, al
jmp 0x1005efc9
cmp dword [ebp + 8], 0
jne 0x1005ef77
push 0x56
push 0x101f5aa8
push 0x101f5b9c
call fcn.10176a20
add esp, 0xc
cmp dword [ebp + 8], 0
jne 0x1005ef81
xor al, al
jmp 0x1005efc9
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x1005efbf
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
jne 0x1005efbf
mov dword [ebp - 0x10], 1
jmp 0x1005efc6
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x1005efd0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
jne 0x1005eff3
push 0x62
push 0x101f5ba8
push 0x101f5c9c
call fcn.10176a20
add esp, 0xc
cmp dword [ebp + 8], 0
jne 0x1005f000
xor al, al
jmp 0x1005f0cc
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x1005f020
push 0x67
push 0x101f5ca8
push str.self
call fcn.10176a20
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x1005f02d
xor al, al
jmp 0x1005f0cc
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x1005f03d
xor al, al
jmp 0x1005f0cc
mov dword [ebp - 0xc], 0
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x1005f0c2
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0xc]
jb 0x1005f0c0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x1005f0b8
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x14]
je 0x1005f0b2
push 0x74
push 0x101f5da8
push str.bytesToRead__bytesRead
call fcn.10176a20
add esp, 0xc
mov al, 1
jmp 0x1005f0cc
mov ecx, dword [ebp - 8]
call fcn.1005eed0
jmp 0x1005f0ca
mov ecx, dword [ebp - 8]
call fcn.1005eed0
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x1005f2a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x1005f301
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx]
test ecx, ecx
je 0x1005f301
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005f2fb
mov eax, dword [ebp - 8]
jmp 0x1005f33b
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x1005f338
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 8]
je 0x1005f338
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1005f6c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xaa0
mov eax, dword [0x10247db0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x20
lea eax, [ebp - 0x84]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x20
lea edx, [ebp - 0x44]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0xa9c]
push ecx
push 0x20019
push 0
push str.SoftwareValveSteam
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xa94], eax
cmp dword [ebp - 0xa94], 0
je 0x1005f752
push str.Error_opening_Steam_key_n
push 2
call fcn.10170ce0
add esp, 4
push eax
call fcn.1005f180
add esp, 8
jmp 0x1005f85b
mov dword [ebp - 0xa98], 0x208
lea edx, [ebp - 0xa98]
push edx
lea eax, [ebp - 0x28c]
push eax
push 0
push 0
push str.SteamExe
mov ecx, dword [ebp - 0xa9c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xa94], eax
mov edx, dword [ebp - 0xa9c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xa94], 0
jne 0x1005f7a5
cmp dword [ebp - 0xa98], 1
jae 0x1005f7c2
push str.Error_reading_SteamExe_key_n
push 2
call fcn.10170ce0
add esp, 4
push eax
call fcn.1005f180
add esp, 8
jmp 0x1005f85b
mov eax, dword [ebp - 0xa98]
shr eax, 1
mov dword [ebp - 0xaa0], eax
mov dword [ebp - 0xa90], 0
jmp 0x1005f7eb
mov ecx, dword [ebp - 0xa90]
add ecx, 1
mov dword [ebp - 0xa90], ecx
mov edx, dword [ebp - 0xa90]
cmp edx, dword [ebp - 0xaa0]
jae 0x1005f821
mov eax, dword [ebp - 0xa90]
movzx ecx, word [ebp + eax*2 - 0x28c]
cmp ecx, 0x2f
jne 0x1005f81f
mov edx, 0x5c
mov eax, dword [ebp - 0xa90]
mov word [ebp + eax*2 - 0x28c], dx
jmp 0x1005f7dc
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x28c]
push edx
push str.__s__steam:__rungameid__s
push 0x800
lea eax, [ebp - 0xa8c]
push eax
call fcn.1005f1c0
add esp, 0x14
lea ecx, [ebp - 0xa8c]
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.1005f340
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10159b70
mov esp, ebp
pop ebp
ret
Function at 0x10061610
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b4387
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10247db0]
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
mov ecx, dword [ebp - 0x10]
call fcn.10061d00
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.10061de0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10052a90
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0
jne 0x100616d7
push 0x14
call fcn.10159ea0
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 0
je 0x100616b4
push 0
push 0x10000
mov ecx, dword [ebp - 0x14]
call fcn.10061af0
mov dword [ebp - 0x18], eax
jmp 0x100616bb
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x14], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10062a80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b441d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10247db0]
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.10046a60
add esp, 4
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.10063240
add esp, 8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.100632c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10062cb0
mov dword [ebp - 0x20], 0x10063300
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.10040f70
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push 0
call fcn.10176df0
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x10062b1f
lea ecx, [ebp - 0x14]
call fcn.1004c5e0
jmp 0x10062b30
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
push 6
call fcn.10158870
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10062cb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100a3f20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b639d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10247db0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0xc], 1
jne 0x100a40b9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x138]
jne 0x100a4062
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x124], 1
jne 0x100a3fbd
push 0xe9
lea ecx, [ebp - 0x34]
call fcn.1008bed0
mov dword [ebp - 4], 0
push 2
push 0xad
lea ecx, [ebp - 0x34]
call fcn.10055130
mov ecx, eax
call fcn.10055130
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [0x10266cc8]
call fcn.100e0bf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100552c0
jmp 0x100a4060
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x124], 2
jne 0x100a4013
push 0xe9
lea ecx, [ebp - 0x58]
call fcn.1008bed0
mov dword [ebp - 4], 1
push 1
push 0xad
lea ecx, [ebp - 0x58]
call fcn.10055130
mov ecx, eax
call fcn.10055130
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [0x10266cc8]
call fcn.100e0bf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100552c0
jmp 0x100a4060
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x124], 4
jne 0x100a4060
push 0xf4
push 0xe9
lea ecx, [ebp - 0x7c]
call fcn.10055220
mov dword [ebp - 4], 2
push 2
lea ecx, [ebp - 0x7c]
call fcn.10055130
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [0x10266cc8]
call fcn.100e0bf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.100552c0
jmp 0x100a40b1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x134]
jne 0x100a4072
jmp 0x100a40b1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx + 0x13c]
jne 0x100a40b1
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x124], 3
jne 0x100a40b1
push 0
call fcn.10179670
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x10]
call fcn.100a41f0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x100a9b00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, 0x102b92ec
call fcn.10044e20
movzx eax, al
test eax, eax
jne 0x100a9b1d
cmp dword [ebp + 8], 0
jne 0x100a9b22
jmp 0x100a9c90
push 0x103205a4
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x400
jae 0x100a9b43
jmp 0x100a9b48
call fcn.1015a9e0
mov eax, dword [ebp - 8]
mov byte [eax + 0x103209b8], 0
mov dword [ebp - 0x14], 0
movzx ecx, word [0x103205b0]
push ecx
movzx edx, word [0x103205ae]
push edx
movzx eax, word [0x103205ac]
push eax
push str.______.2d:_.2d:_.2d_
push 0x103209b8
call fcn.100584b0
add esp, 0x14
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x400
jae 0x100a9b99
jmp 0x100a9b9e
call fcn.1015a9e0
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x103205b8], 0
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x103205b8
call fcn.100a9a70
add esp, 0xc
mov dword [ebp - 0x10], 0
push 0x103205b8
push 0x103209b8
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x10203358
push 0x103209b8
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x103209b8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x18], eax
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
mov ecx, 0x102b92ec
call fcn.10044e70
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x100a9c57
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, 0x102b92ec
call fcn.10044e70
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x100a9c57
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x100a9c90
push 2
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0x103209b8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x100aadc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b658d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10247db0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x40], 0
jne 0x100aae05
push 0
push str.Unknown_version_type
push 0x1024d508
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x101f0fd7
mov ecx, dword [ebp - 0x18]
add ecx, 8
call fcn.10045050
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 4
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x14], 0
jle 0x100aaeaa
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0xe]
call fcn.100432b0
push eax
lea ecx, [ebp - 0xd]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 1
push edx
lea ecx, [ebp - 0x2c]
call fcn.1005b5a0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.10056950
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [ebp - 0x2c]
call fcn.10056950
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 8
call fcn.10045050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10056a30
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x100ab2d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.10044e50
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push 4
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 4], 0
jle 0x100ab32a
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.10044e70
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x100b1c80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.100b69f0
movzx ecx, al
test ecx, ecx
jne 0x100b1ca3
xor al, al
jmp 0x100b1d37
mov dword [ebp - 8], 0
push 0
lea edx, [ebp - 0x10]
push edx
push 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 8], 0
jle 0x100b1d35
mov byte [ebp - 1], 0
lea ecx, [ebp - 2]
call fcn.100432b0
push eax
lea edx, [ebp - 1]
push edx
mov eax, dword [ebp - 8]
add eax, 1
push eax
lea ecx, [ebp - 0x20]
call fcn.1005b5a0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
lea ecx, [ebp - 0x20]
call fcn.10056950
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x158], 0
je 0x100b1d2d
push 0x1a9
push 0x10206110
push 0x102060e8
push 0x102060d4
call fcn.100a4d50
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.10056a30
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x100b1d40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b6bfd
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10247db0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1024d90c], 0
je 0x100b1d7a
cmp dword [0x1024db18], 0
jne 0x100b1d7c
jmp 0x100b1dd8
push 0x200
push 0x1024d918
mov eax, dword [0x1024db18]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x1024d918
lea ecx, [ebp - 0x2c]
call fcn.100451a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [0x1024d90c]
mov eax, dword [edx]
mov ecx, dword [0x1024d90c]
mov edx, dword [eax + 0x6c]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100450b0
mov eax, dword [0x102d9fd8]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10159b70
mov esp, ebp
pop ebp
ret

Function at 0x100b1e80
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.IMM32.dll_ImmIsIME]
test eax, eax
je 0x100b1f02
mov ecx, dword [0x1024db18]
push ecx
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov dword [ebp - 4], eax
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x100b1edc
push 0
push 2
push 0x282
mov eax, dword [0x1024db18]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.IMM32.dll_ImmSetStatusWindowPos]
jmp 0x100b1ef1
push 0
push 1
push 0x282
mov eax, dword [0x1024db18]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x1024db18]
push edx
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov eax, dword [0x102d9fd8]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov esp, ebp
pop ebp
ret