joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1562c40
Capabilities:
Terminate process

Disassembly:
cmp dword [0x156c098], 1
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
jne 0x1562c5e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x156c094], 1
cmp dword [esp + 0x14], 0
mov ebx, dword [esp + 0x18]
mov byte [0x156c090], bl
jne 0x1562cb8
cmp dword [0x15703f8], 0
je 0x1562ca6
mov edi, dword [0x15703f4]
sub edi, 4
cmp edi, dword [0x15703f8]
jb 0x1562ca6
mov eax, dword [edi]
test eax, eax
je 0x1562c9b
call eax
sub edi, 4
cmp edi, dword [0x15703f8]
jae 0x1562c93
push 0x156c01c
push 0x156c014
call fcn.01562cf0
add esp, 8
push 0x156c024
push 0x156c020
call fcn.01562cf0
add esp, 8
test ebx, ebx
jne 0x1562cdf
mov dword [0x156c098], 1
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
pop ebx
ret
Function at 0x1563080
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
push ebx
push esi
push edi
xor ebx, ebx
push ebp
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp dword [0x156c140], ebx
jne 0x15630cf
call esi
cmp eax, ebx
mov edi, eax
je 0x15630ad
mov dword [0x156c140], 1
jmp 0x15630cf
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
je 0x15630c5
mov dword [0x156c140], 2
jmp 0x15630cf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x156c140], 1
jne 0x156317e
test edi, edi
jne 0x15630f2
call esi
mov edi, eax
test edi, edi
jne 0x15630f2
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp word [edi], 0
mov esi, edi
je 0x156310c
add esi, 2
cmp word [esi], 0
jne 0x15630fa
add esi, 2
cmp word [esi], 0
jne 0x15630fa
sub esi, edi
push 0
sar esi, 1
push 0
inc esi
push 0
push 0
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
test ebp, ebp
je 0x156316d
push ebp
call fcn.01564970
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x156316d
push 0
push 0
push ebp
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x156315c
push ebx
call fcn.015646c0
add esp, 4
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x156c140], 2
jne 0x1563202
test ebx, ebx
jne 0x15631a1
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
jne 0x15631a1
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov ebp, ebx
cmp byte [ebx], 0
je 0x15631b6
inc ebp
cmp byte [ebp], 0
jne 0x15631a8
inc ebp
cmp byte [ebp], 0
jne 0x15631a8
sub ebp, ebx
inc ebp
push ebp
call fcn.01564970
mov dword [esp + 0x14], eax
add esp, 4
test eax, eax
jne 0x15631db
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, dword [esp + 0x10]
mov esi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x1563820
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1a8
xor ecx, ecx
mov eax, 0x156c370
push ebx
mov edx, dword [esp + 0x1b0]
push esi
push edi
push ebp
cmp dword [eax], edx
je 0x1563847
add eax, 8
inc ecx
cmp eax, 0x156c400
jb 0x1563838
cmp dword [ecx*8 + 0x156c370], edx
lea ebx, [ecx*8]
jne 0x1563a0b
cmp dword [0x156c040], 1
je 0x15639c7
cmp dword [0x156c040], 0
jne 0x156387e
cmp dword [0x156c044], 1
je 0x15639c7
cmp edx, 0xfc
je 0x1563a0b
lea eax, [esp + 0xb4]
push 0x104
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call ebp
test eax, eax
jne 0x15638bb
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ebp, [esp + 0xb4]
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x15638ff
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
push 3
repne scasb al, byte es:[edi]
not ecx
lea ebp, [esp + ecx + 0x7c]
push 0x156b4a8
push ebp
call fcn.015657c0
add esp, 0xc
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, ebp
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x156b488
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x156c374]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [esp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x12010
and ecx, 3
push str.Microsoft_Visual_C_Runtime_Library
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x1c]
push eax
call fcn.01565720
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
cmp dword [0x15702f0], 0
je 0x15639dd
mov eax, dword [0x15702f0]
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x15639e7
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebx + 0x156c374]
push 0
lea eax, [esp + 0x14]
mov edi, edx
push eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
Function at 0x1564e80
Capabilities:
Enumerate files on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x1564ed9
cmp dword [0x156d658], 0
jne 0x1564ea4
push 0x244
call fcn.01564970
add esp, 4
mov dword [0x156d658], eax
mov eax, dword [0x156d65c]
test eax, eax
je 0x1564ebe
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [0x156d65c], 0
mov eax, dword [0x156d658]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [0x156d65c], eax
cmp eax, 0xffffffff
jne 0x1564f0a
xor eax, eax
pop esi
ret
mov eax, dword [0x156d658]
mov ecx, dword [0x156d65c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1564f0a
mov eax, dword [0x156d65c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop esi
mov dword [0x156d65c], 0
ret
mov eax, dword [0x156d658]
pop esi
add eax, 0x2c
ret
Function at 0x15663c0
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x418
cmp dword [0x15703f0], edx
push ebx
push esi
push edi
push ebp
jbe 0x15665c7
mov eax, edx
and eax, 0xffffffe7
sar eax, 3
add eax, 0x15702f0
mov dword [esp + 0x18], eax
mov eax, edx
and eax, 0x1f
mov ecx, dword [esp + 0x18]
shl eax, 3
mov ebx, dword [ecx]
mov ebp, eax
mov dword [esp + 0x1c], eax
mov al, byte [ebx + ebp + 4]
test al, 1
je 0x15665c7
xor esi, esi
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x20], esi
cmp ebp, esi
jne 0x1566429
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
test al, 0x20
je 0x156643a
push 2
push 0
push edx
call fcn.01566670
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add ecx, dword [eax]
test byte [ecx + 4], 0x80
je 0x15664d6
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x430]
mov eax, ebx
sub eax, dword [esp + 0x430]
cmp eax, ebp
jae 0x156650f
lea edi, [esp + 0x24]
mov eax, ebx
sub eax, dword [esp + 0x430]
cmp eax, ebp
jae 0x156649d
mov al, byte [ebx]
inc ebx
cmp al, 0xa
jne 0x156648b
mov byte [edi], 0xd
inc esi
inc edi
mov byte [edi], al
inc edi
mov eax, edi
lea ecx, [esp + 0x24]
sub eax, ecx
cmp eax, 0x400
jl 0x1566472
lea eax, [esp + 0x24]
push 0
sub edi, eax
lea ecx, [esp + 0x28]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
push edi
push ecx
mov eax, dword [edx]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1566505
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], eax
cmp eax, edi
jge 0x156645d
jmp 0x156650f
lea eax, [esp + 0x14]
push 0
mov edx, dword [esp + 0x434]
push eax
push ebp
mov ecx, dword [ecx]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1566505
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
jmp 0x156650f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x20], 0
jne 0x15665b6
cmp dword [esp + 0x10], 0
je 0x1566568
cmp dword [esp + 0x10], 5
jne 0x156654b
mov dword [0x156c050], 9
mov eax, dword [esp + 0x10]
pop ebp
pop edi
mov dword [0x156c054], eax
mov eax, 0xffffffff
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x10]
push eax
call fcn.01566b60
add esp, 4
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
test byte [edx + ecx + 4], 0x40
je 0x1566592
mov eax, dword [esp + 0x430]
cmp byte [eax], 0x1a
jne 0x1566592
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, 0xffffffff
pop ebp
mov dword [0x156c050], 0x1c
mov dword [0x156c054], 0
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x20]
pop ebp
sub eax, esi
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, 0xffffffff
pop ebp
mov dword [0x156c050], 9
mov dword [0x156c054], 0
pop edi
pop esi
pop ebx
add esp, 0x418
ret
Function at 0x1566ce0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov ecx, 0xffffffff
push edi
sub eax, eax
mov edi, dword [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x1566d04
xor eax, eax
jmp 0x1566d43
push esi
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_CharToOemA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1566d26
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x1566d43
push esi
test al, 0x10
jne 0x1566d38
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x1566d43
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 2
pop edi
pop esi
ret 4

Function at 0x1567f78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov eax, dword [esp + 0x10]
mov ebp, esp
push esi
push edi
mov esi, dword [ebp + 0xc]
shr esi, 2
mov edx, dword [ebp + 8]
mov ecx, esi
dec esi
test ecx, ecx
jle 0x1567fb9
movzx edi, byte [edx]
inc edx
movzx ecx, byte [edx]
shl ecx, 8
inc edx
or edi, ecx
movzx ecx, byte [edx]
shl ecx, 0x10
inc edx
or edi, ecx
movzx ecx, byte [edx]
shl ecx, 0x18
inc edx
or edi, ecx
mov ecx, esi
xor eax, edi
dec esi
test ecx, ecx
jg 0x1567f91
xor esi, esi
mov ecx, dword [ebp + 0xc]
and ecx, 3
cmp ecx, 1
je 0x1567fe0
cmp ecx, 2
je 0x1567fd7
cmp ecx, 3
jne 0x1567fe5
movzx esi, byte [edx]
shl esi, 0x10
inc edx
movzx ecx, byte [edx]
shl ecx, 8
inc edx
or esi, ecx
movzx ecx, byte [edx]
or esi, ecx
xor eax, esi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10031820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1004f37c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10031850
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10031880
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x10031880
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1003197a
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x100318a9
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100318dd
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x1003197a
cmp eax, 1
jle 0x1003193b
cmp eax, 3
jne 0x1003197a
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.1001d050
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10031959
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1003197a
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1003197a
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
Function at 0x10036f80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ecf8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1004f37c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1004f338]
cmp eax, 0xffffffff
jne 0x10036fb6
xor ebx, ebx
jmp 0x10036fbf
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x10036fff
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003703e
test esi, esi
jne 0x10037042
push 0x10035760
push 0x10050e58
call fcn.1001d050
mov eax, dword [0x1004f338]
add esp, 8
cmp eax, 0xffffffff
je 0x10036fff
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003702c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003702c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10037084
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1003706d
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x10037042
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10036fd0
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100370a9
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x100370a9
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.1001d050
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x10037090
jmp 0x10036fd0

