joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ab26f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x5ab30c
push ebx
push esi
call fcn.005ab238
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.005a6132
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x5ab2b9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5ab30b
push edi
push eax
call fcn.005a36dc
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x5ab2d9
call fcn.005a2b36
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5ab30a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.005a6132
add esp, 0x20
test eax, eax
jne 0x5ab2f8
push edi
call fcn.005a2b36
jmp 0x5ab300
push ebx
call fcn.005a2b36
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x5ab30f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x5ab320
pop esi
ret
push ebx
push edi
push esi
call fcn.005ab238
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.005a36dc
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x5ab348
push ebx
push esi
push edi
call fcn.00591570
add esp, 0xc
push 0
call fcn.005a2b36
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x5ad4af
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.005a3a69
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5ad51e
cmp esi, dword [ebp - 4]
je 0x5ad519
cmp dword [ebp + 0xc], 0
je 0x5ad519
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x5ad4f6
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.005acfec
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x5ad520
xor eax, eax
inc eax
jmp 0x5ad520
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x5ad585
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x71c56c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.005a3a69
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.005a3a69
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x5ad5fc
cmp word [ecx], dx
je 0x5ad5fc
mov eax, dword [0x6af89c]
push edi
dec eax
push eax
push 0x6af788
call fcn.005ad524
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x5ad66f
cmp word [eax], dx
je 0x5ad66f
mov eax, dword [edi]
test eax, eax
je 0x5ad620
cmp word [eax], dx
je 0x5ad620
lea eax, [ebp - 0x10]
push eax
call fcn.005acef2
jmp 0x5ad629
lea eax, [ebp - 0x10]
push eax
call fcn.005acf8d
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x5ad699
mov eax, dword [0x6af784]
push dword [ebp - 0x14]
dec eax
push eax
push 0x6af478
call fcn.005ad524
add esp, 0xc
test al, al
je 0x5ad699
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x5ad664
cmp word [eax], di
je 0x5ad664
lea eax, [ebp - 0x10]
push eax
call fcn.005acef2
pop ecx
jmp 0x5ad69b
lea eax, [ebp - 0x10]
push eax
call fcn.005acf8d
jmp 0x5ad661
mov eax, dword [edi]
test eax, eax
je 0x5ad686
cmp word [eax], dx
je 0x5ad686
lea eax, [ebp - 0x10]
push eax
call fcn.005acea7
pop ecx
jmp 0x5ad699
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x5ad764
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.005ad3a9
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x5ad764
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x5ad764
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x5ad764
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5ad6f1
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.005a31e7
test ebx, ebx
je 0x5ad75f
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.005a31e7
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5ad764
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5ad764
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.005b257d
add esp, 0x10
xor eax, eax
inc eax
jmp 0x5ad766
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058e709
leave
ret
Function at 0x5b2695
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.005b2611
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x5b2804
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x5b2804
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x5b27b9
jg 0x5b26f1
test eax, eax
je 0x5b27af
push 1
push 0x1000
call fcn.005a2ad9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x5b2714
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x5b27a6
push 0x8000
push ebx
call fcn.005a03ce
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x5b273d
jg 0x5b2738
cmp ecx, 0x1000
jb 0x5b273d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0059c991
add esp, 0x10
cmp eax, 0xffffffff
je 0x5b2782
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x5b2738
jl 0x5b2769
test ecx, ecx
jne 0x5b272a
push dword [ebp - 0xc]
push ebx
call fcn.005a03ce
push esi
call fcn.005a2b36
add esp, 0xc
xor ebx, ebx
jmp 0x5b2812
cmp byte [edi + 0x24], 0
je 0x5b2799
cmp dword [edi + 0x20], 5
jne 0x5b2799
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x5b27a4
mov ebx, dword [edi + 0x18]
jmp 0x5b27a6
xor ebx, ebx
push esi
call fcn.005a2b36
pop ecx
jmp 0x5b2812
test ecx, ecx
jg 0x5b277b
jl 0x5b27b9
test eax, eax
jae 0x5b277b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00597ab1
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5b27d9
cmp byte [edi + 0x1c], 0
je 0x5b277b
jmp 0x5b280a
push ebx
call fcn.0059d0d2
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x5b277b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x5b2812
cmp byte [edi + 0x1c], 0
je 0x5b280f
mov ebx, dword [edi + 0x18]
jmp 0x5b2812
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00597ab1
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x452cc2
Capabilities:
Check for software breakpoints

