joyce8/EMBER2024-capa huggingface dataset:
Function at 0x116608a
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dl, bh
mov eax, ebp
sub esp, 0xe
cld
rcr ax, 2
jmp 0x1166112
not ax
mov ax, 0x108
xchg ebp, eax
clc
mov word [esp + 0xb], dx
push dword [esp + 9]
jmp 0x11660db
inc edx
mov dl, byte [esp]
lea edx, [ebp*4]
add dx, 0x24fc
std
bts edx, esi
jmp 0x11660c5
neg al
mov edx, dword [esp + 8]
sub esp, 0
setns al
std
pop dword [esp + 6]
jmp 0x1166098

Function at 0x11662be
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [esp + 0x12], sp
stc
lea eax, [esi + 0xc7]
lea edx, [eax*4]
bsf edx, esp
mov bp, dx
jmp 0x11662c8
neg bp
mov ax, word [esp + 0x17]
jmp 0x1166293
not dl
pushal
pushal
lea esp, [esp + 0x5c]
sub esp, 0
not ah
jmp 0x11662ff

Function at 0x1166ac0
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea eax, [esi*4]
not ebp
inc ah
inc eax
push dword [esp + 3]
pop eax
jmp 0x1166b41
jmp 0x1166a9b
mov dl, 0x90
cld
xchg dword [esp + 0xd], ebp
xchg dl, al
cld
not dx
not dl
sub esp, 0x1a
lea edx, reloc.kernel32.dll_WriteFile
jmp 0x1166ae4

Function at 0x116d9a1
Capabilities:
Parse pe header

Disassembly:
call fcn.0116c844
mov eax, dword fs:[0x30]
jmp 0x116d971
mov dword [esp], esi
push edi
lea esp, [esp + 3]
mov byte [esp], dh
lea esp, [esp + 1]
push edi
jmp 0x116d933
mov eax, dword [eax + 8]
jmp 0x116d97b
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x116d95b
push eax
jmp 0x116c83f
jmp 0x116d949
Function at 0x404c0e
Capabilities:
Resolve dns

Disassembly:
push 4
mov eax, 0x46c8ac
call fcn.00456770
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0xf
xor ecx, ecx
pop eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ecx
mov byte [esi], cl
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], ecx
mov dword [ebp - 4], ecx
mov byte [esi + 0x1c], cl
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], 0x10
mov byte [ebp - 4], 1
jb 0x404c49
mov eax, dword [ebx]
jmp 0x404c4b
mov eax, ebx
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
push 0xffffffffffffffff
push 0
push ebx
mov ecx, esi
mov dword [ebp + 8], eax
call fcn.004012e7
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x404c9a
cmp word [eax + 8], 2
jne 0x404c9a
mov eax, dword [eax + 0xc]
cmp dword [eax], 0
je 0x404c9a
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ebx, eax
push ebx
call fcn.00455b50
pop ecx
push eax
push ebx
lea ecx, [esi + 0x1c]
call fcn.00401380
mov eax, esi
call fcn.00456848
ret 8
Function at 0x4059f5
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x405a2c
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], str.cannot_allocate_thread_context_key
call fcn.0045598a
push 0x4874e4
lea eax, [ebp - 0x10]
push eax
call fcn.00456331
mov eax, esi
pop esi
leave
ret

