joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100dadd0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
or esi, 0xffffffff
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], edi
jle 0x100dae26
push ebx
mov eax, dword [ebp + 8]
movzx ecx, byte [edi + eax]
push 8
push ecx
mov ecx, dword [ebp - 4]
call fcn.100c4aa0
mov edx, 8
jmp 0x100dae00
mov ecx, esi
movzx ebx, al
sar ecx, 0x1f
and ecx, 1
shr ebx, 7
add esi, esi
xor ebx, ecx
je 0x100dae1a
xor esi, 0x4c11db7
add al, al
dec edx
jne 0x100dae00
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x100dade4
pop ebx
mov ecx, dword [ebp - 4]
push 0x20
push esi
call fcn.100c4aa0
pop edi
not eax
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x100ddb20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1020b518
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x105520d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x100ddb61
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov dword [esi], edi
mov eax, dword [esi + 4]
cmp eax, edi
je 0x100ddb74
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esi + 4], edi
mov eax, dword [ebp + 8]
mov ebx, 0x10
cmp dword [ebp + 0x1c], ebx
jae 0x100ddb84
lea eax, [ebp + 8]
push 0x1025a8d8
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
mov dword [esi], eax
cmp eax, edi
je 0x100ddc3b
push edi
push edi
mov edi, dword [sym.imp.MSVCR100.dll_fseek]
push eax
call edi
mov ecx, dword [esi]
mov ebx, dword [sym.imp.MSVCR100.dll_fgetpos]
lea eax, [ebp - 0x1c]
push eax
push ecx
call ebx
mov edx, dword [esi]
push 2
push 0
push edx
call edi
mov ecx, dword [esi]
lea eax, [ebp - 0x14]
push eax
push ecx
call ebx
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
mov eax, dword [esi]
push 0
push 0
push eax
mov dword [esi + 8], edx
call edi
mov ecx, dword [esi + 8]
push ecx
call fcn.10203b14
mov edx, dword [esi]
mov ecx, dword [esi + 8]
push edx
push ecx
push 1
push eax
mov dword [esi + 4], eax
call dword [sym.imp.MSVCR100.dll_fread]
mov edx, dword [esi]
add esp, 0x48
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov ecx, esi
mov dword [esi], 0
call fcn.100dda10
cmp dword [ebp + 0x1c], 0x10
jb 0x100ddc25
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
cmp dword [ebp + 0x1c], ebx
jb 0x100ddc4c
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x100dfc30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [str.__data__n]
mov eax, dword [ebp + 8]
mov edx, dword [0x102d8b4c]
push esi
push 0
push 0x80
push 3
push 0
push 0
mov dword [ebp - 0x10], ecx
mov cl, byte [0x102d8b50]
push 0xc0000000
push eax
mov dword [ebp - 0xc], edx
mov byte [ebp - 8], cl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100dfc96
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 4
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 0x14]
push edx
push 8
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 4

