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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x523d5b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x523d7f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x523d9a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x528788
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x5287aa
cmp dword [edi + 0x3c], 0
jne 0x5287aa
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.005443fb
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.005287d7
pop edi
pop esi
pop ebx
ret 8

Function at 0x52a46d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x52a4a5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005284c6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0052849e
jmp 0x52a4b1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x52bf1c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x52bf5e
call fcn.005443fb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x52bf5e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x52bf55
xor eax, eax
jmp 0x52bf66
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0052bf6c
pop edi
pop esi
pop ebx
ret 4
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x7d8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.007d81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x7d807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d806a
add dl, dl
jne 0x7d8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d80dc
xor eax, eax
add dl, dl
jne 0x7d8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d817d
add dl, dl
jne 0x7d80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7d80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x7d8075
mov eax, 1
add dl, dl
jne 0x7d80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d80e1
sub eax, ebx
mov ebx, 1
jne 0x7d8128
mov ecx, 1
add dl, dl
jne 0x7d810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7d8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7d813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7d814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d8136
cmp eax, 0x7d00
jae 0x7d816d
cmp eax, 0x500
jb 0x7d8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
cmp eax, 0x7f
ja 0x7d8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x7d819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x7d8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0xabd246
Capabilities:
Execute anti-debugging instructions

Disassembly:
bts ecx, ebx
btr si, bx
xchg si, bp
jmp 0xabe41a
pop dword [esp]
xchg byte [esp], al
lea eax, [ebp + ebp]
mov ebx, esp
mov di, ax
cld
jmp 0xabd2e7
lea esp, [esp + 0x11]
xchg dword [esp + 4], eax
add dh, cl
xchg di, cx
mov edi, dword [esp + 5]
std
jmp 0xabd289
add esp, 1
not di
mov esi, dword [esp]
call fcn.00abd30e
fistp word [eax - 0x32]
test eax, 0x24353258
bswap esi
btc bp, ax
bts cx, dx
rdtsc
rdtsc
shr ax, 0xb
jmp 0xabd2b7
pop bx
mov byte [esp], bh
lea eax, [eax + ebx]
cpuid
neg bp
mov al, bl
jmp 0xabd2cd
xchg dword [esp], edi
btc ebp, esi
stc
bt eax, esp
clc
bswap ebp
jmp 0xabd2a3
mov byte [esp + 0xb], dh
lea esp, [esp]
push ebp
rdtsc
clc
std
jmp 0xabd370

Function at 0xabd30e
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dx, si
push dword [esp + 5]
mov ecx, 0x372c115f
jmp 0xabd32f
mov al, byte [esp + 3]
rcl edx, 0x1c
cpuid
jmp 0xabd2f8
mov ax, di
pushfd
bsr ax, ax
mov word [esp + 5], di
jmp 0xabd349
mov word [esp + 2], si
pop word [esp]
xchg si, cx
mov bp, word [esp + 4]
mov eax, dword [esp + 5]
pop dword [esp]
jmp 0xabd319
bts ax, ax
neg cx
mov byte [esp + 5], ah
add esp, 7
mov ebx, 0x853fb59
cpuid
jmp 0xabdbbf
rdtsc
rdtsc
bswap edx
mov dx, word [esp]
sub esp, 0x12
call fcn.00abd448
pop esi
setp bl
bswap ebx
rcl si, 6
cld
clc
jmp 0xabdbf7
lea edi, [ecx*4]
mov ecx, edi
pop word [esp + 3]
lea edi, reloc.oleaut32.dll_SysFreeString
xchg bx, cx
mov esi, dword [esp + 0x1b]
jmp 0xabdc4b
xchg dword [esp + 0x19], eax
sub esp, 9
lea ecx, [ebp*4]
jmp 0xabdcc2
pop dword [esp + 0x1c]
bsf edi, esi
mov cx, word [esp + 0x10]
mov si, word [esp + 0xd]
mov word [esp + 0x10], si
cld
jmp 0xabdc35
neg edx
call fcn.00abdcaa
nop
push ss
test bl, ah
push ds
push ecx
add cl, byte [ebx - 0x1e7281e5]
scasb al, byte es:[edi]
mov ecx, 0x8bd38b98
fisub word [esi - 0x75]
retf 0xdff6
mov edx, ebx
mov ebx, esi
mov cx, dx
neg bh
bt eax, ecx
xchg bp, dx
jmp 0xabdc83
lea esp, [esp + 5]
mov ah, byte [esp + 0x12]
cld
shl dh, cl
rol ebp, 0xb
shl ax, 6
jmp 0xabdc99

Function at 0xabd486
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [esp + 0x1c], si
lea esi, [eax + ebx]
cpuid
mov ax, si
jmp 0xabd4a5
Function at 0xabd97b
Capabilities:
Execute anti-debugging instructions