Disassembly:
push eax
call 0x452cc8
pop ebx
sub ebx, 0x1a2
mov ecx, 0x14b26
sub ebx, ecx
mov esi, ebx
sub ebx, 0x3d000
mov edi, ebx
sub ebx, 0x1000
push edi
push ecx
push esi
call fcn.00452b77
add esp, 0xc
mov ebp, dword [ebx + 0xc0]
lea ebp, [ebx + ebp]
dec ebp
mov cl, byte [ebp]
cmp cl, 0xcc
je 0x452cfa
sub ebp, 9
mov edx, ebx
sub edx, 0x400000
add dword [ebp], edx
add ebp, 6
add dword [ebp], edx
lea edx, [eax - 4]
sub edx, dword [edx]
mov esi, ebx
add esi, dword [edx + 0x10c]
mov edi, dword [edx + 0x104]
mov ecx, 0x201ab
call fcn.00452c98
mov esi, dword [edx + 0x80]
push edx
add esi, ebx
mov eax, dword [esi + 0xc]
or eax, eax
je 0x452d87
add eax, ebx
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebp, eax
mov ecx, dword [esi]
add ecx, ebx
mov edi, dword [esi + 0x10]
add edi, ebx
mov eax, dword [ecx]
or eax, eax
je 0x452d82
pushal
test eax, 0x80000000
je 0x452d6c
and eax, 0x7fffffff
jmp 0x452d70
lea eax, [ebx + eax + 2]
push eax
push ebp
call sub.kernel32.dll_GetProcAddress
mov dword [edi], eax
popal
add edi, 4
add ecx, 4
jmp 0x452d57
add esi, 0x14
jmp 0x452d3d
pop edx
mov ebp, ebx
sub ebp, dword [edx + 0x34]
mov esi, dword [edx + 0xa0]
add esi, ebx
cmp esi, ebx
je 0x452dd1
push edx
mov eax, dword [esi + 4]
or eax, eax
je 0x452dd0
mov ecx, dword [esi]
add ecx, ebx
add esi, 8
sub eax, 8
shr eax, 1
mov edx, esi
lea edi, [eax + esi]
lea esi, [eax + edi]
xor eax, eax
add al, byte [edx]
adc ah, byte [edi]
test ah, 0x30
je 0x452dc8
push eax
and ah, 0xf
add dword [ecx + eax], ebp
pop eax
inc edx
inc edi
cmp edi, esi
jb 0x452db7
jmp 0x452d9a
pop edx
pop eax
cmp eax, 0xd0dec0de
je 0x452dde
add ebx, dword [edx + 0x28]
jmp ebx
ret 0xc
Function at 0x78b2f46a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x78b54610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call sym.MSVCR100.dll__encoded_null
and dword [ebp - 0x14], 0
cmp dword [0x78b5886c], 0
mov dword [ebp - 0x18], eax
jne 0x78b2f51d
push 0x78ae31d4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x78b2f5c5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x78b2f5f4
push ebx
call edi
test eax, eax
je 0x78b2f5c5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x78ae31c4
push ebx
mov dword [0x78b5886c], eax
call edi
push eax
call esi
push 0x78ae31b0
push ebx
mov dword [0x78b58870], eax
call edi
push eax
call esi
push 0x78b2f5d8
push ebx
mov dword [0x78b58874], eax
call edi
push eax
call esi
mov dword [0x78b5887c], eax
test eax, eax
je 0x78b2f51d
push 0x78ae3198
push ebx
call edi
push eax
call esi
mov dword [0x78b58878], eax
mov eax, dword [0x78b58878]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x78b2f576
cmp dword [0x78b5887c], ecx
je 0x78b2f576
push eax
call esi
push dword [0x78b5887c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x78b2f576
test ebx, ebx
je 0x78b2f576
call edi
test eax, eax
je 0x78b2f56d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x78b2f56d
test byte [ebp - 8], 1
jne 0x78b2f576
or dword [ebp + 0x10], 0x200000
jmp 0x78b2f5a9
mov eax, dword [0x78b58870]
cmp eax, dword [ebp - 0x18]
je 0x78b2f5a9
push eax
call esi
test eax, eax
je 0x78b2f5a9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x78b2f5a9
mov eax, dword [0x78b58874]
cmp eax, dword [ebp - 0x18]
je 0x78b2f5a9
push eax
call esi
test eax, eax
je 0x78b2f5a9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x78b5886c]
call esi
test eax, eax
je 0x78b2f5c5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x78b2f5c7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.78ab0807
leave
ret

