joyce8/EMBER2024-capa huggingface dataset:
Function at 0x697664
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x69781f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [esi + 0x10], 0
jle 0x697699
movzx edi, word [esi + 0x10]
jmp 0x69769b
xor edi, edi
push 0
push edi
mov eax, dword [esi + 0xc]
call fcn.0040ca18
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x90]
push eax
call sub.winhttp.dll_WinHttpConnect
mov dword [ebx + 0x88], eax
cmp dword [ebx + 0x88], 0
jne 0x6976ec
mov eax, dword [esi + 0xc]
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [0x8829dc]
mov dl, 1
mov eax, dword [0x69a0ec]
call fcn.0042ed44
call fcn.0040afe4
xor edi, edi
mov eax, dword [esi]
mov edx, 0x69783c
call fcn.0040ce1c
jne 0x697702
or edi, 0x800000
push edi
push 0
push 0
push 0
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00696850
mov eax, dword [ebp - 0xc]
call fcn.0040ca18
push eax
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00661f64
mov eax, dword [ebp - 0x10]
call fcn.0040ca18
push eax
mov eax, dword [ebx + 0x88]
push eax
call sub.winhttp.dll_WinHttpOpenRequest
mov dword [ebx + 0x8c], eax
cmp dword [ebx + 0x8c], 0
jne 0x697790
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
call sub.KERNEL32.DLL_GetLastError
lea ecx, [ebp - 0x24]
mov edx, dword [0x88a284]
call fcn.0042d600
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, dword [0x883164]
mov dl, 1
mov eax, dword [0x69a0ec]
call fcn.0042ed44
call fcn.0040afe4
mov esi, dword [ebx + 0x10]
push esi
push esi
mov eax, dword [ebx + 0xc]
push eax
push 0
mov eax, dword [ebx + 0x8c]
push eax
call sub.winhttp.dll_WinHttpSetTimeouts
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x6977f7
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
call sub.KERNEL32.DLL_GetLastError
lea ecx, [ebp - 0x28]
mov edx, dword [0x88a284]
call fcn.0042d600
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, dword [0x8833d8]
mov dl, 1
mov eax, dword [0x69a0ec]
call fcn.0042ed44
call fcn.0040afe4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x697826
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0040b9c4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040b9c4
ret
Function at 0x6bfd08
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test edi, edi
jne 0x6bfd6d
cmp dword [ebp + 0x20], 0
jne 0x6bfd41
push 1
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp + 0x20]
push eax
call fcn.006bfd08
add esp, 0x1c
jmp 0x6d084d
lea edx, [ebp + 0x20]
sub edx, ebx
mov dword [ebp - 0x90], edx
cmp dword [ebp - 0x90], 0
jle 0x6bfd62
mov eax, dword [ebp - 0x90]
neg eax
jmp 0x6d084d
mov eax, dword [ebp - 0x90]
jmp 0x6d084d
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ecx
Function at 0x6daf08
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040ba48
mov eax, dword [ebp - 8]
call fcn.0040ba48
mov eax, dword [ebp + 0xc]
call fcn.0040ba48
xor eax, eax
push ebp
push 0x6db076
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.0040b964
xor eax, eax
push ebp
push 0x6dafd1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x69b914]
call fcn.006a1b6c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], 0
jne 0x6daf7f
lea eax, [ebp - 8]
mov edx, dword [0x880190]
call fcn.0040bd8c
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x59], 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00661bb8
cmp dword [ebp + 0xc], 0
je 0x6dafa7
mov ecx, dword [ebp + 0xc]
mov edx, 0x6db094
mov eax, dword [ebp - 0x10]
call fcn.00661994
push 0
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.006a2c90
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6db00e
xor eax, eax
push ebp
push 0x6db02e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00409afc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6db038
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.0040bd44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6db07d
lea eax, [ebp - 0x18]
call fcn.0040b964
lea eax, [ebp - 0x14]
call fcn.00410370
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040b9c4
lea eax, [ebp + 0xc]
call fcn.0040b964
ret
Function at 0x713aa0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x713c5e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x713c09
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x713ade
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x713ae6
mov al, 1
jmp 0x713af1
mov dl, 1
mov eax, esi
call fcn.00428848
xor al, 1
test al, al
je 0x713b02
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x713c36
lea edx, [ebp - 4]
mov eax, esi
call fcn.00430270
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x713c78
call fcn.0040d064
test eax, eax
jle 0x713b40
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00429254
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x713b39
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg al
jmp 0x713b42
xor eax, eax
test al, al
je 0x713be6
xor edi, edi
inc edi
push dword [ebp - 4]
push 0x713c88
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.004279fc
push dword [ebp - 0x14]
push 0x713c98
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040cd0c
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00428848
test al, al
jne 0x713b4c
mov eax, dword [ebp - 8]
call fcn.0040ca18
push eax
mov eax, dword [ebp - 4]
call fcn.0040ca18
push eax
call sub.KERNEL32.DLL_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x713bcb
test bl, bl
je 0x713bb5
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.007139e4
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x7114a4]
call fcn.0071b2d0
call fcn.004cb400
jmp 0x713bff
test bl, bl
je 0x713bdb
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.007137e0
jmp 0x713bff
xor edx, edx
mov eax, esi
call fcn.0071dd40
jmp 0x713bff
test bl, bl
je 0x713bf6
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.007137e0
jmp 0x713bff
xor edx, edx
mov eax, esi
call fcn.0071dd40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x713c36
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x713c65
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040b9c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b9c4
ret
Function at 0x71d0ec
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov esi, eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x71d202
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x71d1b9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.0040ca18
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jbe 0x71d1aa
mov eax, ebx
call fcn.00406f74
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
mov eax, esi
call fcn.0040ca18
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x71d1af
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x71d218
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x71d1af
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov edx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
xor edx, edx
or eax, dword [ebp - 8]
or edx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jmp 0x71d1af
call fcn.0071d258
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x71d1e6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x71d209
cmp dword [ebp - 0xc], 0
je 0x71d201
mov eax, dword [ebp - 0xc]
call fcn.00406f90
ret

