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

Disassembly:
pop cx
cmc
xchg dx, si
bswap esi
mov dword [esp + 1], ebp
xchg dword [esp + 6], edx
jmp 0x602421
push dword [esp + 0x10]
mov bx, 0x47bf
push edx
jmp 0x6023f1
setnp ch
mov cl, ch
setl ch
mov ebx, 0x80cbb5e0
jmp 0x6024da
mov cx, 0xe9ad
add esp, 4
lea edi, [edi + edi]
rdtsc
not eax
rol dx, cl
jmp 0x602441
lea esp, [esp + 0x15]
rdtsc
lea ebp, [ebp - 0x7126dc1]
lea edi, [edx*4]
mov dx, word [esp + 1]
xchg ebp, eax
jmp 0x602458
not bh
bsr cx, cx
mov eax, 0x7a2d1c8a
neg dh
inc di
push esp
jmp 0x60246f
xor bp, 0xaca4
mov cl, ch
setnp bh
mov word [esp + 8], sp
shl di, cl
lea edi, [ebp - 0x4f]
jmp 0x6024a5

Function at 0x6025f6
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x60267e
xchg dword [esp], esi
bsf cx, ax
add esp, 1
bsr ax, cx
xchg di, ax
push edx
jmp 0x602653
lea ebp, [ebp*4]
shl bx, cl
push esp
lea ebx, [ecx*4]
pop ax
bswap eax
jmp 0x6026b0
lea edi, [eax*4]
xchg byte [esp + 3], dl
mov ecx, ebp
mov ecx, 0xe0d954b0
jmp 0x6025fb
mov si, word [esp + 6]
neg dx
mov cl, ch
push dword [esp + 3]
mov dx, word [esp + 5]
not bp
jmp 0x602ac5
xchg word [esp + 0xa], di

Function at 0x602883
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 1]
rcr bh, 3
mov dh, byte [esp]
pop di
jmp 0x602958
lea ecx, [eax + ebx]
pushal
not ah
pop bx
xchg word [esp + 8], cx
lea esp, [esp + 3]
jmp 0x6028ea
btc ecx, ebx
neg di
bsr bx, bp
btc edx, edi
shr bh, 3
jmp 0x6028ab
lea esp, [esp]
rdtsc
cpuid
mov bl, bh
add esp, 0
inc ebx
jmp 0x6028c3
lea esp, [esp + 0x1c]
popal
call fcn.00602933
lodsb al, byte [esi]
xor ah, byte [eax - 0x4c4acd39]
aaa
cmpsd dword [esi], dword es:[edi]
ret 0xeb31
mov ax, bx
rdtsc
btc esi, ebx
shr edi, 0x1f
xchg byte [esp], cl
xchg byte [esp], dl
jmp 0x6028db
lea edx, [edx*4]
mov ax, dx
mov bh, byte [esp]
rdtsc
not dh
and dx, 0x2eea
jmp 0x602908

Function at 0x6033cf
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea edx, [edx*4]
lea esi, [esi + 0xfd]
btc eax, edi
sub dx, 0x2618
push esp
jmp 0x60340b
setge bh
rol dx, cl
mov ch, byte [esp + 3]
sub esp, 0x16
push edx
jmp 0x60337d
lea esp, [esp + 3]
pushal
lea ebx, [ebx*4]
sub esp, 0x1a
mov dword [esp + 0x11], esi
mov al, ah
jmp 0x603399
add esp, 0
push dword [esp]
add esp, 0xc
mov byte [esp + 1], ah
mov byte [esp + 1], ch
jmp 0x6033b3
mov edi, 0x63051b38
mov al, ah
shr ch, 5
mov al, byte [esp]
mov bl, bh
rdtsc
jmp 0x60341e
rdtsc
mov dx, sp
mov eax, ebp
bswap ebp
btc ecx, edi
neg ebp
jmp 0x603531
not dx
mov al, ah
setnp ah
mov cl, ch
sub esp, 0xe
lea esp, [esp + 0x46]
jmp 0x6033e2
xchg ah, bl
lea edi, [esi*4]
rdtsc
lea esi, [ebx*4]
xchg ah, bl
not ch
jmp 0x6033f5
pushal
lea esi, [eax - 0x51]
ror esi, 0xd
mov cx, 0xc621
btc edi, edi
call fcn.006034cd
mov edx, ecx
lea eax, [ecx + 0x9b]
mov bp, word [esp]
neg dx
shr eax, 9
neg esi
jmp 0x60363a
sub bl, ah
mov word [esp + 4], dx
mov byte [esp], ah
lea esp, [esp + 0x11]
add esp, 7
mov word [esp], bx
jmp 0x603597
btr ebp, edx
bswap ebp
btc edi, edi
xchg si, dx
pop di
xchg esi, edi
jmp 0x6035bf
lea ebp, [ebx + ebx]
mov dl, 0xd4
setno ch
lea edx, [esi*4]
lea edi, [edx + edi]
sub esp, 0x1e
jmp 0x6035e8
Function at 0x603775
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
cpuid
mov al, ah
mov dx, di
neg ah
pushal
jmp 0x6037b6
pop word [esp + 7]
xchg ecx, eax
lea ebp, [esi - 0x75282883]
push word [esp + 0xe]
bsr dx, cx
add esp, 0x14
jmp 0x60373c
pop dword [esp + 5]
lea ebx, [edx*4]
btr ebp, edx
mov word [esp + 0xa], sp
jmp 0x603752
mov dword [esp + 0x19], esi
pop si

