joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18014b70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [esp + 0x10]
mov dword [esp + 0xc], eax
push esi
mov eax, ebx
push edi
mov dword [esp + 0x10], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x18014b94
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.MSVCR90.dll_fwrite]
push esi
push 1
sub eax, edx
lea ecx, [esp + 0x14]
sar eax, 1
push 4
push ecx
mov dword [esp + 0x1c], eax
call edi
add esp, 0x10
cmp eax, 1
jge 0x18014bd8
lea edi, [esp + 0x10]
call fcn.18002330
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esp + 0xc]
push esi
push edx
push 2
push ebx
call edi
add esp, 0x10
lea edi, [esp + 0x10]
cmp eax, dword [esp + 0xc]
jb 0x18014bc8
call fcn.18002330
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x180150b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x18015116
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x18015116
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, ebx
mov dword [esp + 0x10], 0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x180150e0
mov esi, dword [sym.imp.MSVCR90.dll_fwrite]
push edi
push 1
sub eax, edx
lea ecx, [esp + 0x14]
sar eax, 1
push 4
push ecx
mov dword [esp + 0x1c], eax
call esi
add esp, 0x10
cmp eax, 1
jge 0x18015121
lea edi, [esp + 0x10]
call fcn.18002330
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [esp + 0xc]
push edi
push edx
push 2
push ebx
call esi
add esp, 0x10
cmp eax, dword [esp + 0xc]
jb 0x1801510d
push edi
push 1
lea eax, [ebp + 0x10]
push 4
push eax
call esi
add esp, 0x10
cmp eax, 1
jl 0x1801510d
push edi
push 1
lea ecx, [ebp + 0x18]
push 4
push ecx
call esi
add esp, 0x10
cmp eax, 1
jl 0x1801510d
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push edi
push edx
push 1
push eax
call esi
add esp, 0x10
lea edi, [esp + 0x10]
cmp eax, dword [ebp + 0x18]
jb 0x18015111
call fcn.18002330
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x18015190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
test edi, edi
je 0x1801522b
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1801522b
mov eax, ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x180151c0
mov esi, dword [sym.imp.MSVCR90.dll_fwrite]
push edi
push 1
sub eax, edx
lea ecx, [esp + 0x14]
sar eax, 1
push 4
push ecx
mov dword [esp + 0x1c], eax
call esi
add esp, 0x10
cmp eax, 1
jl 0x1801522b
mov edx, dword [esp + 0xc]
push edi
push edx
push 2
push ebx
call esi
add esp, 0x10
cmp eax, dword [esp + 0xc]
jb 0x1801522b
push edi
push 1
lea eax, [ebp + 0x10]
push 4
push eax
call esi
add esp, 0x10
cmp eax, 1
lea edi, [esp + 0x10]
jl 0x1801522f
call fcn.18002330
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edi, [esp + 0x10]
call fcn.18002330
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x180156f0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [ecx + 4]
test esi, esi
je 0x18015716
mov eax, dword [esi + 4]
test eax, eax
je 0x18015716
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x18015716
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x18018700
Capabilities:
Allocate thread local storage
Print debug messages

Disassembly:
push str.DllMain___:_DLL_PROCESS_ATTACH____HncBase_Start__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 4]
mov dword [0x18050454], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x18053774], eax
cmp eax, 0xffffffff
je 0x18018764
push 0x1805375c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x18040a84
push 0
call dword [sym.imp.MSVCR90.dll__wsetlocale]
add esp, 8
call fcn.18026000
push 0x1805044c
call sym.HncBL90.dll_HncInitModule
test eax, eax
je 0x18018764
push edi
mov edi, 0x18053860
call fcn.18009ad0
mov eax, 1
pop edi
ret
xor eax, eax
ret

Function at 0x18018770
Capabilities:
Get thread local storage value
Print debug messages
Set thread local storage value

Disassembly:
push esi
push str.DllMain___:_DLL_PROCESS_DETACH____HncBase_End__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, 0x18053860
call fcn.18009b80
push 0x1805044c
call sym.HncBL90.dll_HncExitModule
call sym.HncBL90.dll_UnloadUnicodeTbl
mov eax, dword [0x18053774]
cmp eax, 0xffffffff
je 0x180187fb
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.MSVCR90.dll_free]
mov esi, eax
test esi, esi
je 0x180187cc
call sym.HncBL90.dll_HncClearWarning
push esi
call edi
mov eax, dword [0x18053774]
add esp, 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [0x18053774]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsFree]
push 0x1805375c
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edx, dword [0x1805379c]
push edx
call edi
add esp, 4
mov dword [0x1805379c], 0
pop edi
mov eax, 1
pop esi
ret
Function at 0x18019870
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 4], 1
push esi
mov esi, ecx
jne 0x1801987f
call sym.HncBL90.dll_private:_void___thiscall_CHncAbortProc::_catchDropMessage_void_
mov ecx, esi
call sym.HncBL90.dll_public:_void___thiscall_CHncAbortProc::Deactive_void_
mov eax, dword [esi]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ecx, dword [esi]
lea eax, [esi + 4]
push eax
push 0
push ecx
push 0x180197d0
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
xor edx, edx
add esp, 0x18
test eax, eax
setne dl
mov dword [esi + 8], eax
pop esi
mov eax, edx
ret 4
Function at 0x1801fd60
Capabilities:
Read file on windows