Function at 0x71d368
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x71d47d
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x71d42f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, ebx
call fcn.004287b0
test al, al
je 0x71d425
push 0x20
mov ecx, ebx
mov dl, 1
mov eax, dword [0x499750]
call fcn.004bd108
mov dword [ebp - 8], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x24]
lea edx, [ebp - 0x48]
mov ecx, 0x40
mov eax, dword [ebp - 8]
call fcn.004bb8a0
cmp word [ebp - 0x48], 0x5a4d
jne 0x71d425
cmp dword [ebp - 0xc], 0
je 0x71d425
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.004ba918
lea edx, [ebp - 0x140]
mov ecx, 0xf8
mov eax, dword [ebp - 8]
call fcn.004bb8a0
cmp dword [ebp - 0x140], 0x4550
jne 0x71d425
movzx eax, word [ebp - 0x13c]
mov dword [esi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x71d45c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x71d484
cmp dword [ebp - 8], 0
je 0x71d47c
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 8], edx
call fcn.00409afc
ret
Function at 0x71e10c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x71e115
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x71e2c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
xor edx, edx
push ebp
push 0x71e26d
push dword fs:[edx]
mov dword fs:[edx], esp
test esi, esi
je 0x71e161
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x71e15a
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg al
jmp 0x71e163
xor eax, eax
test al, al
je 0x71e17a
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x71e173
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg al
jmp 0x71e17c
xor eax, eax
test al, al
je 0x71e18c
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00428848
jmp 0x71e18e
xor eax, eax
test al, al
je 0x71e263
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00428848
test al, al
jne 0x71e1b4
mov eax, dword [ebp - 0x10]
call fcn.004294a8
test al, al
je 0x71e263
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x71e246
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00430228
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
pop ecx
call fcn.0040cc84
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.00430228
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
pop ecx
call fcn.0040cc84
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004287b0
test al, al
je 0x71e245
mov eax, dword [ebp - 8]
call fcn.0040ca18
push eax
mov eax, dword [ebp - 4]
call fcn.0040ca18
push eax
call sub.KERNEL32.DLL_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
je 0x71e245
inc dword [ebp - 0x18]
inc ebx
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
cmp ebx, eax
jl 0x71e1c0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x18]
sete byte [ebp - 0x11]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x71e29a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x71e2c9
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.0040b9c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b9c4
ret
Function at 0x75cf44
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x75cf72
mov eax, ebx
call fcn.0075da00
cmp dword [ebx + 0x40], 0
je 0x75cf6b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x75cfe3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x75cfd5
cmp dword [ebx + 8], 0
je 0x75cf94
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x75cfa6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x75cfd5
cmp dword [ebx + 8], 0
je 0x75cf87
cmp eax, 3
je 0x75cfb9
dec eax
jne 0x75cf87
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x75cf87
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x75cf87
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x75d001
cmp dword [ebx + 0x14], 0xcc
je 0x75d001
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0075d00c
pop ebx
ret
Function at 0x78c10c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd0
mov ebx, eax
xor esi, esi
test byte [ebx + 0x584], 8
je 0x78c1e5
mov eax, dword [ebx + 0x318]
test eax, eax
jl 0x78c214
cmp dword [ebx + 0x31c], 0
jl 0x78c214
mov edx, eax
mov eax, dword [ebx + 0x574]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov esi, eax
push esp
mov ecx, dword [ebx + 0x31c]
mov edx, dword [ebx + 0x318]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x228]
mov edx, dword [ebx + 0x31c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x184]
mov edx, eax
mov ecx, esp
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x78]
mov edx, esp
mov eax, ebx
call fcn.0078c7d4
test byte [ebx + 0x528], 0x40
jne 0x78c196
dec dword [esp + 8]
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.007897dc
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 4]
jle 0x78c1bd
mov eax, dword [ebx + 0x36c]
xor edx, edx
call fcn.00546f7c
jmp 0x78c2d5
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.007897dc
mov eax, dword [esp + 0x20]
cmp eax, dword [esp]
jle 0x78c214
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.007897dc
mov eax, dword [esp + 0x20]
mov dword [esp], eax
jmp 0x78c214
test byte [ebx + 0x584], 0x40
je 0x78c2d5
mov edx, dword [ebx + 0x374]
mov eax, dword [ebx + 0x574]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov esi, eax
mov ecx, esp
mov edx, dword [ebx + 0x374]
mov eax, ebx
call fcn.00789ddc
mov eax, esp
or ecx, 0xffffffff
or edx, 0xffffffff
call fcn.00415990
cmp dword [esp], 0
jge 0x78c22c
xor eax, eax
mov dword [esp], eax
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.007897dc
mov eax, dword [esp + 0x20]
cmp eax, dword [esp]
jle 0x78c253
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.007897dc
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov ebx, dword [ebx + 0x36c]
push 0
mov eax, ebx
call fcn.00550580
push eax
call sub.user32.dll_ShowWindow
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x54]
test al, 0x10
setne al
and eax, 0x7f
mov eax, dword [eax*4 + 0x880c3c]
or eax, 0x40
push eax
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 8]
sub eax, ebp
push eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 8]
sub eax, edi
push eax
push ebp
push edi
push 0
mov eax, ebx
call fcn.00550580
push eax
call sub.user32.dll_SetWindowPos
mov eax, ebx
call fcn.00550580
push eax
call sub.user32.dll_SetFocus
lea edx, [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x6c]
push 0
lea eax, [esp + 0x14]
push eax
mov eax, ebx
call fcn.00550580
push eax
call sub.user32.dll_InvalidateRect
add esp, 0x30
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x7af210
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
mov esi, edx
mov dword [esp], eax
mov ebx, dword [esp]
mov eax, ebx
test eax, eax
je 0x7af22a
sub eax, 4
mov eax, dword [eax]
mov edx, ebp
xchg edx, eax
call fcn.0040cbac
mov eax, ebx
test eax, eax
je 0x7af23d
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jle 0x7af27f
mov ebx, 1
mov eax, ebp
call fcn.0040bf24
mov edx, dword [esp]
movzx edx, byte [edx + ebx*2 - 2]
movzx ecx, si
shr ecx, 8
xor dx, cx
mov word [eax + ebx*2 - 2], dx
mov eax, dword [ebp]
movzx eax, byte [eax + ebx*2 - 2]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec edi
jne 0x7af248
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x7af288
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, edx
mov edi, eax
mov ebx, edi
mov eax, ebx
test eax, eax
je 0x7af2a1
sub eax, 4
mov eax, dword [eax]
mov edx, dword [esp]
xchg edx, eax
call fcn.0040cbac
mov eax, ebx
test eax, eax
je 0x7af2b5
sub eax, 4
mov eax, dword [eax]
mov ebp, eax
test ebp, ebp
jle 0x7af2f2
mov ebx, 1
mov eax, dword [esp]
call fcn.0040bf24
movzx edx, byte [edi + ebx*2 - 2]
movzx ecx, si
shr ecx, 8
xor dx, cx
mov word [eax + ebx*2 - 2], dx
movzx eax, byte [edi + ebx*2 - 2]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec ebp
jne 0x7af2c0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x7bfce0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
push ebp
push 0x7bfd44
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 0xe]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xe]
mov ecx, 7
call fcn.0040cad4
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00427dd0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7bfd4b
lea eax, [ebp - 0x14]
call fcn.0040b964
ret