Function at 0x603803
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp], edx
neg bx
xchg dword [esp], eax
mov dl, dh
mov bl, 0x88
push esp
jmp 0x603835
mov dword [esp], esi
jmp 0x6037e9
mov ecx, dword [esp]
mov byte [esp + 1], ah
sub dx, 0xfb90
sub esp, 0x14
jmp 0x603866
xchg dword [esp], ebp
btc ecx, ebx
rdtsc
add esp, 4
xchg byte [esp], cl
setl dh
jmp 0x603808
cpuid
add bx, 0xba2e
rdtsc
lea eax, [ebx*4]
setge bh
pop word [esp + 3]
jmp 0x60381e
mov byte [esp + 0x1d], bh
mov bl, bh
mov edx, ecx
clc
push dword [esp + 0x1c]
push edx
jmp 0x603890
xchg word [esp + 6], bp
mov cx, word [esp]
cpuid
rdtsc
mov dl, dh
sub esp, 8
jmp 0x60384f
mov word [esp + 0x22], sp
sub esp, 0xc
cld
xor dl, ch
stc
btc edi, edi
jmp 0x603b3d
mov cx, bx
bswap ebp
mov cx, word [esp + 0x17]
mov word [esp + 0x1f], dx
lea ebx, [esp + eax]
btr edi, edx
jmp 0x60387a
xchg bh, cl
mov bh, byte [esp + 0x15]
pop word [esp + 0xf]
cpuid
pop bx
jmp 0x6039ff
inc di
bswap ebp
ror dh, 7
mov ch, byte [esp]
sub esp, 0x16
clc
jmp 0x6038c8
mov word [esp + 0x16], di
lea esp, [esp + 0x20]
btr eax, edx
xchg byte [esp], dl
mov edi, dword [esp]
xor dl, ch
jmp 0x6038df
inc edi
pop esi
neg si
mov di, sp
mov ah, byte [esp + 6]
rdtsc
jmp 0x603903
push word [esp + 4]
sub esp, 0x1c
neg ax
xchg ecx, edx
cpuid
bswap ebx
jmp 0x60391d
mov bx, word [esp + 1]
add esp, 0x2c
xchg byte [esp], cl
xchg bx, si
mov byte [esp + 1], dh
mov ax, 0x3e93
mov dl, 0xd4
jmp 0x603934
Function at 0x603986
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edx, dword [esp + 0x29]
cpuid
btc edx, edi
bsf bx, ax
jmp 0x6039b5
lea eax, [eax*4]
setns bh
lea ecx, [eax*4]
lea ebp, [edx + ebx]
pop bp
mov si, word [esp + 3]
jmp 0x603a9f
cpuid
clc
mov dl, dh
sub esp, 0x18
inc edx
rdtsc
jmp 0x603a81
xchg ch, dl
sub esp, 0x14
ror eax, 0xf
xchg dword [esp + 0xa], edx
lea ebp, [esp + eax]
xchg word [esp + 0x11], dx
jmp 0x603a19
sub esp, 0x12
lea esp, [esp + 0x47]
rdtsc
cpuid
clc
bswap ebp
jmp 0x603a34
lea esi, [esi - 0xb5]
bswap ecx
not bh
xchg ch, dl
cpuid
bswap edi
jmp 0x603a58
not edx
xchg dh, al
push edx
pop word [esp + 0x29]
add esp, 0xd
xchg byte [esp + 0x18], al
jmp 0x603add
push word [esp + 0x14]
pop word [esp + 3]
neg ch
mov dword [esp + 0xa], ebp
mov bh, byte [esp + 6]
mov di, sp
jmp 0x603a6f
sub esp, 0xa
pop ax
mov byte [esp + 3], ah
mov word [esp + 2], di
xchg ebp, esi
mov eax, ecx
jmp 0x603b24
mov byte [esp + 0xd], bh
setl bh
popal
xchg edi, eax
mov eax, ebp
bswap ecx
jmp 0x603ab8
push dword [esp + 4]
bswap ecx
xchg byte [esp + 4], al
stc
ror dh, 7
jmp 0x603ba0
lea edi, [esp + edi]
cmc
mov ah, byte [esp + 2]
lea eax, [esi + 0x2d]
pop ecx
cpuid
jmp 0x603aec
mov byte [esp + 7], ch
cmc
xchg word [esp + 3], bp
push word [esp + 3]
xchg cx, ax
jmp 0x603b03
mov si, 0xef7b
pushal
sub esp, 0x1e
lea esp, [esp + 0x49]
btr ebx, edx
rcr ah, 1
call fcn.00603b79
xchg ecx, ebx
mov eax, esi
xchg byte [esp + 2], dl
mov bl, 0x10
cpuid
btr eax, esp
jmp 0x603be8
inc edi
mov dword [esp], esi
add edi, ebp
xchg bh, cl
xchg byte [esp + 2], dl
bswap ebp
jmp 0x603bf9
xchg dword [esp], eax
mov eax, dword [esp + 6]
pop dx
clc
btc esi, edi
sub ebp, eax
jmp 0x603bc7
mov cl, 0x4a
xchg dword [esp], ebx
mov bl, bh
inc ax
xchg word [esp + 2], ax
jmp 0x603c37
mov di, sp
mov cx, sp
push esp
call fcn.00603bdd
mov word [esp], di
mov cl, 0x82
mov bh, byte [esp + 2]
rdtsc
pop ax
bswap edx
jmp 0x603c52
lea esi, [edi*4]
pop word [esp]
mov dx, word [esp + 1]
mov bp, 0x7e4f
rdtsc
mov ecx, dword [esp]
jmp 0x603c1e
sub esp, 0x12
pop dword [esp]
lea esp, [esp + 5]
mov bl, bh
xchg esi, ebx
bsf bx, ax
jmp 0x603cc2
mov ecx, 0xf044e226
add esp, 7
pushal
pop ax
ror esi, 1
xchg byte [esp + 0x12], cl
jmp 0x603ca8
inc cl
bswap ebp
cpuid
xchg ebp, esi
mov eax, ebp
xchg ah, bl
jmp 0x603c12
lea esi, [edi + edi]
xchg ecx, eax
push esp
mov bx, 0xa1f9
pushal
lea esp, [esp + 0x49]
jmp 0x603cd4
mov dword [esp + 3], ebp
ror ah, 1
rdtsc
push word [esp + 0xb]
xor dl, ch
bswap edx
jmp 0x603c8c
push word [esp + 5]
cmc
mov bh, byte [esp + 3]
bswap edx
lea esi, [ecx + ebx]
inc ecx
jmp 0x603c66
mov ecx, 0x52d5811c
shr ah, 1
xchg dh, al
mov bp, di
neg dh
mov bp, dx
call fcn.00603d31
xlatb
or dword ds:[eax + 0x24648dcb], ebp
inc edx
rdtsc
xchg ebx, eax
mov ebx, eax
xchg edi, edx
bswap esi
jmp 0x603c7e

