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

Disassembly:
xchg dword [esp], esi
push esp
mov dword [esp], ebp
sub esp, 0x10
inc dh
push dword [esp + 6]
jmp 0x4f98c5
bswap edx
neg edx
mov edx, dword [esp]
lea edx, [edx*4]
mov dl, byte [esp]
jmp 0x4f987d
lea esi, [esi + 0x2f]
bts edx, esp
bts edx, edi
sub esp, 0
bswap edx
lea edx, [edx + ebp]
jmp 0x4f9a56
xchg dword [esp + 0x18], esi
bswap edx
mov dh, byte [esp]
push esp
call fcn.004f9a29

Function at 0x506a28
Capabilities:
Encode data using xor

Disassembly:
push edx
push dword [esp + 2]
mov ecx, eax
jmp 0x506eb6
push dword [esp + 2]
jmp 0x5063b5
jmp 0x50615e
mov word [esp + 2], bx
lea esp, [esp + 3]
mov dword [ebp + 0xc], esi
lea esp, [esp + 4]
jmp 0x5065e5
lea esp, [esp + 8]
imul ecx, esi
sub esp, 0x14
pop dword [esp + 0xa]
lea esp, [esp + 9]
jmp 0x50638b
pushal
mov esi, 0x28d3386c
xchg ah, ch
mov edx, dword [esp]
mov dword [esp + 4], ebx
jmp 0x5067fd
imul eax, ebx
bsr si, cx
bts esi, edx
jmp 0x5065cf
popal
clc
pushal
mov byte [esp + 0xd], ah
add esp, 0x1d
lea esp, [esp + 3]
jmp 0x506a3e
mov dword [edi], edx
call 0x506a28
pushal
mov dword [edi + 4], esi
pushal
lea esp, [esp + 0x1f]
jmp 0x506a4a
imul esi, dword [ebp + 0xc]
cmc
sub esp, 0xc
add eax, ecx
jmp 0x506a20
lea esp, [esp + 1]
jmp 0x506c8c
sub esp, 6
sub esp, 0x14
push esp
lea esp, [esp + 2]
lea esp, [esp + 0x1c]
jmp 0x506c75
add esi, 0x10000
jmp 0x506eae
cmp eax, ecx
pushal
lea esp, [esp + 0x30]
jae 0x5059fb
jb 0x506c60
ror dword [edx + eax*8 - 0x5b], 1
push esp
loop 0x506d1b
invalid
test bl, ah
push ds
mov al, byte [0x7e1b8b19]
lea edi, [ecx + esi*4]
sub al, 0xa2
lds esi, [edx + eax*4]
xor al, 0x82
cdq
cmp dword [ecx - 0x6741c438], ebp
sbb cl, byte [eax - 0x551e511]
jg 0x506d29
mov bh, byte [ecx + 0x39]
rcl byte [eax - 0x3a]
mov eax, dword [0xcd4eef50]
pop ebp
and al, 0xd7
fcomp dword [bp - 0x34]
stosd dword es:[edi], eax
movsb byte es:[edi], byte [esi]
sub dh, byte [ebx + 0x72b54623]
xor byte [edx + ebp + 0x2679bc4d], dh
mov eax, dword [0x11a35031]
push 0xe21770e2
and byte [edx + 0x21d2b727], ch
popfd
rcr byte [eax - 0x32], 1
test eax, 0xb53eee58
and eax, 0x2879bf4c
cmpsb byte [esi], byte es:[edi]
xor al, 0x53
scasb al, byte es:[edi]
push 0x5a
fisttp dword [ebx + 0x2e]
invalid
mov dword [edi + 4], esi
jmp 0x5059fb
bsf si, si
btr esi, edx
mov ebx, dword [esp]
xor si, 0xb16c
jmp 0x50735f
pop ebx
sub esp, 0x1a
mov byte [esp + 4], ch
lea esp, [esp + 2]
jmp 0x507316
mov dword [edi], edx
sub esp, 4
push dword [esp + 2]
lea esp, [esp + 8]
jmp 0x5072d8
cmp edx, ecx
call fcn.005072ff
sbb esp, dword [ebx + 0x61a55633]
arpl sp, sp
jp 0x507344
in al, dx
sub eax, 0xa931091
movsd dword es:[edi], dword [esi]
add edx, ecx
lea esp, [esp + 8]
pop esi
dec ebx
jmp 0x5072f0
add bh, ah
invalid
shl ecx, 0x10
lea esi, [ebx*4]
rol bx, cl
lea esi, [esi + 0x129fb8bd]
stc
jmp 0x50732e
Function at 0xb4c418
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov al, 0x6e
lea esp, [esp + 1]
btr esi, esp
xchg byte [esp], bl
add esp, 0
rol ax, cl
jmp 0xb4c43e
bswap ebx
inc si
mov bl, bh
lea esi, [ebp + 0x5c2e929f]
lea edx, [esi*4]
pop cx
jmp 0xb4c3df
jmp 0xb4c3fd
mov ecx, dword [esp]
mov ch, byte [esp]
mov eax, ebp
mov edx, dword [esp]
mov dx, word [esp]
setge dh
jmp 0xb4c4c7
rdtsc
mov dl, 0xbc
lea edi, [ebx + edi]
rdtsc
mov ch, byte [esp]
stc
jmp 0xb4c41a
add esp, 0
mov byte [esp], dh
mov eax, ebp
mov ebp, ecx
mov dl, 0x44
call fcn.00b4c484
mov word [esp + 0xe], bx
setl dh
rdtsc
popal
inc di
pushal
jmp 0xb4c542
not ebp
neg edi
neg cx
sub esp, 0
setns bh
mov dh, byte [esp + 9]
jmp 0xb4c56b
not dx
push word [esp + 5]
lea ebp, [esi + 0x8d]
sub bl, ah
mov dx, sp
pop ebx
jmp 0xb4c50a
pop dword [esp + 7]
pop ebx
xchg byte [esp + 0xe], dl
pop di
mov di, word [esp + 0x1a]
jmp 0xb4c525
xchg ah, bl
xchg word [esp + 8], bx
cpuid
btr eax, edx
jmp 0xb4c5dc
mov di, 0xbaaf
mov dh, byte [esp + 8]
call fcn.00b4c5c5
pop dx
btc ecx, ebx
mov ebp, ecx
mov si, 0x9d81
pushal
lea esp, [esp + 0x59]
jmp 0xb4c653
mov dx, word [esp + 6]
call fcn.00b4c703
jne 0xb4c641
insb byte es:[edi], dx
or eax, dword [esi]
mov eax, dword [0x2643d345]
aad 7
salc
inc ecx
ret
mov edx, 0x46f95f04
mov si, sp
sub esp, 0xa
mov cx, word [esp + 2]
cpuid
jmp 0xb4c637