Function at 0x100370d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x10]
push eax
push 4
push edx
push 0x10037130
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x100370fa
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esi]
push edi
add eax, 4
lock inc dword [eax]
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x10037118
cmp eax, 0xffffffff
je 0x10037118
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x63bc90
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0063bca0

Function at 0x63bf20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0063bf30

Function at 0x16a59f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.FKP1
lea edi, [esi - 0x1272000]
push edi
or ebp, 0xffffffff
jmp 0x16a5a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a5a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a08
mov eax, 1
add ebx, ebx
jne 0x16a5a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a5a3c
jne 0x16a5a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a5b
dec eax
add ebx, ebx
jne 0x16a5a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a5a20
add ebx, ebx
jne 0x16a5a57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x16a5aad
xor ecx, ecx
sub eax, 3
jb 0x16a5a73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a5ae2
sar eax, 1
mov ebp, eax
jmp 0x16a5a7e
add ebx, ebx
jne 0x16a5a7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
inc ecx
add ebx, ebx
jne 0x16a5a8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
add ebx, ebx
jne 0x16a5a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a5a8e
jne 0x16a5aaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a5a8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x16a5acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a5abe
jmp 0x16a5a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a5acc
add edi, ecx
jmp 0x16a5a0e
pop esi
mov edi, esi
mov ecx, 0x34f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a5aea
cmp byte [edi], 0x16
jne 0x16a5aea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x16a5aef
lea edi, [esi + 0x12a2000]
mov eax, dword [edi]
or eax, eax
je 0x16a5b5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a67a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a6890]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a5b1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a6894]
or eax, eax
je 0x16a5b58
mov dword [ebx], eax
add ebx, 4
jmp 0x16a5b39
call dword [esi + 0x12a68a4]
mov ebp, dword [esi + 0x12a6898]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x16a5b92
sub esp, 0xffffff80
jmp 0x46c1ac
Function at 0x100704b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x1007054d
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x100704d1
cmp al, 0x6b
jne 0x1007054d
inc ecx
cmp al, 0x6b
jne 0x10070515
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x100704f2
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x100704f2
cmp dl, 0xbb
jne 0x100704f8
inc eax
cmp eax, esi
jl 0x100704e0
sub esi, eax
test eax, eax
jne 0x10070518
push 0
push 0
push 0x8a
push 0x80
push 4
call fcn.1005ece0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x1007053b
push 0
push 0
push 0x8b
push 0x80
push 4
call fcn.1005ece0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.10096ab0
add esp, 0xc
mov eax, esi
pop esi
ret
push 0
push 0
push 0x89
push 0x80
push 4
call fcn.1005ece0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret

Function at 0x10071e56
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0xe0
push ebx
push esi
push edi
push 0x33
pop ebx
push 0x64
pop edx
push 0x6b
pop eax
push 0x65
mov dword [ebp - 0x4c], ecx
pop ecx
push 0x72
mov word [ebp - 0x70], ax
pop eax
push 0x6e
mov word [ebp - 0x6c], ax
pop eax
push 0x6c
mov word [ebp - 0x6e], cx
mov word [ebp - 0x68], cx
pop ecx
push 0x32
mov word [ebp - 0x6a], ax
mov dword [ebp - 0x6a], eax
pop eax
mov word [ebp - 0x62], ax
push 0x2e
pop eax
mov word [ebp - 0x60], ax
xor eax, eax
mov word [ebp - 0x66], cx
mov word [ebp - 0x5c], cx
mov word [ebp - 0x5a], cx
mov ecx, 0x3d090c
mov dword [ebp - 0x34], 0x4f3e253e
mov dword [ebp - 0x30], 0x4e343477
mov word [ebp - 0x2c], 0x7476
mov byte [ebp - 0x2a], 0x56
inc ebp
salc
push esi
mov byte [ebp - 0x29], bl
mov dword [ebp - 0x28], 0x346d7942
mov dword [ebp - 0x24], 0x51514a4e
mov dword [ebp - 0x20], 0x68626774
mov byte [ebp - 0x1c], dl
mov byte [ebp - 0x1b], 0
mov word [ebp - 0x64], bx
mov word [ebp - 0x5e], dx
mov word [ebp - 0x58], ax
xor eax, eax
mov byte [ebp + eax - 0xe0], al
inc eax
cmp eax, 0x6a
jb 0x10071ef1
dec ecx
jne 0x10071eef
out dx, al
cmp byte [ebp - 0xb0], 0x30
jne 0x10071f37
call fcn.1007228a
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0xc]
mov esi, edi
push ecx
mov ecx, dword [esi + 0x30]
lea edx, [ebp - 0x70]
call fcn.100722a8
pop ecx
test eax, eax
je 0x10071f32
mov esi, dword [esi]
cmp esi, edi
jne 0x10071f17
xor esi, esi
jmp 0x10071f3a
mov esi, dword [esi + 0x18]
jmp 0x10071f3a
mov esi, dword [ebp - 0x4c]
mov edx, 0xe3142
mov ecx, esi
call fcn.1007232a
mov ebx, eax
mov edx, 0xd5786
mov ecx, esi
mov dword [ebp - 0x18], ebx
call fcn.1007232a
mov edx, 0x348bfa
mov dword [ebp - 0x74], eax
mov ecx, esi
call fcn.1007232a
push 4
push 0x3000
push 0x76200
pop es
add byte [edx], ch
mov dword [ebp - 0x3c], eax
call ebx
movsx edx, byte [ebp - 0x88]
mov ebx, eax
movsx ecx, byte [ebp - 0xe0]
mov edi, resource.0
imul edx, ecx
xor esi, esi
mov dword [ebp - 0x14], ebx
imul eax, edx, 0x16
sub edi, ebx
mov dword [ebp - 8], eax
xor edx, edx