joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x708fa0
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
invalid
arpl word [edx + esi], si
adc ebx, dword [edi - 0x54]
xchg ebx, eax
neg dl
push cs
dec ecx
mov eax, 0x7fb97088
add ah, ah
aam 0xeb
jp 0x40109d
mov byte [eax - 0x47], dh
jg 0x401033
in al, 0xd4
jmp 0x4010af
test eax, 0xcf33638c
adc ch, bl
js 0x400fd0
sbb ch, ah
daa
stosd dword es:[edi], eax
mov dword [0x540fb128], eax
xchg edi, eax
inc ecx
and dword [esi + esi*8 - 0x78], ebp
rcr byte [eax - 0x2e], 0xa4
sti
push ss
scasd eax, dword es:[edi]
jne 0x40108b
jl 0x40102c
salc
pushal
jbe 0x401085
daa
xchg esp, eax
lcall 0xa4e8, 0x1020bb2d
push eax
in eax, dx
xor bl, ah
sti
bnd jg 0x401002
popal
lea ebp, [edx - 0x70bb56c6]
push ds
pop ss
cmp dword [eax + ebx*8 + 0x46], eax
and byte [eax - 0x702274c0], al
pop eax
test al, 0xc5
fisttp qword [edi + 0x3dc5a858]
lahf
mov ah, 0xc2
sub ecx, dword [0x6e1df55c]
cmp eax, 0x2bc2b49f
or eax, 0x6e1df55c
pop esp
cmc
sbb eax, 0x97530b6e
or edx, dword [ebx - 0x69]
in al, 0x34
sub dword [ebx], esp
jge 0x401055
ja 0x4010fe
fld xword [esi - 7]
or al, 0xb7
dec edx
mov ch, 0xfc
outsd dx, dword [esi]
jns 0x4010cd
fcom qword [eax - 0x69d98623]
retf 0x41f8
and ecx, eax
hlt
int1
push 0xffffffffffffffc2
cmp dh, byte [edx + 0xc64b3b4]
inc edx
stosd dword es:[edi], eax
adc eax, 0xa48720e9
jl 0x40108d
hlt
push 0xffffffffffffff9c
pushfd
retf
Function at 0x10002600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push pe_nt_image_headers32
mov dword [ebp - 0xc], ecx
mov edi, 0x80
call fcn.1002dacc
mov ebx, dword [ebp + 8]
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0xfe
mov dword [ebp - 8], 1
cmp dword [ebx + 0x14], 8
jb 0x1000263b
mov eax, dword [ebx]
jmp 0x1000263d
mov eax, ebx
lea ecx, [ebp - 4]
push ecx
push esi
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x100026a2
lea edi, [eax + 0x16]
jmp 0x10002663
mov edi, dword [ebp + 8]
lea eax, [edi + edi]
push eax
push esi
mov dword [ebp + 8], eax
call fcn.1002dcc5
mov esi, eax
add esp, 8
lea eax, [edi*2 - 2]
mov ecx, ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
call fcn.100028e0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
je 0x10002660
xor bl, bl
test eax, eax
jne 0x100026eb
mov eax, dword [ebp - 4]
cmp eax, edi
jae 0x100026b7
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x100026be
xor eax, eax
mov word [esi + edi*2 - 2], ax
cmp word [esi], 0
jne 0x100026c8
xor eax, eax
jmp 0x100026df
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100026d0
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 0xc]
push eax
push esi
call fcn.10002d50
mov bl, 1
push esi
call fcn.1002da94
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10004200
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push edi
push 0x105
push ecx
push 0x10055770
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
call fcn.10004060
mov edi, eax
test edi, edi
jne 0x10004221
xor al, al
pop edi
ret
mov ecx, edi
call fcn.100040e0
movzx eax, word [edi]
test ax, ax
je 0x1000421d
cmp eax, 0x5c
je 0x1000421d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
sub edi, 0x10055770
push esi
push 0x10055770
sar edi, 1
call ebx
mov esi, dword [sym.imp.USER32.dll_CharPrevW]
cmp eax, edi
jle 0x100042b8
jmp 0x10004260
push 0x10055980
push 0x10055770
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x10004285
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [0x10055980], 0x10
je 0x100042f9
push 0x10055770
call ebx
lea eax, [eax*2 + 0x10055770]
cmp word [eax], 0x5c
je 0x100042a8
push eax
push 0x10055770
call esi
cmp eax, 0x10055770
ja 0x10004293
xor ecx, ecx
push 0x10055770
mov word [eax], cx
call ebx
cmp eax, edi
jg 0x10004260
push 0x10055770
call ebx
lea eax, [eax*2 + 0x10055770]
push eax
push 0x10055770
call esi
cmp word [eax], 0x5c
je 0x100042e4
push 0x10047da4
push 0x10055770
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x10055770
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop esi
cmp eax, 0xffffffff
pop ebx
setne al
pop edi
ret
pop esi
pop ebx
xor al, al
pop edi
ret
Function at 0x10004300
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x10052120]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, ecx
push 0x40e
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.1002ee90
add esp, 0xc
mov dword [ebp - 0x418], 0
lea eax, [ebp - 0x418]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x1000437b
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x1000438c
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x1000437b
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002d43e
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x414], 0
jne 0x1000439a
xor ecx, ecx
jmp 0x100043b2
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100043a3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
call fcn.10002d50
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x100043d2
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1002d43e
mov esp, ebp
pop ebp
ret
Function at 0x10004830
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10052120]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.10004780
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x1000495f
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x68]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x1000495f
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x1000495f
cmp esi, 0x2800
ja 0x1000495f
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x1000495f
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x69]
mov byte [ebp - 4], 1
push eax
lea eax, [esi + 8]
mov byte [ebp - 0x69], 0
push eax
lea ecx, [ebp - 0x78]
call fcn.10004e10
push 0
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
push esi
mov esi, dword [ebp - 0x78]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10004950
push esi
lea ecx, [ebp - 0x44]
call fcn.10002800
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
call fcn.10004630
push ebx
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.100044d0
lea ecx, [ebp - 0x44]
call fcn.10002860
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x78]
call fcn.10004de0
cmp dword [ebp - 0x18], 8
jb 0x10004970
push dword [ebp - 0x2c]
call fcn.1002dcc0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002d43e
mov esp, ebp
pop ebp
ret 4
Function at 0x10009fd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d98b
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x10052120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi - 0x20]
call fcn.10025296
cmp eax, 0x1f7
je 0x1000a0f2
cmp eax, 0x1f8
jne 0x1000a05f
push 0
mov dword [esi + 0x240], 2
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1e4]
test ecx, ecx
je 0x1000a04f
mov eax, dword [esi + 0x1e8]
test eax, eax
je 0x1000a04f
mov eax, dword [eax + 0x14]
push dword [esi - 0x1c]
dec eax
push eax
mov eax, dword [ecx + 4]
call eax
push 2
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x1000a0f2
push 0x1f5
lea ecx, [ebp - 0x214]
call fcn.100250aa
mov dword [ebp - method.RC::RCWidgetMessageBox.2.virtual_0], vtable.RC::RCWidgetMessageBox.2.0
mov dword [ebp - method.RC::RCWidgetMessageBox.1.virtual_0], vtable.RC::RCWidgetMessageBox.1.0
mov dword [ebp - method.RC::RCWidgetMessageBox.virtual_0], vtable.RC::RCWidgetMessageBox.0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x214]
call fcn.1002525f
cmp eax, 1
jne 0x1000a0c2
push 2
push dword [esi - 0x1c]
mov dword [esi + 0x240], 2
call dword [sym.imp.USER32.dll_EndDialog]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
mov dword [ebp - method.RC::RCWidgetMessageBox.2.virtual_0], vtable.RC::RCWidgetMessageBox.2.0
mov dword [ebp - method.RC::RCWidgetMessageBox.1.virtual_0], vtable.RC::RCWidgetMessageBox.1.0
mov dword [ebp - method.RC::RCWidgetMessageBox.virtual_0], vtable.RC::RCWidgetMessageBox.0
call fcn.1002510b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002d43e
mov esp, ebp
pop ebp
ret
Function at 0x1000a540
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003da50
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10052120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.1000aa20
push 0x1f8
mov ecx, edi
call fcn.100253a2
lea eax, [edi + 0x248]
push eax
push 0x16
lea ecx, [edi + 0x20]
call fcn.1002398a
mov ecx, edi
call fcn.1000acd0
mov ecx, edi
call fcn.1000ab10
push 1
push 0x65
lea ecx, [edi + 0x20]
call fcn.10022e50
mov ebx, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov byte [ebp - 0x5c], 0
call ebx
mov edx, eax
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x1000a5d4
xor ecx, ecx
jmp 0x1000a5ef
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a5e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10002d50
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x60], 0
call ebx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x1000a6f7
cmp dword [ebp - 0x60], 2
jl 0x1000a6a9
push dword [ebx + 4]
lea ecx, [ebp - 0x58]
call fcn.10002800
push 0x10048388
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10002800
push dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
call fcn.1000b440
mov ecx, dword [ebp - 0x5c]
cmp eax, 0xffffffff
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x5c], ecx
jb 0x1000a681
push dword [ebp - 0x28]
call fcn.1002dcc0
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x1000a6a9
push dword [ebp - 0x58]
call fcn.1002dcc0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [ebp - 0x5c], 0
je 0x1000a6f7
push 0
push dword [edi + 4]
mov dword [edi + 0x260], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x204]
test ecx, ecx
je 0x1000a6ec
mov eax, dword [edi + 0x208]
test eax, eax
je 0x1000a6ec
mov eax, dword [eax + 0x14]
push dword [edi + 4]
dec eax
push eax
mov eax, dword [ecx + 4]
call eax
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [ebp - 0x2c], 8
jb 0x1000a708
push dword [ebp - 0x40]
call fcn.1002dcc0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002d43e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000b110
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
mov dword [esi + 0x260], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x204]
test ecx, ecx
je 0x1000b149
mov eax, dword [esi + 0x208]
test eax, eax
je 0x1000b149
mov eax, dword [eax + 0x14]
push dword [esi + 4]
dec eax
push eax
mov eax, dword [ecx + 4]
call eax
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
ret