Function at 0xb4c484
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop ebp
lea esp, [esp]
mov dx, di
xchg ecx, eax
bswap eax
lea edx, [esp + edx]
jmp 0xb4c4a3
mov eax, dword [esp]
jmp 0xb4c467
mov bp, 0x3bd1
xchg dh, al
sub bl, ah
lea ebp, [esp + esi]
mov byte [esp], ah
btc ecx, edi
jmp 0xb4c59d
rdtsc
rcr edx, 0x19
mov cl, ch
mov al, 0x1e
rdtsc
mov edi, dword [esp]
jmp 0xb4c489
lea esi, [ebx*4]
xchg byte [esp], dl
mov si, 0x7e07
cmc
pushal
push esp
jmp 0xb4c4d8
mov bh, byte [esp]
mov edx, ecx
mov ebp, dword [esp]
mov dh, byte [esp]
mov bl, 0x40
lea esp, [esp]
jmp 0xb4c4f7
neg ah
bswap ebx
mov cx, 0x240d
mov ebx, 0x24f6c9f6
add esp, 0
btr edx, esp
jmp 0xb4c559
add esp, 0
xchg bp, di
neg esi
inc eax
mov bx, word [esp]
mov cx, sp
jmp 0xb4c581

Function at 0xb4c703
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov al, ah
sete dh
xchg bp, bx
mov dword [esp + 5], ecx
neg di
sub esp, 0x18
jmp 0xb4c6d8
mov word [esp], bx
inc al
xchg byte [esp + 2], al
lea ebp, [esi + 0x258f839d]
jmp 0xb4c6c0
btr ebx, edx
lea ecx, [edx + edi]
lea esp, [esp + 3]
mov word [esp + 2], sp
push dword [esp + 7]
shr edx, 0xd
jmp 0xb4c67c
mov word [esp], bx
rdtsc
xchg esi, edi
call fcn.00b4c6ec
sbb dl, byte [ecx + 0x7e936001]
nop
adc ecx, dword [edx + 0x5d665425]
pop bp
add esp, 0x23
mov cx, word [esp]
inc dx
rdtsc
push word [esp + 1]
jmp 0xb4c690
push dword [esp + 2]
inc si
xchg ah, bl
not ax
pop dword [esp + 6]
jmp 0xb4c6a8
Function at 0xb4c86a
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg ecx, ebp
mov ax, 0x3fe9
inc ecx
btc ecx, edi
neg ah
btc edx, edi
jmp 0xb4c88f
mov di, dx
pop di
push edx
mov byte [esp + 0xf], ch
mov al, ah
mov dword [esp + 0xd], ecx
jmp 0xb4c82f
pop cx
push dword [esp + 6]
pop dx
pop bx
jmp 0xb4c84f
add edx, ebp
lea ebx, [eax - 0x29]
shr ch, 5
rcr eax, 0x1b
xchg byte [esp], dl
xchg edi, ebp
mov ebp, eax
mov al, ah
pop word [esp + 0xf]
add esp, 0x15
xchg dh, al
add esp, 0
jmp 0xb4c876