Function at 0x7c12f8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x7c138e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x883a5c]
cmp dword [eax], 2
jne 0x7c1338
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegQueryValueExW
mov ebx, eax
jmp 0x7c1370
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040c5f4
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040c168
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.0040c3c8
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c1395
lea eax, [ebp - 8]
call fcn.0040b9ac
lea eax, [ebp - 4]
call fcn.0040b988
ret
Function at 0x7c13a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x7c1439
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x883a5c]
cmp dword [eax], 2
jne 0x7c13e3
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
jmp 0x7c141b
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040c5f4
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040c168
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.0040c3c8
push eax
push ebx
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c1440
lea eax, [ebp - 8]
call fcn.0040b9ac
lea eax, [ebp - 4]
call fcn.0040b988
ret

Function at 0x7c1a74
Capabilities:
Delete registry value

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
xor eax, eax
mov dword [esp], eax
push 2
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040ca18
mov edx, eax
mov eax, esi
call fcn.007c1168
mov edx, eax
xor ecx, ecx
mov eax, esi
call fcn.007c1240
test eax, eax
jne 0x7c1add
mov eax, ebp
call fcn.0040ca18
push eax
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegDeleteValueW
test eax, eax
sete bl
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey
test bl, bl
jne 0x7c1ae6
mov ecx, ebp
mov edx, edi
mov eax, esi
call fcn.007c1058
jmp 0x7c1ae6
mov edx, edi
mov eax, esi
call fcn.007c0fdc
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret