joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430366
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x84], 0
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x88]
je 0x4303ae
call fcn.00439739
push 5
push dword [ebx + 0x84]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4303ae
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4303bb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x4303f7
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x4303da
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x4303e3
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x4303f5
test di, di
jne 0x4303f5
test dx, dx
je 0x4303f7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4303fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x84], edi
test edi, 0xffff0000
jne 0x430427
cmp dword [esi + 0x80], 0
jne 0x430427
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.00439739
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x430457
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x430457
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.004306be
jmp 0x430459
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x430460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.00439739
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4304a0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4304a0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.004304a8
jmp 0x4304a2
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x4307c1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x66ad44
call fcn.005f14f9
mov edi, ecx
mov dword [ebp - 0x24], edi
mov ebx, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
mov dword [ebp - 0x18], ebx
call fcn.00439739
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x430820
call fcn.00439739
push 5
push dword [edi + 0x84]
mov ebx, dword [eax + 0xc]
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x430834
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x430830
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x43083c
or eax, 0xffffffff
jmp 0x43098e
mov ecx, edi
call fcn.00430e4e
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.00427c5a
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x4308c8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x4308c8
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4308c8
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.0042785c
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x4308c5
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x68dd90]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x4308c5
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0042fa95
test eax, eax
je 0x4308c5
push 0
mov ecx, esi
call fcn.0042f1df
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.004278c8
push ebx
call fcn.0042920a
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.00430764
test eax, eax
jne 0x430911
cmp dword [edi + 0x9c], eax
jne 0x430911
call fcn.00439739
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.0042920a
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.00430764
and dword [edi + 0x9c], 0
jmp 0x43093c
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x430950
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.0042f1df
test esi, esi
je 0x43095d
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x430973
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x430973
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x68dd90]
mov ecx, edi
call esi
mov ecx, edi
call fcn.00430e02
mov eax, dword [edi + 0x68]
call fcn.005f145e
ret
Function at 0x437d66
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], ebx
test byte [edi + 4], 1
mov esi, dword [edi + 0xc]
jne 0x437dbc
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x437d95
call fcn.00423ff1
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x437daa
call fcn.00423ff1
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x437dbc
call fcn.00423ff1
call fcn.00439739
cmp dword [eax + 0x3c], 0
je 0x437dd1
push esi
mov ecx, ebx
call fcn.0043737a
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.004380aa
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x437dfa
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x437e06
mov esi, ebx
mov dword [eax + 0x88], ebx
or dword [edi + 4], 1
mov dword [edi + 0xc], esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x439e17
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0042f3cc
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x439e53
call fcn.0043a57e
mov dword [esi + 0xc], 1
jmp 0x439e58
call fcn.0043a57e
cmp dword [esi], 0
je 0x439ea3
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x439e7e
push edi
call fcn.00417b07
lea ecx, [edi + 1]
push ecx
jmp 0x439e8d
push 0xff
call fcn.004061cf
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040645e
pop edi
jmp 0x439ec7
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x439ec7
push dword [esi]
push dword [ebp - 4]
call fcn.0048cfc9
pop esi
leave
ret 0xc

Function at 0x43a400
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0043a57e
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x43a448
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00417b07
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040645e
jmp 0x43a453
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0048cfc9
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x444d83
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x444dac
call fcn.00439739
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
je 0x444dd9
push esi
push eax
mov ecx, 0x749288
call fcn.004470dc
mov eax, esi
pop esi
pop ebp
ret 0x18
push 0
push dword [esi + 4]
call fcn.004455bc
int3

Function at 0x446430
Capabilities:
Query remote server for available data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ecx + 0x18], esi
je 0x446455
push esi
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx + 0x18]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x446455
mov esi, dword [ebp - 4]
mov eax, esi
xor edx, edx
pop esi
leave
ret