Function at 0x405a59
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp + 8]
push eax
push 0
mov esi, ecx
push esi
push dword [ebp + 8]
push dword [esi + 0x18]
push 0
call fcn.00458394
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
test eax, eax
jne 0x405aa7
mov dword [ebp - 4], str.cannot_create_thread
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.0045598a
push 0x4874e4
lea eax, [ebp - 0x10]
push eax
call fcn.00456331
mov esi, dword [esi + 0x14]
test esi, esi
je 0x405ac3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x405ac3
mov dword [ebp - 4], str.cannot_set_thread_priority
jmp 0x405a8d
pop esi
leave
ret 8
Function at 0x405c78
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cb0e
mov eax, dword fs:[0]
push eax
mov eax, 0x1330
call fcn.00458570
mov eax, dword [0x490aa0]
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 esi, dword [ebp + 8]
xor ebx, ebx
push 0xfff
lea eax, [ebp - 0x108b]
push ebx
mov dword [ebp - 0x133c], ebx
push eax
mov byte [ebp - 0x108c], bl
call fcn.004568a0
add esp, 0xc
push 0xf
pop edi
mov dword [ebp - 0x1338], ebx
mov dword [ebp - 0x133c], ebx
mov dword [ebp - 0x1094], edi
mov dword [ebp - 0x1098], ebx
mov byte [ebp - 0x10a8], bl
lea eax, [ebp - 0x133c]
push eax
lea eax, [ebp - 0x1330]
push eax
mov dword [ebp - 4], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x405e31
push dword [ebp - 0x133c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x1334], eax
cmp eax, ebx
je 0x405e31
lea ecx, [ebp - 0x133c]
push ecx
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x405d92
mov edi, dword [ebp - 0x1334]
mov eax, dword [edi + 0x190]
mov ecx, dword [ebp - 0x1338]
add ecx, eax
cmp ecx, 0x1000
jae 0x405d8f
push eax
lea eax, [edi + 0x194]
push eax
mov eax, dword [ebp - 0x1338]
lea eax, [ebp + eax - 0x108c]
push eax
call fcn.00455be0
mov eax, dword [edi + 0x190]
mov edi, dword [edi]
add dword [ebp - 0x1338], eax
add esp, 0xc
cmp edi, ebx
jne 0x405d49
push 0xf
pop edi
push dword [ebp - 0x1334]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x7b
lea eax, [ebp - 0x8b]
push ebx
push eax
mov byte [ebp - 0x8c], bl
call fcn.004568a0
add esp, 0xc
mov dword [ebp - 0x1334], ebx
cmp dword [ebp - 0x1338], ebx
jbe 0x405e31
push 0x7c
lea eax, [ebp - 0x8c]
push ebx
push eax
call fcn.004568a0
mov eax, dword [ebp - 0x1334]
movzx eax, byte [ebp + eax - 0x108c]
push eax
lea eax, [ebp - 0x8c]
push str._02X
push eax
call fcn.00456b69
lea eax, [ebp - 0x8c]
push eax
call fcn.00455b50
add esp, 0x1c
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x10a8]
call fcn.004036e6
inc dword [ebp - 0x1334]
mov eax, dword [ebp - 0x1334]
cmp eax, dword [ebp - 0x1338]
jb 0x405dcc
lea eax, [ebp - 0x10a8]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.00401a6d
push ebx
push 1
lea ecx, [ebp - 0x10a8]
call fcn.004010e4
mov eax, esi
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.00456761
leave
ret
Function at 0x40c7a4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x490aa0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
and dword [ebx + 0x304], 0
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebx + 0x2c], ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [ebx + 0x300], ecx
test eax, eax
je 0x40c7e5
push eax
lea ecx, [ebx + 0x34]
call fcn.00421c15
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x30], eax
lea eax, [ebx + 0x10]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40c80f
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x48f864
call fcn.0040c60a
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
push 0x48f860
call dword [eax]
mov ecx, dword [ebx + 0x300]
test ecx, ecx
jne 0x40c81e
mov eax, dword [ebx + 0x24]
jmp 0x40c82a
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00423c9d
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call fcn.0042177b
push 0
sub esp, 0x10
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x88
push closesocket
movsd dword es:[edi], dword [esi]
push 0
push dword [ebp - 0x18]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.00422d97
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x40c868
push edi
call esi
mov edi, eax
push edi
call esi
test eax, eax
jne 0x40c863
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00456761
leave
ret 0x14

Function at 0x40d0bb
Capabilities:
Create process on windows