Function at 0x100dfcd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
cmp dword [ebx + 0x140], 0xffffffff
jne 0x100dfcec
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x104]
push esi
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
jne 0x100dfd16
lea eax, [esi + 0xe]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x128]
imul eax, dword [ebx + 0x104]
xor ecx, ecx
add eax, dword [ebx + 0x138]
push edi
adc ecx, dword [ebx + 0x13c]
lea edi, [ebx + 0x144]
push ecx
push eax
push edi
mov ecx, ebx
call fcn.100dfbb0
mov eax, dword [ebx + 0x104]
mov ecx, dword [ebx + 0x140]
push edi
lea edx, [ebp - 8]
push edx
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100dfd6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebx + 0x570]
lea edi, [ebx + 0x16c]
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x200]
push 0x3000
add eax, 0x400
push eax
lea edi, [ebx + 0x370]
mov ecx, 0x80
push edx
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100e01a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push str.Creating_the_rawprogram0.xml_file_n
push ecx
call fcn.100e0070
add esp, 8
mov ecx, 7
mov esi, str.__xml_version_1.0_____n_data__n
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
push 0
push 0x80
push 2
push 0
push 0
movsw word es:[edi], word [esi]
push 0xc0000000
push ebx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100e020f
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp - 0x28]
push eax
push 0x1e
lea ecx, [ebp - 0x24]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 4
Function at 0x100e6c70
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x18], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x100e6cac
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.MSVCR100.dll__strlwr]
add esp, 4
jmp 0x100e6cb0
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov edx, esi
mov ecx, eax
sub edx, ecx
pop esi
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x100e6cc0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 4
Function at 0x100e74c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10206178
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x105520d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x102db6cc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100e7506
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.1015c080
mov ecx, dword [esi + 4]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100e7540
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push str.CClientRegisterHelper::UnRegister_n
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test ebx, ebx
jne 0x100e7575
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.100e6c70
lea ebx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, edi
mov dword [ebp - 0x18], ebx
call fcn.100e6dc0
mov dword [ebp - 0x18], eax
cmp eax, dword [edi + 4]
je 0x100e759f
mov eax, dword [eax + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
js 0x100e759f
lea eax, [ebp - 0x18]
jmp 0x100e75a8
mov edx, dword [edi + 4]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x1c]
mov esi, dword [eax]
cmp esi, dword [edi + 4]
je 0x100e7618
mov eax, dword [esi + 0x10]
dec dword [eax]
mov eax, dword [esi + 0x10]
cmp dword [eax], 0
je 0x100e75d1
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 4
add eax, 4
push eax
push 0
push ebx
mov ecx, edi
call fcn.100e7120
mov ebx, eax
mov eax, dword [esi + 0x10]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
lea eax, [esi + 0xc]
mov esi, dword [eax]
add esp, 4
push eax
mov ecx, edi
call fcn.100e7400
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 0x80004005
pop ebx
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 4
Function at 0x100e76a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1020b888
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x105520d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
push 0x18
mov dword [esi + 8], ebx
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x100e779d
mov dword [esi + 4], eax
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov byte [eax + 0x14], 1
mov ecx, dword [esi + 4]
mov byte [ecx + 0x15], 1
push str.CClientRegisterHelper::CClientRegisterHelper_n
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [ebp + 8]
cmp edi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
je 0x100e773c
push edi
call ebx
test eax, eax
je 0x100e773c
push edi
call ebx
inc eax
push eax
call fcn.10203b14
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
je 0x100e7760
push edi
jmp 0x100e7759
push str.Unknown_Client_Name
call ebx
inc eax
push eax
call fcn.10203b14
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
je 0x100e7760
push str.Unknown_Client_Name
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edi, [esi + 0x14]
push edi
mov ecx, esi
call fcn.100e6c70
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100e7770
sub eax, edx
jne 0x100e7787
push str.Unknown_Machine_Name
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x1042a490
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3
Function at 0x100e77d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push str.CClientRegisterHelper::Register_n
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test edi, edi
jne 0x100e7804
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.100e6c70
lea edi, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
mov dword [ebp - 0x18], edi
call fcn.100e6dc0
mov dword [ebp - 0x18], eax
cmp eax, dword [esi + 4]
je 0x100e782e
mov eax, dword [eax + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
js 0x100e782e
lea eax, [ebp - 0x18]
jmp 0x100e7837
mov edx, dword [esi + 4]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x1c]
mov eax, dword [eax]
cmp eax, dword [esi + 4]
je 0x100e786e
mov ecx, dword [eax + 0x10]
inc dword [ecx]
mov eax, dword [eax + 0x10]
add eax, 4
cmp word [eax], 0xffff
jne 0x100e78c9
push eax
push 1
push edi
mov ecx, esi
call fcn.100e7120
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x20]
push eax
push 1
push edi
mov ecx, esi
call fcn.100e7120
test eax, eax
js 0x100e78c9
push ebx
push 8
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100e78c8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call fcn.10203b14
add esp, 4
push edi
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, esi
call fcn.100e7630
mov dword [eax], ebx
mov dword [ebx], 1
mov dx, word [ebp - 0x20]
mov word [ebx + 4], dx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 4
Function at 0x100efae0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1020c207
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x105520d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi], vtable.CNVStorage.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
or eax, 0xffffffff
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov word [esi + 0x5c], ax
mov dword [esi + 0x5e], ebx
mov byte [esi + 0x62], bl
call fcn.100ee930
mov dword [esi + 0xac], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100f3690
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1020c490
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x105520d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push eax
call edi
cmp byte [esi + 0x44], 0
mov dword [ebp - 4], 0
jne 0x100f3700
push esi
push 0
push 0x100f33c0
call dword [sym.imp.MSVCR100.dll__beginthread]
mov ecx, dword [esi + 4]
add esp, 0xc
push 0xffffffffffffffff
push ecx
call edi
mov ecx, dword [esi + 0x18]
call fcn.10149f40
mov byte [esi + 0x44], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push eax
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], edx
call fcn.100f3610
mov ecx, dword [esi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100f5680
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1020ab98
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x105520d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [esi + 0x7c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 8]
push ecx
lea ecx, [esi + 0x50]
call fcn.10003140
cmp byte [esi + 0x70], 0
jne 0x100f56f8
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
push esi
mov dword [ebp - 0x10], 0x100f45e0
call fcn.100e7fc0
mov ecx, esi
call fcn.100f5230
cmp byte [esi + 0x6f], 0
mov dword [ebp - 0x14], 0x100f46b0
je 0x100f570c
mov dword [ebp - 0x14], 0x100f4680
mov ebx, dword [ebp + 0x24]
nop
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp - 0x10], 0x100f4700
call fcn.100e7fc0
mov ecx, esi
call fcn.100f5230
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jae 0x100f5746
mov ecx, eax
sub ecx, edi
dec ecx
cmp ecx, ebx
ja 0x100f575c
cmp byte [esi + 0x71], 1
je 0x100f5762
sub eax, edi
cmp eax, ebx
ja 0x100f575c
cmp byte [esi + 0x71], 1
je 0x100f5762
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100f5710
cmp byte [esi + 0x71], 1
jne 0x100f5778
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
lea edx, [ebp - 0x14]
push edx
push esi
call fcn.100e7fc0
mov ecx, esi
call fcn.100f5230
mov eax, dword [esi + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebp + 0x1c], 0x10
mov bl, byte [esi + 0x71]
jb 0x100f5797
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x100f57b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [esi + 0x7c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 0x70], 0
jne 0x100f57f1
push 0xffffffffffffffff
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [esi + 4]
push esi
mov dword [ebp - 8], 0x100f45e0
call fcn.100e7fc0
mov ecx, esi
call fcn.100f5230
cmp byte [esi + 0x6f], 0
mov dword [ebp - 4], 0x100f46b0
je 0x100f5805
mov dword [ebp - 4], 0x100f4680
push ebx
mov ebx, dword [ebp + 8]
lea esp, [esp]
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
lea edx, [ebp + 8]
push edx
push esi
mov dword [ebp + 8], 0x100f4610
call fcn.100e7fc0
mov ecx, esi
call fcn.100f5230
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jae 0x100f5846
mov ecx, eax
sub ecx, edi
dec ecx
cmp ecx, ebx
ja 0x100f585c
cmp byte [esi + 0x71], 1
je 0x100f5860
sub eax, edi
cmp eax, ebx
ja 0x100f585c
cmp byte [esi + 0x71], 1
je 0x100f5860
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100f5810
cmp byte [esi + 0x71], 1
pop ebx
jne 0x100f5879
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
lea edx, [ebp - 4]
push edx
push esi
call fcn.100e7fc0
mov ecx, esi
call fcn.100f5230
mov eax, dword [esi + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, byte [esi + 0x71]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100fa290
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xc]
xor esi, esi
cmp eax, esi
je 0x100fa2c5
movzx ecx, bl
push ecx
push str.CProtAHDLC::Data2DM_baudrate_mask_d_
push 0x40
push eax
call fcn.10115e20
add esp, 0x10
cmp dword [edi + 8], esi
je 0x100fa438
cmp dword [edi + 0x10], esi
jne 0x100fa2e8
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x40]
push eax
call edx
jmp 0x100fa2e8
mov bl, byte [ebp + 8]
xor esi, esi
test bl, 1
je 0x100fa2f9
mov dword [ebp - 0x3c], 0x4b00
and bl, 0xfe
jmp 0x100fa308
test bl, 4
je 0x100fa30b
mov dword [ebp - 0x3c], 0x1c200
and bl, 0xfb
mov byte [ebp + 8], bl
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov edx, dword [ebp - 0x3c]
mov eax, dword [eax + 0x10]
push edx
call eax
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
jmp 0x100fa336
xor esi, esi
lea ecx, [ebp - 0x18]
push str.AT_QCDMG_r
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x18]
add esp, 8
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100fa350
mov ecx, dword [edi + 8]
sub eax, edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call edx
mov dword [ebp - 0x38], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ebx, [eax + 0xc8]
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov edx, 0x14
sub edx, esi
push edx
lea edx, [ebp + esi - 0x2c]
push edx
call eax
add esi, eax
xor eax, eax
test esi, esi
jle 0x100fa3b3
cmp byte [ebp + eax - 0x2c], 0x4b
jne 0x100fa3a8
mov ecx, 1
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], ecx
inc eax
cmp eax, esi
jl 0x100fa396
cmp dword [ebp - 0x38], 0
jne 0x100fa3c2
cmp esi, 0x1e
jge 0x100fa3c2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp ebx, eax
jae 0x100fa377
inc dword [ebp - 0x34]
cmp dword [ebp - 0x30], 0
jne 0x100fa3df
cmp dword [ebp - 0x34], 2
jl 0x100fa334
test byte [ebp + 8], 5
jne 0x100fa2e3
cmp dword [edi + 0x10], 0
jne 0x100fa3f3
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x40]
mov edx, dword [edx + 0x10]
push eax
call edx
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov edi, dword [edi + 8]
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
mov ecx, edi
call edx
cmp dword [ebp - 0x30], 0
je 0x100fa438
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 4
Function at 0x100fb370
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
cmp byte [esi + 0xd4], 0
je 0x100fb3d0
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x100fb3c4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edx
mov edx, dword [esi + 0xdc]
mov dword [ebp + 0xc], ecx
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [esi + 0xd8]
push edx
push ecx
call eax
add esp, 0x10
test eax, eax
je 0x100fb3ba
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100fb426
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esi + 4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov eax, dword [esi]
je 0x100fb450
push eax
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8