Function at 0x446e1b
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0x40]
cmp dword [edi], ebx
jne 0x446e6f
push 0x1000
call fcn.004471c8
test eax, eax
je 0x446e68
lea eax, [ebp - 4]
push eax
push dword [esi + 0x38]
push dword [edi]
push dword [esi + 0x18]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x446f15
mov eax, dword [ebp - 4]
lea edx, [esi + 0x40]
mov dword [esi + 0x44], eax
mov dword [esi + 0x3c], ebx
mov dword [ebp - 0xc], edx
jmp 0x446e74
xor eax, eax
jmp 0x446ef1
mov edx, edi
mov dword [ebp - 0xc], edi
mov eax, dword [esi + 0x3c]
mov ecx, dword [edi]
mov ebx, dword [ebp + 8]
add ecx, eax
mov dword [ebp - 0x10], eax
mov edi, ebx
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp - 8], eax
je 0x446ee2
mov eax, dword [ebp - 0x10]
cmp eax, dword [esi + 0x44]
jb 0x446ebf
lea eax, [ebp - 4]
push eax
push dword [esi + 0x38]
push dword [edx]
push dword [esi + 0x18]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x446f11
mov eax, dword [ebp - 4]
mov dword [esi + 0x44], eax
test eax, eax
je 0x446ef8
mov edx, dword [ebp - 0xc]
and dword [esi + 0x3c], 0
mov ecx, dword [edx]
mov al, byte [ecx]
cmp al, 0xd
je 0x446ecb
mov byte [edi], al
inc edi
dec dword [ebp - 8]
mov eax, dword [esi + 0x3c]
inc eax
mov dword [ebp - 0x10], eax
mov dword [esi + 0x3c], eax
mov al, byte [ecx]
inc ecx
cmp al, 0xa
je 0x446ee2
cmp dword [ebp - 8], 0
jne 0x446e8e
push 1
push 0
push edi
call fcn.00602a90
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 8
push 1
push 0
push edi
call fcn.00602a90
sub edi, ebx
add esp, 0xc
neg edi
sbb edi, edi
and edi, ebx
mov eax, edi
jmp 0x446ef1
push 0
jmp 0x446f16
push ebx
push dword [esi + 0x20]
call fcn.004455bc
int3
Function at 0x4472f9
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x1c], 1
je 0x4473a0
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4473a0
cmp dword [esi + 0x34], 0
mov edi, dword [ebp + 0xc]
jne 0x44733d
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x4473a4
cmp dword [ebp - 4], edi
jne 0x4473a4
pop edi
pop esi
leave
ret 8
mov edx, dword [esi + 0x30]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x2c]
jb 0x447361
lea eax, [ebp - 4]
push eax
push edx
push dword [esi + 0x34]
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x4473a4
and dword [esi + 0x30], 0
xor edx, edx
mov ecx, dword [esi + 0x2c]
cmp edi, ecx
jb 0x44737f
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 0x18]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x447337
jmp 0x4473a4
lea eax, [edx + edi]
cmp eax, ecx
ja 0x447337
mov eax, dword [esi + 0x34]
sub ecx, edx
push edi
push dword [ebp + 8]
add eax, edx
push ecx
push eax
call fcn.00406a96
add esp, 0x10
add dword [esi + 0x30], edi
jmp 0x447337
push 6
jmp 0x4473a6
push 0
push dword [esi + 0x20]
call fcn.004455bc
int3
Function at 0x44871b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x66cde2
call fcn.005f1490
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [esi], edi
cmp dword [eax + 0x58], edi
je 0x4487c3
push dword [ebp + 8]
call fcn.00448a38
mov dword [ebp - 0x10], eax
test eax, eax
je 0x44884a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
push ecx
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push ecx
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x14]
mov dword [esi], ecx
test eax, eax
jne 0x4487ac
push ecx
call fcn.004389fd
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4487ac
xor edi, edi
inc edi
jmp 0x4487b6
push dword [ebx]
call fcn.00438a06
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.0040eef6
jmp 0x448848
mov eax, dword [eax]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [eax + 0x84]
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call dword [0x68dd90]
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x448840
mov esi, dword [ebp + 0x14]
shr ecx, 1
push ecx
mov dword [esi], ecx
call fcn.004389fd
mov dword [ebx], eax
pop ecx
cmp dword [esi], edi
jbe 0x44883a
lea esi, [edi + edi]
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.004195ba
push esi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.004195ba
mov ecx, dword [ebp + 0x10]
add al, bl
mov ecx, dword [ecx]
mov byte [edi + ecx], al
inc edi
mov eax, dword [ebp + 0x14]
cmp edi, dword [eax]
jb 0x448807
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.00406421
mov eax, edi
call fcn.005f145e
ret 0x10