Disassembly:
push 0x110
mov eax, 0x46d4d5
call fcn.004567d9
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x108]
cmp eax, dword [ecx + 0x274]
jne 0x40d0e8
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40d1c0
cmp eax, dword [ecx + 0x280]
jne 0x40d106
push 0
push 0xf020
push 0x112
call fcn.00422b9a
jmp 0x40d1c0
cmp eax, dword [ecx + 0x278]
jne 0x40d117
push 0
push 0xf030
jmp 0x40d0f7
cmp eax, dword [ecx + 0x27c]
jne 0x40d128
push 0
push 0xf120
jmp 0x40d0f7
mov ecx, eax
mov eax, dword [ecx]
lea edx, [ebp - 0x94]
push edx
call dword [eax + 4]
xor ebx, ebx
push str.Issue
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00421f03
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x119], al
call fcn.00421a92
cmp byte [ebp - 0x119], bl
je 0x40d16e
push ebx
push ebx
push ebx
push str.https:__github.com_cinience_RedisStudio_issues
jmp 0x40d1b8
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
lea edx, [ebp - 0x118]
push edx
call dword [eax + 4]
push str.Star
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00421f03
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
mov byte [ebp - 0x119], al
call fcn.00421a92
cmp byte [ebp - 0x119], bl
je 0x40d1c0
push ebx
push ebx
push ebx
push str.https:__github.com_cinience_RedisStudio_stargazers
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.0045685c
ret 4
Function at 0x40eb9f
Capabilities:
Create thread

Disassembly:
push 0x90
mov eax, 0x46e5da
call fcn.004567d9
push 0x65
mov esi, ecx
call fcn.004229b6
mov ecx, esi
call fcn.0042272c
push str.closebtn
lea ecx, [esi + 0x2c]
mov dword [0x4926b8], eax
call fcn.00424a52
push str.maxbtn
lea ecx, [esi + 0x2c]
mov dword [esi + 0x274], eax
call fcn.00424a52
push str.restorebtn
lea ecx, [esi + 0x2c]
mov dword [esi + 0x278], eax
call fcn.00424a52
push str.minbtn
lea ecx, [esi + 0x2c]
mov dword [esi + 0x27c], eax
call fcn.00424a52
push str.main_version
lea ecx, [esi + 0x2c]
mov dword [esi + 0x280], eax
call fcn.00424a52
push str.txt_notice_success
lea ecx, [esi + 0x2c]
mov dword [esi + 0x29c], eax
call fcn.00424a52
push str.txt_notice_fail
lea ecx, [esi + 0x2c]
mov dword [esi + 0x290], eax
call fcn.00424a52
push str.txt_notice_connectting
lea ecx, [esi + 0x2c]
mov dword [esi + 0x294], eax
call fcn.00424a52
push str.main_notice_success
lea ecx, [esi + 0x2c]
mov dword [esi + 0x298], eax
call fcn.00424a52
push str.main_notice_connectting
lea ecx, [esi + 0x2c]
mov dword [esi + 0x284], eax
call fcn.00424a52
push str.main_notice_fail
lea ecx, [esi + 0x2c]
mov dword [esi + 0x288], eax
call fcn.00424a52
mov ecx, dword [esi + 0x29c]
lea edx, [ebp - 0x94]
mov dword [esi + 0x28c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x28]
push str.0.1.5
xor ebx, ebx
push str._version
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], ebx
call fcn.00421fc4
mov eax, dword [esi + 0x29c]
mov edi, dword [eax]
lea ecx, [ebp - 0x94]
call fcn.00423c9d
mov ecx, dword [esi + 0x29c]
push eax
call dword [edi + 0x2c]
lea ecx, [esi + 0x2a0]
call fcn.0042db67
test eax, eax
jle 0x40ed20
push 1
push ebx
lea ecx, [esi + 0x2a0]
call fcn.00421e6e
push eax
lea ecx, [esi + 0x2a0]
call fcn.0042220f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1b0]
lea ecx, [esi + 0x2a0]
inc ebx
call fcn.0042db67
cmp ebx, eax
jl 0x40ecec
and dword [ebp - 0x98], 0
lea ecx, [esi + 0x2a0]
call fcn.0042db67
test eax, eax
jle 0x40ed8a
push 1
push dword [ebp - 0x98]
lea ecx, [esi + 0x2a0]
call fcn.00421e6e
push eax
lea ecx, [esi + 0x2a0]
call fcn.0042220f
mov ebx, eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1bc]
test eax, eax
je 0x40ed80
inc dword [ebp - 0x98]
lea ecx, [esi + 0x2a0]
call fcn.0042db67
cmp dword [ebp - 0x98], eax
jl 0x40ed36
jmp 0x40ed8a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1b8]
lea eax, [ebp - 0x9c]
xor edi, edi
push eax
push edi
mov ecx, esi
mov dword [ebp - 0x9c], edi
call fcn.0042272c
push eax
push 0x40e81b
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00421a92
call fcn.0045685c
ret
Function at 0x41c801
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
cmp dword [ecx + 0xc], 8
push edi
jne 0x41c813
call fcn.0041c6a1
mov ecx, dword [esi + 0x38]
xor edi, edi
call fcn.0041c671
jmp 0x41c864
mov edx, dword [ecx + 8]
add edx, dword [ecx + 4]
push 0
push eax
push edx
push dword [esi]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x41c852
call fcn.004599dc
cmp dword [eax], 4
je 0x41c864
call fcn.004599dc
cmp dword [eax], 0x8c
je 0x41c876
or eax, 0xffffffff
jmp 0x41c878
test eax, eax
je 0x41c87b
mov ecx, dword [esi + 0x38]
add dword [ecx + 8], eax
add edi, eax
cmp byte [esi + 4], 0
je 0x41c876
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sub eax, dword [ecx + 4]
add eax, dword [ecx]
test eax, eax
jg 0x41c81f
mov eax, edi
pop edi
pop esi
ret
xor eax, eax
jmp 0x41c878