Function at 0xb4cb19
Capabilities:
Execute anti-debugging instructions

Disassembly:
btc ecx, ebx
btr eax, edx
lea ecx, [edi + ebp]
mov esi, 0x74fb79c6
add esp, 0xa
jmp 0xb4cc8a
jmp 0xb4cb01
xchg word [esp + 0x23], si
xchg dword [esp + 0x20], ecx
push dword [esp + 0x1a]
xchg word [esp + 0x11], bp
xchg byte [esp + 2], bl
jmp 0xb4cb9b
rdtsc
mov dl, 0x2c
push word [esp + 0x27]
lea esi, [edx*4]
pop dword [esp + 6]
lea ecx, [esp + edx]
jmp 0xb4cb65
sub esp, 0x14
mov ax, word [esp + 0x1a]
pop ax
pop si
mov edi, 0x673f2f24
mov ebx, eax
jmp 0xb4cc33
mov ecx, dword [esp + 0x17]
push dword [esp + 0x1a]
push word [esp + 0x17]
mov ebx, dword [esp + 0xb]
lea ebx, [ebp + 0x1a6018ef]
and si, 0xcd9a
jmp 0xb4cb82
rdtsc
cpuid
lea edi, [ecx - 0x8b]
bswap ebx
mov bl, 0x30
bsf si, si
jmp 0xb4cc0e
mov bl, 0x80
sub esp, 8
mov ax, dx
add esp, 5
cpuid
lea esp, [esp + 2]
jmp 0xb4cbdc
add esp, 0
mov dl, dh
bswap esi
mov si, dx
mov ch, byte [esp]
inc ebx
jmp 0xb4cc6b
pushal
lea esp, [esp + 0x5a]
bsr ax, bp
mov ebp, dword [esp]
mov si, 0xb2ed
stc
jmp 0xb4cbfb
mov byte [esp], ch
lea ecx, [edi*4]
mov al, ah
not ebp
mov al, 0xe6
pushal
jmp 0xb4cd30
lea edi, [esi + edi]
mov edx, esi
lea esi, [ebp + 0xd7]
lea eax, [edi*4]
bswap edi
mov cx, 0xb073
jmp 0xb4cc46
neg ax
inc ax
cpuid
mov eax, 0x6d6a425e
add esp, 1
pop word [esp + 0x1d]
jmp 0xb4cbbe
xchg ch, dl
mov word [esp + 0x34], di
stc
bswap ecx
xchg dh, al
pop edi
jmp 0xb4ccb6
pop word [esp + 0x27]
mov bp, 0xf49b
mov cl, 0xfa
not eax
jmp 0xb4cd18
xchg dword [esp + 0x36], edi
setno bh
mov bl, bh
mov dl, 0x94
cld
xchg cx, ax
jmp 0xb4cca3
pop dword [esp + 4]
mov word [esp + 7], dx
mov dx, word [esp + 0xd]
xchg byte [esp + 0xe], bl
sub esp, 0x1c
mov ecx, 0x41dff916
jmp 0xb4cccc
mov dword [esp + 9], ebp
push word [esp + 7]
call fcn.00b4d0e8
aad 0x42
sal byte [edi + 0x3a83eb42], 1
adc eax, 0x1b246488
mov byte [esp + 0x1b], ah
shl bx, cl
mov byte [esp + 0x2b], ah
mov ch, byte [esp + 0x33]
jmp 0xb4cd01
push dword [esp + 1]
pop bp
mov word [esp + 2], bx
btc ecx, edi
neg si
jmp 0xb4cce5

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