Function at 0x1000c020
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003dcc8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10052120]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
push edi
mov eax, dword [0x10052120]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
inc dword [esi + 0x214]
mov eax, dword [esi + 0x214]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100492b0]
mov eax, dword [esi + 0x210]
mulsd xmm0, qword [0x10049288]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x100492b0]
divsd xmm0, xmm1
call fcn.1003cce1
mov edi, eax
mov dword [esp + 0x3c], 0xf
mov eax, 0x64
mov dword [esp + 0x38], 0
cmp edi, eax
mov byte [esp + 0x28], 0
push 5
push str.value
lea ecx, [esp + 0x30]
cmova edi, eax
call fcn.10002ac0
push edi
lea eax, [esp + 0x2c]
mov dword [esp + 0x6c], 0
push eax
push 0x3eb
lea ecx, [esi + 0x20]
call fcn.10023902
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x1000c10a
push dword [esp + 0x28]
call fcn.1002dcc0
add esp, 4
mov edx, 0x1e
lea ecx, [esp + 0x40]
call fcn.100096e0
mov dword [esp + 0x68], 1
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov byte [esp + 0x68], 2
lea eax, [esp + 0x40]
cmp dword [esp + 0x54], 8
push edi
cmovae eax, dword [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10013570
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esi + 0x20]
push eax
push 0x3ef
call fcn.1002398a
cmp dword [esp + 0x24], 8
jb 0x1000c17e
push dword [esp + 0x10]
call fcn.1002dcc0
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
cmp dword [esp + 0x54], 8
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
jb 0x1000c1a8
push dword [esp + 0x40]
call fcn.1002dcc0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.1002d43e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000cdb0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003dcc8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10052120]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
push edi
mov eax, dword [0x10052120]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
inc dword [esi + 0x21c]
mov eax, dword [esi + 0x21c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100492b0]
mov eax, dword [esi + 0x218]
mulsd xmm0, qword [0x10049288]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x100492b0]
divsd xmm0, xmm1
call fcn.1003cce1
mov edi, eax
mov dword [esp + 0x3c], 0xf
mov eax, 0x64
mov dword [esp + 0x38], 0
cmp edi, eax
mov byte [esp + 0x28], 0
push 5
push str.value
lea ecx, [esp + 0x30]
cmova edi, eax
call fcn.10002ac0
push edi
lea eax, [esp + 0x2c]
mov dword [esp + 0x6c], 0
push eax
push 0x3eb
lea ecx, [esi + 0x20]
call fcn.10023902
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x1000ce9a
push dword [esp + 0x28]
call fcn.1002dcc0
add esp, 4
mov edx, 0x1d
lea ecx, [esp + 0x40]
call fcn.100096e0
mov dword [esp + 0x68], 1
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov byte [esp + 0x68], 2
lea eax, [esp + 0x40]
cmp dword [esp + 0x54], 8
push edi
cmovae eax, dword [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10013570
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esi + 0x20]
push eax
push 0x3ef
call fcn.1002398a
cmp dword [esp + 0x24], 8
jb 0x1000cf0e
push dword [esp + 0x10]
call fcn.1002dcc0
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
cmp dword [esp + 0x54], 8
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
jb 0x1000cf38
push dword [esp + 0x40]
call fcn.1002dcc0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.1002d43e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1000d520
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003df98
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10052120]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov eax, dword [0x10052120]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffff82c
mov dword [esp + 0xc], 0
cmp eax, 4
ja case.0x1000d56a.2007
jmp dword [eax*4 + 0x1000d5f4]
push str.HaoZip
lea ecx, [esp + 0x14]
call fcn.10002800
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
call fcn.10003790
cmp dword [esp + 0x24], 8
mov bl, al
jb 0x1000d5a5
push dword [esp + 0x10]
call fcn.1002dcc0
add esp, 4
movzx eax, bl
jmp 0x1000d5d5
mov ecx, 1
call fcn.100034b0
movzx eax, al
jmp 0x1000d5d5
add ecx, 0x24c
call fcn.10003960
movzx eax, al
jmp 0x1000d5d5
call fcn.10003b10
movzx eax, al
jmp 0x1000d5d5
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1002d43e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000d610
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x204]
mov dword [esi + 0x264], 1
test ecx, ecx
je 0x1000d649
mov eax, dword [esi + 0x208]
test eax, eax
je 0x1000d649
mov eax, dword [eax + 0x14]
push dword [esi + 4]
dec eax
push eax
mov eax, dword [ecx + 4]
call eax
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
ret