Disassembly:
std
mov bh, al
jmp 0xabda3d
mov dx, 0x33f2
rdtsc
xchg edi, edx
bswap ebp
xchg di, dx
mov esi, eax
jmp 0xabd9e9
xor al, 0xbf
pop bp
setge bl
mov di, word [esp]
clc
mov dh, bl
jmp 0xabd9c3
sub esp, 0x19
mov ax, bx
lea ebp, [ebp*4]
pop edx
mov bp, word [esp + 8]
xchg word [esp + 2], bp
jmp 0xabda22
xchg word [esp + 1], cx
lea edi, [ebp*4]
mov esi, edi
mov byte [esp + 4], ah
mov edi, dword [esp + 8]
add esp, 8
jmp 0xabd9d9
cpuid
not cx
lea edi, [esp + ebx]
xchg byte [esp + 0x11], cl
mov di, cx
mov word [esp + 7], bx
jmp 0xabda50
rdtsc
mov edi, ebx
btc bx, si
setae al
std
mov bx, word [esp + 7]
jmp 0xabda07
shr ch, cl
cpuid
cpuid
mov bl, byte [esp + 3]
mov bx, word [esp + 0x12]
bsr ebp, edi
jmp 0xabdaab
xchg word [esp + 3], ax
neg esi
rdtsc
lea ebp, [eax + esi]
push word [esp + 0xb]
jmp 0xabda95
pop dword [esp + 2]
xchg byte [esp + 3], al
xchg dx, ax
bsf ebx, ebx
call fcn.00abdac2
pop ss
jle 0xabdaf3
call 0x25006415
add eax, 0x24448766
or ah, byte [esi - 0x75]
out dx, eax
mov word [esp + 5], dx
xchg word [esp + 0xa], ax
mov bp, di
pop dx
bswap eax
mov si, 0x3113
jmp 0xabda64
add byte [eax], al

Function at 0xabdb34
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop edi
rdtsc
mov di, bx
jmp 0xabdb6f
mov dh, bh
lea esp, [esp + 2]
xchg si, ax
mov cx, word [esp]
xchg cx, si
mov ebp, dword [esp]
jmp 0xabdb59

Function at 0xabe0a9
Capabilities:
Execute anti-debugging instructions

Disassembly:
stc
neg dl
mov byte [esp + 1], ch
mov dl, 0x2e
mov word [esp + 0x10], ax
jmp 0xabe0ca
xchg byte [esp], cl
stc
jmp 0xabe093
mov word [esp + 0x23], bp
pop word [esp + 0x23]
popal
lea eax, [ebx + ebp]
rdtsc
mov si, word [esp + 1]
jmp 0xabe0df
mov word [esp + 2], cx
pop bp
pushal
pop word [esp + 0x1e]
xchg byte [esp + 0x21], dl
add al, dh
jmp 0xabe0af
mov byte [esp + 7], cl
lea ecx, [edi*4]
pop word [esp + 0xb]
jmp 0xabe123
clc
xchg word [esp + 2], si
pop edi
mov dword [esp], eax
setnp ah
not si
jmp 0xabe2a0
lea ecx, [esi*4]
lea esp, [esp + 5]
lea edi, [ebp*4]
xchg byte [esp + 7], ch
rdtsc
mov dword [esp + 3], eax
jmp 0xabe10d
mov cx, 0x850a
mov eax, 0x7ad0c288
mov esi, dword [esp]
call fcn.00abe160
fist dword [edi - 0x39]
mov byte [0x8d4ad851], al
and al, 1
lea esp, [esp + 1]
xchg dword [esp], edx
mov word [esp], sp
mov dx, word [esp + 3]
lea eax, [ecx + esi]
mov bl, 0x55
jmp 0xabe176
sub bx, 0xd675
setns ch
bt eax, edx
lea ebp, [eax - 0x71]
sub esp, 0
xchg dword [esp], edx
jmp 0xabe18e

Function at 0xabe308
Capabilities:
Access peb ldr_data

Disassembly:
call fcn.00abd0d9
push dword [esp + 0x12]
lea esp, [esp + 1]
mov dword [esp + 0x4c], edi
lea esp, [esp + 0x4c]
jmp 0xabe30f
lea esp, [esp + 3]
pushal
jmp 0xabe2f2
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
push ebx
jmp 0xabe31f
mov ebx, eax
lea ebx, [ebx + 0x1c]
mov eax, dword [ebx]
pop ebx
jmp 0xabe3c8
mov word [esp], cx
lea esp, [esp + 2]
jmp 0xabd0d4
mov eax, dword [eax + 8]
push edi
mov dword [esp], eax
push sp
jmp 0xabe35f
push ebx
mov ebx, eax
mov eax, dword [ebx]
pop ebx
jmp 0xabe378
Function at 0xabe3a8
Capabilities:
Parse pe header