Function at 0x78b4a4e3
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x78b4a51e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x78b4a505
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x78b4a516
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x78b4a520
inc edi
add eax, 0x28
cmp edi, esi
jb 0x78b4a4fb
xor eax, eax
pop edi
pop esi
ret
Function at 0x4029b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557b00
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5c100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x60]
mov dword [esi], vtable.CShareVariableManager.0
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4029fc
mov eax, dword [ecx]
jmp 0x4029fe
mov eax, ecx
xor edx, edx
mov word [eax], dx
mov dword [ebp - 4], edx
mov dword [esi + 0x8c], 7
mov dword [esi + 0x88], edx
cmp dword [esi + 0x8c], 8
jb 0x402a24
mov eax, dword [esi + 0x78]
jmp 0x402a27
lea eax, [esi + 0x78]
xor edx, edx
mov word [eax], dx
lea ebx, [esi + 0x90]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], edx
cmp dword [ebx + 0x14], 8
jb 0x402a46
mov eax, dword [ebx]
jmp 0x402a48
mov eax, ebx
xor edx, edx
mov word [eax], dx
lea eax, [esi + 0xa8]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
cmp dword [eax + 0x14], 8
jb 0x402a65
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
lea eax, [esi + 0xc0]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
cmp dword [eax + 0x14], 8
jb 0x402a82
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
mov byte [ebp - 4], 4
push edx
push 0x5b4864
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], edx
call fcn.004071b0
push 0
push 0x5b4864
lea ecx, [esi + 0x78]
call fcn.004071b0
push 0
push 0x5b4864
mov ecx, ebx
call fcn.004071b0
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
Function at 0x405e60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5c100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x414]
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x41c], edi
call fcn.00429bd0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00429bd0
mov eax, dword [edi + 0x24]
add esp, 0x18
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x406076
push ebx
nop word [eax + eax]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x418], eax
lea ebx, [eax + 0xc]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405ed1
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x40602a
push ebx
lea eax, [ebp - 0x414]
push str.Is_s
push eax
call fcn.00406c50
add edi, 0x90
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x405f0d
mov eax, dword [edi]
jmp 0x405f0f
mov eax, edi
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x5b2e28
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x5b2e28
lea eax, [ebp - 0x20c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405f66
test dx, dx
je 0x405f62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405f66
add eax, 4
add ecx, 4
test dx, dx
jne 0x405f40
xor eax, eax
jmp 0x405f6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x405f89
lea eax, [ebp - 0x20c]
push eax
call fcn.0042d5b4
mov ecx, dword [ebp - 0x418]
add esp, 4
mov ecx, dword [ecx + 4]
mov byte [ecx], al
push ebx
lea eax, [ebp - 0x414]
push str.Use_s
push eax
call fcn.00406c50
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x405fa6
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.nothing
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, str.nothing
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405ffb
test dx, dx
je 0x405ff7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405ffb
add eax, 4
add ecx, 4
test dx, dx
jne 0x405fd5
xor eax, eax
jmp 0x406000
sbb eax, eax
or eax, 1
test eax, eax
je 0x406024
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x20c]
mov edx, dword [eax + 8]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x406013
mov edi, dword [ebp - 0x41c]
cmp byte [esi + 0xd], 0
jne 0x40606a
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x40604f
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x40606a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x406043
jmp 0x40606a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x406068
cmp esi, dword [eax + 8]
jne 0x406068
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x406058
mov esi, eax
mov eax, dword [edi + 0x24]
cmp esi, dword [eax]
jne 0x405ec0
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00415db5
mov esp, ebp
pop ebp
ret
Function at 0x40bea0
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, ecx
push 0
mov ecx, dword [edi + 0x678]
mov eax, dword [ecx]
call dword [eax + 0xd8]
mov ecx, dword [edi + 0x674]
push 1
mov eax, dword [ecx]
call dword [eax + 0xd8]
mov ecx, edi
call fcn.00409d10
mov ecx, edi
mov dword [edi + 0x670], 1
call fcn.004097a0
mov ecx, dword [edi + 0x66c]
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
mov esi, eax
mov dword [edi + 0x6b0], 0
push 0x64
push esi
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x64
push 0x64
push esi
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [edi + 0x6a8]
push eax
push 0
push edi
push 0x40c1e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x6a4], eax
pop edi
pop esi
ret
Function at 0x40bfc0
Capabilities:
Create thread