Disassembly:
mov ecx, dword [edi + 4]
push esi
push 0x280
push eax
push ecx
call dword [sym.imp.MSVCR90.dll__read]
mov esi, eax
add esp, 0xc
cmp esi, 0x280
jge 0x1801fda1
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.MSVCR90.dll__eof]
add esp, 4
test eax, eax
jle 0x1801fd99
mov eax, esi
mov dword [edi], 2
pop esi
ret
mov dword [edi], 1
xor eax, eax
pop esi
ret

Function at 0x1801fdb0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [esi + 4]
push 4
lea eax, [esp + 4]
push eax
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.MSVCR90.dll__read]
add esp, 0xc
cmp eax, 4
jge 0x1801fde9
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.MSVCR90.dll__eof]
xor ecx, ecx
add esp, 4
test eax, eax
setg cl
inc ecx
mov dword [esi], ecx
cmp dword [esi + 8], 0x4d2
je 0x1801fe10
mov al, byte [esp]
mov dl, byte [esp + 3]
mov cl, byte [esp + 2]
mov byte [esp + 3], al
mov al, byte [esp + 1]
mov byte [esp], dl
mov byte [esp + 1], cl
mov byte [esp + 2], al
mov eax, dword [esp]
pop ecx
ret

Function at 0x18021000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5a], 0x41
call fcn.18020c0d
push eax
push esi
push dword [ebp + 8]
call fcn.18020bc2
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.18020c0d
push eax
push esi
push dword [ebp + 8]
call fcn.18020bc2
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.18020bfd
dec edi
test dword [ebx - 0x18], eax
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
Function at 0x180212a0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x180212b1
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x180212ac
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x18021296
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1802129e
cmp edx, ebx
jne 0x180213ec
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add al, 0x83
inc ebp
or byte [edx], al
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1802126d
add eax, dword [eax + 4]
jmp 0x1802125a
mov dword [ebp + 0xc], ebx
jmp 0x180212bc
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x180212d4
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x180212f2
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x18021350
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x18021337
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x18021340
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1802134a
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1802132c
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x180212b6
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1802139d
dec eax
je 0x18021394
sub eax, 3
je 0x1802138b
mov dword [ebp - 4], 0x40
jmp 0x180213ba
mov dword [ebp - 4], 4
jmp 0x180213a0
mov dword [ebp - 4], 0x20
jmp 0x180213a0
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1802136c
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.18020bfd
push edi
xchg ecx, eax
mov ebx, esp
push 0x8000
push ebx
push esi
call dword [ebp - 8]
Function at 0x18021410
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x354], 0
and byte [ebp - 0x353], 0
mov byte [ebp - 0x352], 0xda
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.18020c0d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.18020bc2
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.18020c0d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.18020bc2
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.18020c0d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.18020bc2
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.18020bfd
sub eax, 0x80601faf
movsd dword es:[edi], dword [esi]
int3
Function at 0x18021820
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.18020c0d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.18020bc2
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.18020bfd
add dword [eax + 0x5b], ebx
daa
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x180218f1
cmp dword [ebp - 0x398], 0
je 0x18021abb
cmp dword [ebp + 0xc], 1
je 0x18021abb
cmp dword [ebp + 0xc], 8
jne 0x18021a83
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.18020c0d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.18020bc2
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
invalid
xchg ebp, eax
Function at 0x18025bc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub esp, 0x108
mov eax, dword [0x1804e020]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [0x18053774]
cmp eax, 0xffffffff
jne 0x18025bf5
xor eax, eax
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1802929c
add esp, 0x108
ret
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x18025c78
push esi
push 0x420
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x18025c58
mov ecx, dword [0x18050458]
push 0x80
lea eax, [esp + 8]
push eax
push 0x113
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x10
push esi
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1802929c
add esp, 0x108
ret
push 0x420
push 0
push esi
call sub.MSVCR90.dll_memset
mov eax, dword [0x18053774]
add esp, 0xc
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, esi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1802929c
add esp, 0x108
ret

Function at 0x18025c90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x18053774]
cmp eax, 0xffffffff
je 0x18025cff
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.MSVCR90.dll_free]
mov esi, eax
test esi, esi
je 0x18025cc8
call sym.HncBL90.dll_HncClearWarning
push esi
call edi
mov eax, dword [0x18053774]
add esp, 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [esp + 0xc], 0
jne 0x18025cfd
mov ecx, dword [0x18053774]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsFree]
push 0x1805375c
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edx, dword [0x1805379c]
push edx
call edi
add esp, 4
mov dword [0x1805379c], 0
pop edi
pop esi
ret