Function at 0x603bdd
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
lea esp, [esp + 1]
neg si
jmp 0x603bb6
Function at 0x604574
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x6045a2
mov ah, byte [esp + 6]
bswap ebx
mov word [esp + 4], sp
pop bx
mov cx, di
jmp 0x60470d
pop word [esp + 1]
mov byte [esp + 3], ah
mov dh, byte [esp + 8]
xchg word [esp + 8], bx
xchg byte [esp + 2], cl
pop dword [esp]
jmp 0x604576
popal
sub esp, 0x12
clc
push edx
call fcn.0060462c
not ecx
rdtsc
pop si
rdtsc
add esp, 1
lea esp, [esp + 2]
jmp 0x60464b

Function at 0x6047be
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
call int.00603098
mov dword [esp + 0x60], esi
pushal
mov byte [esp + 3], bh
mov dword [esp + 0xf], eax
jmp 0x604851
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x60486c
push word [esp + 0xa]
lea esp, [esp + 3]
mov dword [esp + 0x74], edi
lea esp, [esp + 0x74]
jmp 0x604814
pop dword [esp + 0xc]
push dword [esp + 0x14]
mov byte [esp + 0xb], ah
mov word [esp + 0x10], di
mov dword [esp + 0x19], ebp
lea esp, [esp + 7]
jmp 0x604832
mov eax, dword [eax + 0x1c]
jmp 0x6049ff
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x603093
Function at 0x416180
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x490cfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048558f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x416202
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048316d
mov eax, dword [eax]
push 0x4da220
push eax
call fcn.00474944
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048581a
test bl, bl
je 0x416202
push 0x4da220
lea ecx, [esp + 0xc]
call fcn.00485baa
push 0x4dddc4
lea ecx, [esp + 0xc]
call fcn.00485baa
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41623e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048581a
jmp 0x416309
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4162c2
lea edx, [esp + 0x7c]
push 0x4dddc0
push edx
call fcn.00474944
add esp, 8
test eax, eax
je 0x4162c2
lea eax, [esp + 0x7c]
push 0x4dddbc
push eax
call fcn.00474944
add esp, 8
test eax, eax
je 0x4162c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x416252
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048581a
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4179f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x417a52
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x417a60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x490e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4e9e48]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x417b98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x417ac6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048581a
xor eax, eax
jmp 0x417c0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00485957
push esi
lea ecx, [esp + 0xc]
call fcn.00485be6
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4dddfc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x417bed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004179f0
test eax, eax
jne 0x417bed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004179f0
test eax, eax
jne 0x417bed
lea eax, [esp + 0x14]
push 0x4dddd8
push eax
call fcn.00475980
mov esi, eax
add esp, 8
test esi, esi
jne 0x417bcc
lea ecx, [esp + 0x14]
push 0x4dddd4
push ecx
call fcn.00475900
mov esi, eax
add esp, 8
test esi, esi
jne 0x417bcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x417bcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00485907
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x417ade
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048581a
xor eax, eax
jmp 0x417c0f
mov byte [esi], 0
push 0x4dddd0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0048581a
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x429840
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4298ae
cmp si, 0x69
ja 0x4298ae
add esi, 0xffd0
cmp si, 0x11
je 0x42987e
push 0x11
call edi
test ax, ax
jge 0x42987e
or esi, 0x2000
cmp si, 0x10
je 0x429893
push 0x10
call edi
test ax, ax
jge 0x429893
or esi, 0x4000
cmp si, 0x12
je 0x4298a8
push 0x12
call edi
test ax, ax
jge 0x4298a8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4298bb
mov esi, 0xbd
jmp 0x42986f
cmp si, 0x6e
jne 0x4298c8
mov esi, 0xbe
jmp 0x42986f
cmp si, 0x6f
jne 0x429869
mov esi, 0xbf
jmp 0x42986f