Disassembly:
push eax
jmp fcn.00ab90fc
add ebx, eax
lea esp, [esp + 0x24]
cmp word [ebx], 0x4550
jmp 0xabe3d0
je 0xab8820
jne 0xabe3ec
inc ecx
leave
pop ecx
cmp bl, cl
dec esi
loope 0xabe44a
clc
lahf
push 0xffffffffffffffed
or esp, dword [edx - reloc.oleaut32.dll_SysFreeString]
invalid
cli
push 0x5d90fa0f
fisttp word [edi + 0x2a]
fstpnce st(4), st(0)
mov ch, 0x30
cmpsb byte [esi], byte es:[edi]
sal dword [eax], 0x49
movsd dword es:[edi], dword [esi]
sub eax, 0xb237c4bd
mov ch, 0x3e
lodsb al, byte [esi]
retf
Function at 0x42f13f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x42f214
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x42f214
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x42f214
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x42f19a
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x42f214
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x42f1df
test dl, dl
je 0x42f1db
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x42f1df
add ecx, 2
add eax, 2
test dl, dl
jne 0x42f1bf
xor eax, eax
jmp 0x42f1e4
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42f1f6
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x42f201
inc esi
cmp esi, ebp
jae 0x42f214
mov edx, dword [esp + 0x10]
jmp 0x42f1b5
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x42f478
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x42f483
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x42f497
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x42f49b
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x42f4d4
cmp dword [edi + ecx], 0x4550
jne 0x42f4d4
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x42f4d4
test byte [edi + ecx + 0x16], 2
je 0x42f4d4
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x42f4d9
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x42f515
xor eax, eax
jmp 0x42f4f8
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x42f51e
inc edx
movzx eax, dx
cmp eax, edi
jl 0x42f4f8
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x42f524
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x42f55c
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x42f56a
add edx, 0x20
cmp eax, edx
jne 0x42f57b
test bx, bx
je 0x42f5b0
add esi, 2
add edi, 2
jmp 0x42f54c
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x42f589
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x42f597
add edx, 0x20
sub ecx, edx
je 0x42f5b0
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x42f545
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x430029
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x4300ea
test ecx, ecx
je 0x4300ea
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x4300ea
test ebx, ebx
je 0x4300ea
mov ebx, eax
add ebx, edx
je 0x4300ea
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x4300ea
cmp dword [edx + eax + 0x14], 0
je 0x4300ea
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x4300ea
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4300da
test dl, dl
je 0x4300d6
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4300da
add edi, 2
add esi, 2
test dl, dl
jne 0x4300ba
xor eax, eax
jmp 0x4300df
sbb eax, eax
or eax, 1
test eax, eax
je 0x4300f6
inc ebp
cmp ebp, dword [esp + 4]
jb 0x4300a7
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x44ea83
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 8
call fcn.004e185d
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
push 1
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 1
mov eax, str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_50.0.2661.87_Safari_537.36
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
push 2
push dword [ebp + 8]
call fcn.00448d5f
mov ebx, eax
test ebx, ebx
je 0x44eb95
push ebx
call fcn.004e1857
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x44eba5
push ebx
call fcn.004e1857
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x44ebb5
push ebx
call fcn.004e1857
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x44ebc5
push ebx
call fcn.004e1857
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x44ebd5
push ebx
call fcn.004e1857
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x44ebe5
push ebx
call fcn.004e1857
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x44ebf5
push ebx
call fcn.004e1857
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x44ec05
push ebx
call fcn.004e1857
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x44ec15
push ebx
call fcn.004e1857
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4e6ba0
call fcn.004e1869
add esp, 0x10
call fcn.004e1857
add esp, 4
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, 0x5eb952
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, str.Location:
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0044bec6
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x44ec84
push ebx
call fcn.004e1857
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x44ec94
push ebx
call fcn.004e1857
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x44ec9c
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x44ecad
push ebx
call fcn.004e1857
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4f14a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5d833b
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.005cc669
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4f1522
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005ca215
mov eax, dword [eax]
push 0x7aed54
push eax
call fcn.005b7b04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005cc8f4
test bl, bl
je 0x4f1522
push 0x7aed54
lea ecx, [esp + 0xc]
call fcn.005ccc84
push 0x7aed60
lea ecx, [esp + 0xc]
call fcn.005ccc84
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 0x4f155e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005cc8f4
jmp 0x4f1629
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 0x4f15e2
lea edx, [esp + 0x7c]
push 0x7aed5c
push edx
call fcn.005b7b04
add esp, 8
test eax, eax
je 0x4f15e2
lea eax, [esp + 0x7c]
push 0x7aed58
push eax
call fcn.005b7b04
add esp, 8
test eax, eax
je 0x4f15e2
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 0x4f1572
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.005cc8f4
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 0x4f1e20
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 0x4f1e82
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