Disassembly:
lea esp, [esp + 1]
mov dword [esp + 0x64], edi
lea esp, [esp + 0x64]
jmp 0xb4d054
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0xb4d035
Function at 0x40b600
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4747db
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.00467247
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b682
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00464b2d
mov eax, dword [eax]
push 0x5661d0
push eax
call fcn.004577e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004674d2
test bl, bl
je 0x40b682
push 0x5661d0
lea ecx, [esp + 0xc]
call fcn.004678ae
push 0x569d44
lea ecx, [esp + 0xc]
call fcn.004678ae
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 0x40b6be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004674d2
jmp 0x40b789
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 0x40b742
lea edx, [esp + 0x7c]
push 0x569d40
push edx
call fcn.004577e4
add esp, 8
test eax, eax
je 0x40b742
lea eax, [esp + 0x7c]
push 0x569d3c
push eax
call fcn.004577e4
add esp, 8
test eax, eax
je 0x40b742
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 0x40b6d2
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.004674d2
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 0x40bf80
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 0x40bfe2
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 0x40bff0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47485b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x570c50]
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 0x40c128
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c056
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004674d2
xor eax, eax
jmp 0x40c19f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046765b
push esi
lea ecx, [esp + 0xc]
call fcn.004678ea
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40c17d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.0040bf80
test eax, eax
jne 0x40c17d
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 SysReAllocStringLen
mov ecx, edi
call fcn.0040bf80
test eax, eax
jne 0x40c17d
lea eax, [esp + 0x14]
push 0x569d58
push eax
call fcn.004588c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c15c
lea ecx, [esp + 0x14]
push 0x569d54
push ecx
call fcn.00458840
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c15c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c15f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046760b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c06e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004674d2
xor eax, eax
jmp 0x40c19f
mov byte [esi], 0
push 0x569d50
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.004674d2
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 0x41c7c0
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 0x41c82e
cmp si, 0x69
ja 0x41c82e
add esi, 0xffd0
cmp si, 0x11
je 0x41c7fe
push 0x11
call edi
test ax, ax
jge 0x41c7fe
or esi, 0x2000
cmp si, 0x10
je 0x41c813
push 0x10
call edi
test ax, ax
jge 0x41c813
or esi, 0x4000
cmp si, 0x12
je 0x41c828
push 0x12
call edi
test ax, ax
jge 0x41c828
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41c83b
mov esi, 0xbd
jmp 0x41c7ef
cmp si, 0x6e
jne 0x41c848
mov esi, 0xbe
jmp 0x41c7ef
cmp si, 0x6f
jne 0x41c7e9
mov esi, 0xbf
jmp 0x41c7ef

Function at 0x41dee0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5819f0]
xor edx, edx
cmp eax, edx
jne 0x41df06
xor eax, eax
mov byte [eax + 0x5818f0], al
inc eax
cmp eax, 0x100
jl 0x41deee
mov dword [0x5819f0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5818f0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41df97
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 0x41df6a
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 0x41df38
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41e010
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 0x41e063
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 0x41e04a
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 0x424aa0
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 0x424c38
cmp ebp, ebx
jle 0x424c38
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x424afe
dec eax
or eax, 0xfffffff8
inc eax
je 0x424b05
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x424b14
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x424b1b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00467213
add esp, 4
cmp eax, ebx
je 0x424b3c
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.00467213
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 0x424c2e
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 0x424c15
mov al, byte [edx]
cmp al, 0xc0
jbe 0x424c01
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x424bf6
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 0x424c04
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x424c04
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x424ba0
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 0x424b91
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 0x427c50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x475d28
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 0x427c89
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.0046ece6
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0046ed6e
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.00427d10
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0046edab
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
Function at 0x42c1d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4764b8
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.0042cd50
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 0x42c279
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.0042be60
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.0046df97
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.0043b730
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.0046e009
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14