Function at 0x18025d00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x1804e020]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x214]
push esi
lea edx, [esp + 4]
push edx
lea edx, [esp + 0xc]
push edx
push 0
push 0
push ecx
push eax
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x18025d58
push 0xffffffffffffffff
lea eax, [esp + 0xc]
push eax
push 0x104
push edi
call dword [sym.imp.MSVCR90.dll_wcsncpy_s]
add esp, 0x10
mov eax, esi
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
call fcn.1802929c
add esp, 0x210
ret

Function at 0x18025d70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x1804e020]
xor eax, esp
mov dword [esp + 0x208], eax
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jbe 0x18025dc4
lea ecx, [esp]
push ecx
push 0x104
push esi
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
add esp, 0xc
mov eax, 1
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.1802929c
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor ecx, esp
xor eax, eax
call fcn.1802929c
add esp, 0x20c
ret
Function at 0x18025f20
Capabilities:
Delete file
Get common file path
Get disk information

Disassembly:
sub esp, 0x414
mov eax, dword [0x1804e020]
xor eax, esp
mov dword [esp + 0x410], eax
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x18025f40
sub eax, edx
sar eax, 1
cmp eax, 2
jbe 0x18025f78
cmp word [esi], 0x5c
jne 0x18025f78
cmp word [esi + 2], 0x5c
jne 0x18025f78
xor eax, eax
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.1802929c
add esp, 0x414
ret
push esi
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
add esp, 0xc
lea ecx, [esp]
push ecx
call sym.HncBL90.dll_HncAppendBackSlash
lea edx, [esp]
push 0x5c
push edx
call dword [sym.imp.MSVCR90.dll_wcschr]
add esp, 8
test eax, eax
je 0x18025f61
lea edx, [esp]
xor ecx, ecx
push edx
mov word [eax + 2], cx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x18025f61
lea eax, [esp + 0x208]
push eax
push 0
push 0x18043288
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x18025f61
lea ecx, [esp + 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x410]
xor ecx, esp
mov eax, 1
call fcn.1802929c
add esp, 0x414
ret
Function at 0x180268b0
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x61c
mov eax, dword [0x1804e020]
xor eax, esp
mov dword [esp + 0x618], eax
push esi
mov esi, dword [esp + 0x624]
push edi
push 0
push 0
push 0
push 0
push 0x100
lea eax, [esp + 0x24]
push eax
push 3
lea ecx, [esp + 0x24]
push ecx
push esi
call dword [sym.imp.MSVCR90.dll__wsplitpath_s]
push 0
push 0
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x244]
push 0x104
push ecx
call dword [sym.imp.MSVCR90.dll__wmakepath_s]
add esp, 0x3c
lea edx, [esp + 0x418]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [esp + 0x210]
push eax
call edi
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea ecx, [esp + 0x418]
push ecx
mov esi, eax
call edi
mov ecx, dword [esp + 0x620]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.1802929c
add esp, 0x61c
ret 4

Function at 0x18026a00
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor ecx, ecx
test eax, eax
setg cl
mov eax, ecx
ret 0x10

Function at 0x18026c70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x1804e020]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x210]
mov ecx, dword [esp + 0x214]
push ebx
mov ebx, dword [esp + 0x224]
push esi
mov esi, dword [esp + 0x224]
cmp ebx, 0x104
jb 0x18026cbd
mov edx, dword [esp + 0x220]
push esi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x18026cec
push edi
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x228]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, eax
test edi, edi
jbe 0x18026ce9
lea eax, [esp + 0xc]
push eax
push ebx
push esi
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
add esp, 0xc
mov eax, edi
pop edi
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
call fcn.1802929c
add esp, 0x20c
ret 0x14

Function at 0x18026d50
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x22c
mov eax, dword [0x1804e020]
xor eax, esp
mov dword [esp + 0x228], eax
mov edx, dword [esp + 0x230]
or eax, 0xffffffff
test edx, edx
je 0x18026de1
mov eax, edx
push esi
lea esi, [eax + 2]
jmp 0x18026d80
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x18026d80
sub eax, esi
sar eax, 1
push edx
mov esi, eax
lea eax, [esp + 0x28]
push 0x100
push eax
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
xor edx, edx
xor ecx, ecx
mov word [esp + esi*2 + 0x32], dx
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], edx
add esp, 0xc
mov word [esp + esi*2 + 0x24], cx
lea edx, [esp + 4]
lea eax, [esp + 0x24]
mov ecx, 0x410
push edx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], eax
mov word [esp + 0x18], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop esi
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.1802929c
add esp, 0x22c
ret 4
Function at 0x18026e40
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [sym.imp.MSVCR90.dll___argc]
push edi
mov edi, dword [esp + 8]
cmp edi, dword [eax]
jge 0x18026e95
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0xc]
push ecx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [esp + 0x10]
mov esi, eax
mov edx, dword [esi + edi*4]
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
push eax
push ecx
call dword [sym.imp.MSVCR90.dll_wcsncpy_s]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
mov eax, 1
pop edi
ret 0xc
xor eax, eax
pop edi
ret 0xc