Function at 0x448852
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x4488a5
push esi
push dword [ebp + 8]
call fcn.00448a38
mov edi, eax
test edi, edi
je 0x4488a0
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4488a0
mov eax, dword [ebp - 8]
jmp 0x4488b7
mov eax, dword [ebp + 0x10]
jmp 0x4488b7
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
leave
ret 0xc
Function at 0x4488bd
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66ce0f
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.005f0b80
mov eax, dword [0x71c1c0]
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, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x101c], edi
mov dword [ebp - 0x1024], eax
cmp dword [ecx + 0x58], ebx
je 0x4489eb
push ebx
push edx
call fcn.00448a38
mov ebx, eax
test ebx, ebx
jne 0x448925
push esi
jmp 0x448a13
lea ecx, [ebp - 0x1014]
call fcn.004026b1
xor ecx, ecx
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x1024]
mov dword [ebp - 0x1020], ecx
push ebx
mov dword [ebp - 0x1018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x101c], eax
test eax, eax
jne 0x4489aa
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.004061cf
lea ecx, [ebp - 0x1018]
push ecx
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push dword [ebp - 0x1024]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x101c], eax
call fcn.0040645e
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x101c], 0
jne 0x4489d8
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.0040398f
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00406421
jmp 0x448a1a
push esi
mov ecx, edi
call fcn.004025f0
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x4489d1
test esi, esi
jne 0x4489f4
mov esi, 0x68e190
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.004025f0
mov eax, edi
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.005f1450
leave
ret 0x10
Function at 0x448c52
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edi
mov edi, ecx
cmp dword [edi + 0x58], ebx
je 0x448c9a
push ebx
push dword [ebp + 8]
call fcn.00448a38
mov edi, eax
test edi, edi
je 0x448cfb
push dword [ebp + 0x14]
push esi
push 3
push ebx
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
jmp 0x448cfb
mov eax, dword [ebp + 0x14]
lea eax, [eax*2 + 1]
push eax
call fcn.004389fd
mov edx, dword [ebp + 0x14]
mov ebx, eax
pop ecx
xor ecx, ecx
test edx, edx
je 0x448cd1
mov al, byte [esi + ecx]
and al, 0xf
add al, 0x41
mov byte [ebx + ecx*2], al
mov al, byte [esi + ecx]
shr al, 4
add al, 0x41
mov byte [ebx + ecx*2 + 1], al
inc ecx
cmp ecx, edx
jb 0x448cb6
mov byte [ebx + ecx*2], 0
mov eax, dword [edi]
push ebx
push dword [ebp + 0xc]
mov esi, dword [eax + 0x88]
mov ecx, esi
push dword [ebp + 8]
call dword [0x68dd90]
mov ecx, edi
call esi
push ebx
mov esi, eax
call fcn.00438a06
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x464b96
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x464d1d
je 0x464d44
sub eax, 0xa1
je 0x464d44
sub eax, 1
je 0x464d44
dec eax
sub eax, 1
je 0x464d44
sub eax, 1
je 0x464d44
dec eax
sub eax, 1
je 0x464d44
sub eax, 1
je 0x464d44
sub eax, 0x58
jne 0x464d82
cmp dword [edi + 0xc0], 0xffffffff
je 0x464d44
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x464d44
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x464c72
sub eax, 1
jne 0x464d44
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x464c61
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x68dd90]
mov ecx, edi
call esi
test eax, eax
jne 0x464cbe
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x464c37
jmp 0x464d9c
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x464d9c
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x68dd90]
mov ecx, edi
call esi
test eax, eax
jne 0x464cbe
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x464c89
jmp 0x464d9c
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x68dd90]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x68dd90]
mov ecx, edi
call esi
mov ecx, eax
call fcn.0042ff74
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x68dd90]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x464d9c
sub eax, 0x200
je 0x464d44
sub eax, 1
je 0x464d44
sub eax, 1
je 0x464d44
dec eax
sub eax, 1
je 0x464d44
sub eax, 1
je 0x464d44
dec eax
sub eax, 1
je 0x464d44
sub eax, 1
jne 0x464d82
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x464d63
cmp dword [eax + 0x20], ebx
je 0x464d63
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x464d82
cmp dword [eax + 0x20], ebx
je 0x464d82
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 4], 0x203
jne 0x464da1
lea eax, [edi + 0x2250]
test eax, eax
je 0x464d98
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x464da1
xor eax, eax
inc eax
jmp 0x464da9
push esi
mov ecx, edi
call fcn.0045e5df
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4852bc
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov edx, ecx
xor eax, eax
mov ecx, dword [ebp + 8]
inc eax
push edi
xor edi, edi
mov dword [ebp - 8], edx
inc edi
mov dword [ebp - 4], eax
lea ebx, [ecx + 0xc]
cmp dword [ecx + 8], edi
jle 0x485338
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4852fd
mov eax, dword [edx + 0x10]
cmp dword [eax + edi*8 + 4], esi
je 0x4852fd
mov eax, dword [ebx]
cmp dword [eax + edi*4], 0
je 0x48532b
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x48532e
mov eax, dword [ebx]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x485325
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x68dd90]
mov ecx, dword [ebp - 0xc]
call esi
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx]
and dword [eax + edi*4], 0
mov eax, dword [ebp - 4]
inc edi
cmp edi, dword [ecx + 8]
jl 0x4852e1
test eax, eax
je 0x48537f
lea esi, [edx + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 8]
mov edi, dword [ebp + 8]
add ecx, 0x14
push edi
call fcn.004855d2
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x68dd90]
mov ecx, edi
call esi
mov eax, dword [ebp - 8]
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
leave
ret 8