Disassembly:
mov eax, dword [ecx + 0x670]
cmp eax, 4
ja case.default.0x40bfcb
jmp dword [eax*4 + 0x40c00c]
jmp 0x40c020
jmp 0x40c090
jmp 0x40c0d0
push esi
mov esi, dword [ecx + 0x66c]
push 0
mov ecx, dword [esi + 0x2f4]
mov eax, dword [ecx]
call dword [eax + 0xd8]
mov ecx, dword [esi + 0x2f0]
push 1
mov eax, dword [ecx]
call dword [eax + 0xd8]
pop esi
ret
push esi
push edi
mov edi, ecx
mov dword [edi + 0x670], 1
call fcn.004097a0
mov ecx, dword [edi + 0x66c]
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
mov esi, eax
mov dword [edi + 0x6b0], 0
push 0x64
push esi
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x64
push 0x64
push esi
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [edi + 0x6a8]
push eax
push 0
push edi
push 0x40c1e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x6a4], eax
pop edi
pop esi
ret
push esi
mov esi, ecx
mov ecx, dword [esi + 0x66c]
mov byte [esi + 0x6ac], 0
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0x64
push eax
mov dword [esi + 0x6b0], 0
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0x670], 2
mov ecx, esi
pop esi
jmp fcn.004097a0
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 0x6b4]
cmp esi, dword [ebx + 0x6b8]
je 0x40c17c
push edi
nop word [eax + eax]
mov edi, dword [esi]
push 1
mov ecx, dword [edi + 0x66c]
mov dword [edi + 0x6c4], 0
mov eax, dword [ecx]
call dword [eax + 0xd8]
mov ecx, dword [edi + 0x670]
push 0
mov eax, dword [ecx]
call dword [eax + 0xd8]
mov ecx, dword [edi + 0x674]
push 0
mov eax, dword [ecx]
call dword [eax + 0xd8]
mov ecx, dword [edi + 0x678]
push 0
mov eax, dword [ecx]
call dword [eax + 0xd8]
mov ecx, dword [edi + 0x684]
push 0
mov eax, dword [ecx]
call dword [eax + 0xd8]
mov ecx, dword [edi + 0x688]
push 0
mov eax, dword [ecx]
call dword [eax + 0xd8]
mov ecx, dword [edi + 0x68c]
push 0
mov eax, dword [ecx]
call dword [eax + 0xd8]
add esi, 4
cmp esi, dword [ebx + 0x6b8]
jne 0x40c0f0
pop edi
mov ecx, ebx
mov dword [ebx + 0x670], 1
call fcn.004097a0
mov ecx, dword [ebx + 0x66c]
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
mov esi, eax
mov dword [ebx + 0x6b0], 0
push 0x64
push esi
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x64
push 0x64
push esi
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [ebx + 0x6a8]
push eax
push 0
push ebx
push 0x40c1e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov dword [ebx + 0x6a4], eax
pop ebx
ret
Function at 0x40c350
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov al, 1
cmp ecx, 0xd
ja case.default.0x40c361
jmp dword [ecx*4 + 0x40c400]
lea ecx, [ebp + 0xb]
call fcn.0040ed10
cmp byte [ebp + 0xb], 0
je case.default.0x40c361
xor al, al
pop ebp
ret 4
call fcn.0040eed0
pop ebp
ret 4
call fcn.0040efc0
pop ebp
ret 4
push esi
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
cmp al, 1
jne 0x40c3b5
push 0
push 0
push 0
push 0x14
call esi
push 0
push 2
push 0
push 0x14
call esi
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
cmp al, 1
jne 0x40c3de
push 0
push 0
push 0
push 0x90
call esi
push 0
push 2
push 0
push 0x90
call esi
pop esi
mov al, 1
pop ebp
ret 4
call fcn.0040f770
pop ebp
ret 4
call fcn.0040f050
pop ebp
ret 4
call fcn.0040f680
pop ebp
ret 4

Function at 0x40e0a0
Capabilities:
Check if file exists
Delete file
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5c100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x1869f
push 0x2710
call fcn.004267b3
add esp, 8
mov edi, eax
cmp dword [esi + 0x14], 8
jb 0x40e0d8
mov esi, dword [esi]
push edi
push esi
lea eax, [ebp - 0x61c]
push str._s__d
push eax
call fcn.00406c50
add esp, 0x10
call fcn.004264a6
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
push str.WanNeng
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push str._s_sInstall_d.dat
push eax
call fcn.00406c50
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40e173
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415db5
mov esp, ebp
pop ebp
ret 8
cmp word [ebp - 0x20c], 0
jne 0x40e181
xor ecx, ecx
jmp 0x40e19f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e190
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.004071b0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415db5
mov esp, ebp
pop ebp
ret 8