Function at 0x42b100
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4fa570]
xor edx, edx
cmp eax, edx
jne 0x42b126
xor eax, eax
mov byte [eax + 0x4fa470], al
inc eax
cmp eax, 0x100
jl 0x42b10e
mov dword [0x4fa570], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4fa470
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42b1b7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42b18a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x42b158
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42b1c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x42b213
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42b1fa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x20]
call fcn.0048c26d
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub eax, esi
sub ecx, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0042e620
add esp, 0x14
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0048c2df
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x431eb0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x432048
cmp ebp, ebx
jle 0x432048
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x431f0e
dec eax
or eax, 0xfffffff8
inc eax
je 0x431f15
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x431f24
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x431f2b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0048555b
add esp, 4
cmp eax, ebx
je 0x431f4c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0048555b
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x43203e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x432025
mov al, byte [edx]
cmp al, 0xc0
jbe 0x432011
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x432006
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x432014
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x432014
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x431fb0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x431fa1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x435260
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4925b8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x435299
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.0048cf08
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0048cf54
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00435320
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0048cf91
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
Function at 0x4398f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x492d48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0043a470
lea edx, [esp + 0x18]
push eax
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x439999
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00439580
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push edi
lea ecx, [esp + 0x4c]
call fcn.0048c1b9
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.00448150
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.0048c22b
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14