Function at 0x1000eb80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e078
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x10052120]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x14]
call fcn.1001b190
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1000ecdb
cmp dword [edi + 0x14], 8
jb 0x1000ebcc
mov edi, dword [edi]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x1000ecdb
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x2c], 0
movdqu xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0xffffffff
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.1000ddc0
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x4c]
call fcn.1000e7f0
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
sub ebx, edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], ebx
test edi, edi
jne 0x1000ec55
xor bl, bl
jmp 0x1000ec7d
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x1000ec60
xor bl, bl
jmp 0x1000ec7d
push 0
lea ecx, [ebp - 0x10]
push ecx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1000ec77
xor bl, bl
jmp 0x1000ec7d
cmp ebx, dword [ebp - 0x10]
sete bl
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1000ec95
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1000ec95
mov dword [esi], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x10], eax
jne 0x1000eca5
test bl, bl
je 0x1000eca5
mov bl, 1
jmp 0x1000eca7
xor bl, bl
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.1000fe70
mov byte [ebp - 4], 0
test edi, edi
je 0x1000ecdd
push edi
call fcn.1002dcc0
add esp, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x1000ecdd
xor bl, bl
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1000ed09
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1000ed00
test eax, eax
je 0x1000ed00
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push esi
call fcn.1002dcc0
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
Function at 0x10013f90
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x1003e908
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x10052120]
xor eax, esp
mov dword [esp + 0x154], eax
push ebx
push esi
push edi
mov eax, dword [0x10052120]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [edi + 0x1054], 7
mov dword [edi + 0x1050], 0
mov dword [esp + 0x44], edi
mov word [edi + 0x1040], ax
mov dword [esp + 0x170], eax
mov dword [edi + 0x106c], 7
mov dword [edi + 0x1068], eax
mov word [edi + 0x1058], ax
mov byte [esp + 0x170], 1
mov dword [edi + 0x1084], 7
mov dword [edi + 0x1080], eax
mov word [edi + 0x1070], ax
mov byte [esp + 0x170], 2
mov dword [edi + 0x108c], eax
mov dword [edi + 0x1090], eax
mov dword [edi + 0x1094], eax
mov byte [esp + 0x170], 3
mov dword [edi + 0x1098], eax
mov dword [edi + 0x109c], eax
mov dword [edi + 0x10a0], eax
mov byte [esp + 0x170], 4
lea esi, [edi + 0x10a4]
mov dword [esp + 0x48], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.10016c70
mov dword [esi], eax
mov byte [esp + 0x170], 9
push 0x410
push 0
push edi
mov dword [edi + 0x1034], 0
mov dword [edi + 0x1038], 0
mov dword [edi + 0x103c], 0
call fcn.1002ee90
push 0x410
lea eax, [edi + 0x410]
push 0
push eax
call fcn.1002ee90
push 0x400
lea eax, [edi + 0x820]
push 0
push eax
call fcn.1002ee90
push 0x410
lea eax, [edi + 0xc20]
push 0
push eax
call fcn.1002ee90
push 0x110
lea eax, [esp + 0x84]
mov dword [edi + 0x1030], 0x1000000
push 0
push eax
mov byte [edi + 0x1088], 0
mov dword [esp + 0x88], 0x114
call fcn.1002ee90
add esp, 0x3c
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10014138
cmp dword [esp + 0x50], 6
jb 0x10014138
mov byte [edi + 0x1032], 1
push 0xe
xor eax, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x18]
push str._nNwmteRQ
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.10002d50
mov byte [esp + 0x170], 0xa
lea eax, [esp + 0x14]
push eax
lea ecx, [edi + 0x108c]
call fcn.100162e0
mov byte [esp + 0x170], 9
cmp dword [esp + 0x28], 8
jb 0x100141a2
push dword [esp + 0x14]
call fcn.1002dcc0
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
push 8
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], eax
push str.2345.com
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
call fcn.10002d50
mov byte [esp + 0x170], 0xb
lea eax, [esp + 0x2c]
push eax
lea ecx, [edi + 0x108c]
call fcn.100162e0
mov byte [esp + 0x170], 9
cmp dword [esp + 0x40], 8
jb 0x10014215
push dword [esp + 0x2c]
call fcn.1002dcc0
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov dword [esp + 0x170], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.1002d43e
add esp, 0x164
ret