Function at 0x41c87f
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x3c]
cmp dword [ecx + 0xc], 8
push edi
jne 0x41c891
call fcn.0041c6a1
xor edi, edi
jmp 0x41c8da
mov eax, dword [eax + 4]
push 0
push ecx
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x41c8c5
call fcn.004599dc
cmp dword [eax], 4
je 0x41c8da
call fcn.004599dc
cmp dword [eax], 0x8c
je 0x41c8e4
or eax, 0xffffffff
jmp 0x41c8ee
test eax, eax
je 0x41c8e4
mov ecx, dword [esi + 0x3c]
sub dword [ecx + 8], eax
add dword [ecx + 4], eax
add edi, eax
cmp byte [esi + 4], 0
je 0x41c8e4
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 8]
test ecx, ecx
jg 0x41c895
mov ecx, dword [esi + 0x3c]
call fcn.0041c671
mov eax, edi
pop edi
pop esi
ret

Function at 0x41cc9f
Capabilities:
Connect socket
Convert ip address from string

Disassembly:
push 0x18
mov eax, 0x46f13f
call fcn.004567d9
mov esi, dword [ebp + 8]
push 0x10
xor edi, edi
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.004568a0
add esp, 0xc
push 2
pop eax
push dword [ebp + 0xc]
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x1c]
push eax
push esi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
push edi
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x41cd04
push 0x10
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x41cd13
cmp esi, edi
jl 0x41cd0f
push esi
call fcn.00462431
pop ecx
xor eax, eax
jmp 0x41cd3c
push 0x50
call fcn.004562b1
pop ecx
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], edi
cmp ecx, edi
je 0x41cd2f
push edi
call fcn.0041cbbb
mov edi, eax
push 1
mov ecx, edi
mov dword [edi], esi
call fcn.0041c7d8
mov eax, edi
call fcn.0045685c
ret
Function at 0x42396c
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jns 0x423982
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x42398e
or edi, 1
push 1
call esi
test ax, ax
jns 0x42399a
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x4239a6
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x4239b2
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x425579
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x42559e
cmp ebx, dword [esi + 0x54]
je 0x42559e
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x425660
push edi
test eax, eax
je 0x4255f1
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x54]
mov ecx, esi
call fcn.004250b3
mov dword [esi + 0x54], edi
test ebx, ebx
je 0x42565f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x42565f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x42565f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x42565f
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x54], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x54]
mov ecx, esi
call fcn.004250b3
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x425863
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0xd0]
xor ebx, ebx
call fcn.0042272c
test eax, eax
jle 0x4258b8
push ebx
lea ecx, [esi + 0xd0]
mov byte [ebp - 1], 0
call fcn.00421a5b
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x425919
lea ecx, [esi + 0xd0]
inc ebx
call fcn.0042272c
cmp ebx, eax
jl 0x42587f
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x425972
sub eax, 4
je 0x42591d
dec eax
dec eax
jne 0x425969
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.0045a49a
pop ecx
mov ecx, dword [esi + 0x50]
push reloc.WS2_32.dll_ioctlsocket
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x424b45
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x425969
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x42596b
cmp dword [esi + 0x54], 0
je 0x425969
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.0042396c
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x425969
cmp dword [esi + 0x54], 0
je 0x4259c1
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4259c1
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x4259c1
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.00459ee2
pop ecx
pop ecx
test eax, eax
je 0x4259c1
mov ecx, dword [esi + 0x54]
call fcn.00442f2c
test al, al
jne 0x425969
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call fcn.00425711
jmp 0x425919
Function at 0x42b689
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x4701d3
call fcn.004567d9
mov edi, dword [ebp + 8]
mov ebx, ecx
call fcn.0042ac79
call fcn.00423ae9
push eax
lea ecx, [ebp - 0x94]
call fcn.00421ede
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00423aef
mov ecx, eax
call fcn.00421bbd
test al, al
je 0x42b7d1
push edi
lea ecx, [ebp - 0x94]
call fcn.00421c56
push esi
push 0x80
push 3
push esi
push 1
push closesocket
lea ecx, [ebp - 0x94]
call fcn.00423c9d
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push esi
cmp eax, 0xffffffff
jne 0x42b72d
push str.Error_opening_file
mov ecx, ebx
call fcn.0042ae4f
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00421a92
mov al, bl
call fcn.0045685c
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x42b742
push esi
push str.File_is_empty
jmp 0x42b70b
cmp edi, 0x400000
jbe 0x42b752
push esi
push 0x479154
jmp 0x42b70b
push edi
mov dword [ebp - 0x2cc], esi
call fcn.00454d9a
pop ecx
push esi
lea ecx, [ebp - 0x2cc]
push ecx
push edi
push eax
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2c8], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], edi
je 0x42b7ad
push dword [ebp - 0x2c8]
call fcn.004569e0
pop ecx
mov ecx, ebx
call fcn.0042ac79
push esi
push str.Could_not_read_file
jmp 0x42b70b
push dword [ebp + 0xc]
mov ecx, ebx
push edi
push dword [ebp - 0x2c8]
call fcn.0042b536
push dword [ebp - 0x2c8]
mov bl, al
call fcn.004569e0
pop ecx
jmp 0x42b714
call fcn.00423aef
push eax
lea ecx, [ebp - 0x94]
call fcn.00421c39
call fcn.00423af5
test al, al
je 0x42b7f2
call fcn.00423afb
jmp 0x42b809
push 2
push esi
lea ecx, [ebp - 0x94]
call fcn.00423c9d
push eax
call fcn.0044246d
add esp, 0xc
mov dword [ebp - 0x2c8], eax
cmp eax, esi
jne 0x42b81e
push esi
push str.Error_opening_zip_file
jmp 0x42b70b
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d0]
push eax
push 1
push edi
push dword [ebp - 0x2c8]
call fcn.00440b85
add esp, 0x14
test eax, eax
je 0x42b84c
push esi
push str.Could_not_find_ziped_file
jmp 0x42b70b
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x2cc], eax
cmp eax, esi
je 0x42b73a
cmp eax, 0x400000
ja 0x42b74a
push eax
call fcn.00454d9a
push 3
push dword [ebp - 0x2cc]
mov edi, eax
push edi
push dword [ebp - 0x2d0]
push dword [ebp - 0x2c8]
call fcn.004424cb
add esp, 0x18
cmp eax, esi
je 0x42b8c2
cmp eax, 0x600
je 0x42b8c2
push edi
call fcn.004569e0
pop ecx
call fcn.00423af5
test al, al
jne 0x42b8b7
push dword [ebp - 0x2c8]
call fcn.00442503
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x42b70b
call fcn.00423af5
test al, al
jne 0x42b8d7
push dword [ebp - 0x2c8]
call fcn.00442503
pop ecx
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp - 0x2cc]
push edi
call fcn.0042b536
push edi
jmp 0x42b7c4