joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428bf0
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
cmp ebx, esi
je 0x428d52
cmp edi, esi
je 0x428d52
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, edi
mov dword [ebp - 0x48], 0x44434241
mov dword [ebp - 0x44], 0x48474645
mov dword [ebp - 0x40], 0x4c4b4a49
mov dword [ebp - 0x3c], 0x504f4e4d
mov dword [ebp - 0x38], 0x54535251
mov dword [ebp - 0x34], 0x58575655
mov dword [ebp - 0x30], 0x62615a59
mov dword [ebp - 0x2c], 0x66656463
mov dword [ebp - 0x28], 0x6a696867
mov dword [ebp - 0x24], 0x6e6d6c6b
mov dword [ebp - 0x20], 0x7271706f
mov dword [ebp - 0x1c], 0x76757473
mov dword [ebp - 0x18], 0x7a797877
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x2f2b3938
mov dword [ebp - 4], esi
mov ecx, edi
mov dword [ebp - 8], eax
cmp edx, esi
jbe 0x428d42
add edi, 4
jmp 0x428ca3
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x428cb8
mov dword [ebp - 4], 2
jmp 0x428cd9
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x428ccf
mov dword [ebp - 4], 1
jmp 0x428cd9
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x428d52
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx + 1], bl
mov ebx, dword [ebp - 4]
cmp ebx, 1
jbe 0x428d10
mov byte [ecx + 2], 0x3d
jmp 0x428d1d
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x48]
mov byte [ecx + 2], al
add ecx, 3
add edi, 3
test ebx, ebx
je 0x428d2c
mov byte [ecx], 0x3d
jmp 0x428d32
mov dl, byte [ebp + edx - 0x48]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x428ca0
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub ecx, edi
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47a46a
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + 8], edx
push 0x535964c1
xchg dword [esp + 0x24], edi
mov edx, dword [esp + 0xc]
call fcn.0046cb83
not eax
dec eax
bswap eax
jmp 0x581edf
xchg al, dh
pop ebx
invalid
not edx
jne 0x4764b1
pop ss
pushal
loopne 0x47a41b
xchg dword [esi - 0x23aaa177], edx
mov al, byte [0xebab4582]
fucom st(2)
inc edi
push ebp
jg 0x47a500
pop ss
pop ebp
pop ebx
add dword [ebx + 0x64], edx
sbb dword [ebx - 0x39ff13f7], ebp
push ebx
sbb dword fs:[ebx - 0x39ff13f7], ebp
push esi
scasb al, byte es:[edi]
or byte [edi], cl
dec ebx
pop ebx
pushal
xor eax, 0x4faa629b
enter 0x2764, 0xffffffffffffffab
js 0x47a48b
dec esi
sbb ch, byte [ebx + 0x28a86d0e]
movsb byte es:[edi], byte [esi]
test dword [ecx + 0x1018a361], ecx
invalid
mov edx, 0x1c5dbf49
inc ebp
adc ecx, edx
into
or eax, 0x91874973
hlt
inc eax
test esp, 0x1c5f6e28
xor ebx, eax
add esi, eax
push esi
ret
Function at 0x5225bc
Capabilities:
Check for software breakpoints

Disassembly:
xchg dword [esp + edx - 0x8e1], ecx
mov dword [esp + 0x1c], 0x1b9479c0
call fcn.0067e090
and dl, byte [esp + 0x10]
mov dword [esp + 0x1c], edx
and dword [esp + 0x10], 0x9e62b0f
lea ecx, [ecx + edx + 0x350e0319]
and dword [esp + 0x10], edx
add dword [esp + 0x14], 0xff9d9ddf
and dl, byte [esp + 0x11]
movzx edx, dx
not word [esp + 0x10]
jge 0x47f4e5
shld si, bp, 0xb3
test bp, cx
movzx esi, byte [edx]
cmp ebx, edx
test ebx, ecx
xor esi, eax
and esi, 0xff
mov esi, dword [esi*4 + 0x66b2d0]
jmp 0x5ae70c
jmp esi
shr eax, 8
jmp 0x65002e
dec ecx
jne 0x5225f9
pop esi
cmp bx, 0x17ce
cmc
not eax
mov dword [ebp], eax
shld ax, sp, 0xfd
bt ax, 1
movsx eax, bp
mov eax, dword [edi]
test sp, bp
lea edi, [edi + 4]
cmc
stc
test dh, ch
xor eax, ebx
test esp, ecx
stc
bswap eax
test bl, 0x40
add eax, 0x79067065
jmp 0x6887a3
xor eax, 0x77067b16
jmp 0x5e26d2
xor eax, esi
inc edx
jmp 0x5ea61c
neg eax
cmp cl, 0xcc
clc
bswap eax
xor eax, 0x403f3c26
ror eax, 2
cmp esi, edi
xor ebx, eax
add esi, eax
jmp 0x5267ee

Function at 0x573b21
Capabilities:
Authenticate hmac

Disassembly:
push ebp
ret
mov eax, dword [ebp + ebx*4]
cmp cx, si
cmc
test bx, 0x2ec5
push eax
test si, 0x34f6
sub ebx, 1
jmp 0x573b40
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
jl 0x5487fb
cmp si, 0x24d2
bswap esi
lea esi, [esi + esi*2 + 0x293a04c4]
call fcn.004227df
jne 0x49513e
mov eax, dword [ebp]
jmp 0x6cd894
call eax
mov ebp, dword [ebp - 4]
mov dword [ebp], eax
xchg di, di
bt bx, cx
mov edi, ebp
shrd esi, esi, 0x36
pop ebx
pop ebp
btr si, 0x7c
xadd esi, eax
nop
pop esi
bt eax, ecx
sub esi, 4
mov eax, dword [esi]
xor eax, ebx
test esp, edx
sub eax, 0x5d56447d
cmc
ror eax, 1
xor eax, 0x467c660f
neg eax
cmc
xor ebx, eax
jmp 0x6d002a
add ebp, eax
jmp 0x4222a7

Function at 0x5c095a
Capabilities:
Encode data using xor

Disassembly:
jmp esi
xor al, 0xb2
sldt word [edi - 0x40a8dbcc]
xchg dword [esp], esi
push edi
invalid
loope 0x5c0950
mov esi, 0x9e89c52
invalid
cmc
jmp 0x634f49
lea edx, [edx + 0x7d76d0c]
sub word [esp + 0x10], 0x3a1f
cmp word [esp + 0x10], 0x428e
jo 0x42dda9
setg byte [esp + 0x10]
call fcn.0053f5dc
lds edi, [esi + ebx*2 - 0x11b8227a]
pop esi
xchg ch, bl
inc edi
out dx, al
xchg edi, eax
xchg byte [edi - 0x765af720], ah
adc byte [ecx], bl
sub al, 0xc9
js 0x5c09d5
pop ss
daa
rol byte [esi - 0x2fb8b15b], cl
js 0x5c0980
out dx, al
mov dl, 0xca
jbe 0x5c0927
fadd st(1), st(0)
mov es, word [esi + 0x51a57f8e]
jnp 0x5c09e8
mov ebp, dword [edx - 0x7d148924]
cmc
xchg eax, ebx
dec edi
sal dword [eax + 0x57c3c786], 0xe6
xor al, 0x94
or dh, byte [ebp + 0x60]
retf
outsd dx, dword es:[esi]
cli
and al, 0x29
jl 0x5c0a03
test byte [ecx], ch
mov eax, 0xa58d0f44
in al, 0xba
stc
fcmovne st(0), st(0)
adc dword [ebp + 0x4f], eax
xor eax, 0x14561b4
lahf
sub cl, 0xba
push ebp
mov edi, 0xfbba9ede
adc eax, 0xd7ba9292
adc eax, 0xadba90a6
lodsd eax, dword [esi]
add eax, 0xd8456854
mov fs, eax
out 0xba, al
fsubr qword [edx + 0x27]
add al, byte [ebp - 4]
pop ebp
sub al, 0x27
jae 0x5c0a18
invalid
ror eax, 2
sub eax, 0x37a204ae
jmp 0x6c5a10
add esi, eax
jmp 0x486dd6
bswap eax
xor ebx, eax
jmp 0x6bf845
Function at 0x5c24f1
Capabilities:
Encode data using xor

Disassembly:
push ecx
pushfd
mov ecx, 0x797735cc
push ebp
mov ebp, 0x6bac6cce
push edi
xchg dword [esp + ecx - 0x797735b4], edi
call fcn.0055e4ca
cmc
jp 0x5c254d
mov ebx, 0x7cb65d0b
pop es
in al, dx
xor ch, byte [edx]
loope 0x5c2556
add al, 0xc4
sub dword [edi], eax
mov ebp, 0x451cb6bf
and byte [ebx + ebx*4], dh
add al, 0x4d
out 0x51, eax
test eax, 0x245a6810
in al, 0xf9
add esp, dword [edi + 0x28]
into
dec ebp
lodsd eax, dword [esi]
scasb al, byte es:[edi]
or dword [edi - 0x7f], 0xffffff9c
mov ebx, 0x7fefb775
sbb al, 0x76
or ah, byte [esi + 0x7cae4495]
dec edx
mov ch, byte [ebx]
xor ah, cl
jmp 0x78e029f
sub esi, dword [edx]
loope 0x5c253a
dec edx
fnsave dword [ecx]
pop es
push ebx
mov eax, dword [0x9e4504af]
xchg esi, eax
sub eax, 0x81180483
dec eax
test eax, 0x3c43de15
in al, 0x8f
xchg ebp, eax
and bl, byte [edx + edi*4]
sbb al, 0xba
xor byte [ecx - 0x46], 0xec
lea ecx, [ecx]
or ah, bh
add dword [ebp + 0x4a], ebx
jl 0x5c25b5
jo 0x5c25ab
popal
test dword [edi], edi
popfd
les di, [ebx - 0x637ce27]
adc al, 0xec
jp 0x5c256c
pop esi
fld dword [ebx - 0x782b92d2]
add dword fs:[eax], esi
mov dl, 0xe4
das
lahf
dec dword [edx - 0x40]
xor al, 0x2c
fdiv qword [0x4653effe]
salc
dec esp
push ebx
mov al, byte [0x4e13d7c3]
mov al, byte [0xbb91b30d]
fnstenv [ecx]
xlatb
adc ecx, dword [esi - 0x60]
or eax, 0xd9bb91b3
xor eax, ecx
iretd
enter 0xffffffffffffb5cf, 0x11
das
scasb al, byte es:[edi]
pushfd
adc al, 0x6c
pop esi
dec esi
push ds
cmp byte [esi + 0x105dfd25], ch
invalid

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

Disassembly:
neg si
add dword [esp + 0xc], 0xffa2935d
mov ecx, dword [esp + 0x1c]
and ecx, esi
jl fcn.004b7b1d
cmove ecx, dword [esp + 0x1c]
jle 0x6cbeb8
mov ecx, dword [esp + 4]
not word [esp + 0x1c]
lea esi, [esi + 0x4b27ace]
js 0x514a7e
test esi, 0xb1e05e1
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1c], 0x4ca00cd0
call fcn.004f0096
setb byte [esp + 0x1c]
mov ebx, dword [esp + 0x18]
add esi, dword [esp + 0x1c]
jno 0x4d2be9

Function at 0x60848a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
and byte [0xefc427b2], dl
mov eax, dword [0x75c697ac]
scasb al, byte es:[edi]
mov word [ebp - 0x38716ffc], ds
add dword [ecx], edx
mov dh, cl
out 0x47, eax
call 0x242809ac
call 0xd2a7b637
clc
cmc
and dword [ecx + 0x35], esp
adc byte es:[esp + eax*8 - 0x6e], al
cmp byte [edx - 0x30f17e63], cl
out dx, eax
nop
inc ebp
sbb dword [eax], eax
nop
cmpsb byte ds:[esi], byte es:[edi]
invalid
call fcn.0062f176
jno 0x608420
inc esi
pushfd
pop edi
cld
mov bh, byte [ebx + edx - 0x68]
xchg ebx, eax
push ss
loope 0x6084d6
mov eax, 0x1071565
add edx, dword [edi]
and byte [ebp + 0xf], al
mov esp, 0x1104a795
sbb esi, eax
add ch, byte [ecx + 0x18fb4cbf]
in al, 0xcd
pop edi
invalid
jl 0x6084e5
pop es
fbld tbyte [0x9a45380e]
push edx
invalid
jmp 0x626a2e04
Function at 0x6593e6
Capabilities:
Encode data using xor

Disassembly:
neg dword [esp + 8]
not byte [esp + 8]
mov dword [esp + 8], ebx
add dword [esp], 0x21d723
add byte [ebx], ah
xlatb
and dword [eax], eax
push ebp
nop
mov ebp, 0x6c11550d
push ecx
mov ebx, 0x7286787b
xor ebp, 0x26636577
call fcn.00561be7
out dx, al
jns 0x6593f5
invalid

Function at 0x684adf
Capabilities:
Encode data using xor

Disassembly:
mov ebp, dword [esp + 0x38]
lea ebx, [ebx*2 + 0x9cb275a]
call fcn.0063d498
adc byte [edi - 0xe], cl
mov al, byte [esi - 0x2a]
xor al, 0x5f
sti
sub ecx, dword [ecx + 0x51]
cli
push esi
std
pop edx
loopne 0x684b1d
ja 0x684b71
in al, dx
xor dword [ebx - 0x1d], esp
scasb al, byte es:[edi]
inc edi
mov al, 0x7c
jp 0x684aca
mov cl, 0x48
dec ecx
mov ecx, 0x90f5b21c
cmp eax, dword [edx + ebp*2 - 0x7d]
sub esi, esi
sub esi, esi
push ds
out 0xd4, eax
invalid
add byte [ebx], cl
inc esp
fmul qword [esi]
sbb dword [edx], ecx
test al, 0x75
xchg byte [ecx], dh
loope 0x684bf4
insd dword es:[edi], dx
sti
invalid
sub al, 0xce
loope 0x684c12
insd dword es:[edi], dx
sti
pop es
xchg esi, eax
xchg ecx, eax
jo 0x684ba0
pop ds
iretd
xor ebp, dword [eax + 0x78]
mov dword [0xe1aa2b41], eax
adc al, 0x27
js 0x684b99
inc ecx
sub ebp, dword [edx + 0x271466e1]
loop 0x684bf2
cwde
jbe 0x684c16
mov eax, dword [0x205255d4]
push ecx
mov edi, 0x854785
xor al, 0x35
int3
mov eax, 0xbad4a716
lodsb al, byte [esi]
adc edx, dword [edi]
and al, 0x96
mov edx, 0x241713ac
xchg esi, eax
pushal
enter 0xffffffffffffad5e, 0xffffffffffffff95
retf

Function at 0x6dbeff
Capabilities:
Encode data using xor

Disassembly:
or dword [esp + 0x18], 0x2c846e8c
and word [esp + 0x10], 0x7a7
add dword [esp], 0xfff6755a
mov edi, 0x4f73237f
jae 0x46c5a7
add word [esp + 0x10], di
push ecx
mov edi, dword [esp + 4]
mov edi, dword [edi]
mov ecx, dword [esp + 0x14]
cmovg cx, word [esp + 0x1c]
xor ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
neg dword [esp + 4]
lea edi, [edi + ecx*2 - 0xefcfab5]
call fcn.005cba6a
js 0x46c556
pushal
jne 0x46c5b2
mov ebp, 0xd93a7cac
sal byte [eax], cl
loope 0x46c5df
push ecx
and al, 0x33
pop es
dec eax
mov edx, 0x96450656
adc eax, 0xfb0481d4
adc dh, byte [ecx + 0x75d6a924]
mov edx, 0x4e84e43e
test eax, 0x3eba75d6
in al, 0x84
dec esi
xchg dword [edx], esi
into
mov bl, 0x48
dec esi
cdq
dec edi
pop es
leave
pop ebx
outsd dx, dword [esi]
mov bh, 0x29
adc bh, ah
insb byte es:[edi], dx
or cl, byte [ebx]
cwde
movsb byte es:[edi], byte [esi]
mov ah, 0x7c
xlatb
invalid
jo 0x46c5f4
mov dword [0x1ac2e426], eax
push ds
or cl, byte [edx - 0x55]
fcomp dword [ecx + 0x7d]
jnp 0x46c5f5
inc ebp
out dx, al
das
push ss
add ah, dl
aam 0xb5
dec edx
mov ch, 0x4a
cld
adc ch, ch
aaa
invalid
or cl, al
mov word [edi + 4], cx
pushfd
rol al, 2
not ax
movzx eax, bx
pop dword [edi]
rcr eax, cl
sub esi, 4
adc ax, bx
sbb ax, bp
mov eax, dword [esi]
xor eax, ebx
clc
not eax
ror eax, 2
clc
cmp esp, edi
bswap eax
neg eax
jae 0x46c53c
movzx cx, byte [edi]
mov al, byte [edi + 2]
test di, 0x2753
lea edi, [edi - 2]
test ax, 0x2789
clc
not cl
cmp ax, dx
not al
jmp 0x4f003b
Function at 0x4011f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401209
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401244
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401240
lea ebx, [ebx]
cmp esi, eax
jae 0x401244
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401230
cmp esi, eax
jb 0x40124a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x404010
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x20]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x18], 4
mov dword [esp + 0x20], 4
mov dword [esp + 0x1c], 0
mov dword [ebx], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x404066
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop ebx
add esp, 0xc
ret 0x10
push esi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x24]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 8], 4
je 0x4040b3
push 0x44cef4
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 1
call fcn.00429d9e
test esi, esi
je 0x4040c8
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
xor al, al
pop ebx
add esp, 0xc
ret 0x10
mov ecx, dword [esp + 0xc]
pop esi
mov dword [ebx], ecx
mov al, 1
pop ebx
add esp, 0xc
ret 0x10
Function at 0x4040e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
test esi, esi
jne 0x404116
push 0x44cef4
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], 4
call fcn.00429d9e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push 0x20019
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x404147
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor al, al
pop esi
add esp, 8
ret 0x14
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x28]
push esi
lea eax, [esp + 0x14]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xc], 1
mov ecx, dword [esp + 8]
mov dword [edi], ecx
je 0x404195
push 0x44cef4
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], 1
call fcn.00429d9e
test esi, esi
je 0x4041aa
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor al, al
pop esi
add esp, 8
ret 0x14
pop edi
mov al, 1
pop esi
add esp, 8
ret 0x14
Function at 0x406190
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x404
mov eax, dword [0x1054920]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push edi
push 0
push 0x3ea
mov esi, ecx
call fcn.0040f9e6
mov ecx, eax
call fcn.0040fbb4
push 0x400
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004292c0
push str.LIST
lea ecx, [esp + 0x18]
push str._s_t_n
push ecx
call fcn.004291e8
mov eax, dword [esi + 0x960]
add esp, 0x18
push 0
push 0x400
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x40621e
mov ecx, dword [esi + 0x960]
push ecx
call edi
push 0
push 0
push 0x442a24
call fcn.00408ba1
mov eax, dword [esi + 0x960]
push 0
push 0x898
lea edx, [esi + 0xc8]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x4062d2
xor ecx, ecx
lea eax, [esi + 0xf4]
lea ebx, [ebx]
cmp dword [eax - 0x2c], 0
je 0x4062c3
cmp dword [eax], 0
je 0x40628c
cmp dword [eax + 0x2c], 0
je 0x40629c
cmp dword [eax + 0x58], 0
je 0x4062ae
cmp dword [eax + 0x84], 0
je 0x4062c0
add ecx, 5
add eax, 0xdc
cmp ecx, 0x32
jl 0x406250
mov dword [esi + 0x9a0], ecx
mov ecx, esi
call fcn.00405ff0
jmp 0x4062e9
inc ecx
mov dword [esi + 0x9a0], ecx
mov ecx, esi
call fcn.00405ff0
jmp 0x4062e9
add ecx, 2
mov dword [esi + 0x9a0], ecx
mov ecx, esi
call fcn.00405ff0
jmp 0x4062e9
add ecx, 3
mov dword [esi + 0x9a0], ecx
mov ecx, esi
call fcn.00405ff0
jmp 0x4062e9
add ecx, 4
mov dword [esi + 0x9a0], ecx
mov ecx, esi
call fcn.00405ff0
jmp 0x4062e9
mov ecx, dword [esi + 0x960]
push ecx
call edi
push 0
push 0
push 0x442a24
call fcn.00408ba1
push 1
push 0x3ea
mov ecx, esi
call fcn.0040f9e6
mov ecx, eax
call fcn.0040fbb4
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004292a4
add esp, 0x404
ret
jmp 0x406190
Function at 0x406330
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x404
mov eax, dword [0x1054920]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push edi
push 0
push 0x3ea
mov esi, ecx
call fcn.0040f9e6
mov ecx, eax
call fcn.0040fbb4
push 0x400
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004292c0
push str.LIST
lea ecx, [esp + 0x18]
push str._s_t_n
push ecx
call fcn.004291e8
mov eax, dword [esi + 0x960]
add esp, 0x18
push 0
push 0x400
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x40621e
mov ecx, dword [esi + 0x960]
push ecx
call edi
push 0
push 0
push 0x442a24
call fcn.00408ba1
mov eax, dword [esi + 0x960]
push 0
push 0x898
lea edx, [esi + 0xc8]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x4062d2
xor ecx, ecx
lea eax, [esi + 0xf4]
lea ebx, [ebx]
cmp dword [eax - 0x2c], 0
je 0x4062c3
cmp dword [eax], 0
je 0x40628c
cmp dword [eax + 0x2c], 0
je 0x40629c
cmp dword [eax + 0x58], 0
je 0x4062ae
cmp dword [eax + 0x84], 0
je 0x4062c0
add ecx, 5
add eax, 0xdc
cmp ecx, 0x32
jl 0x406250
mov dword [esi + 0x9a0], ecx
mov ecx, esi
call fcn.00405ff0
jmp 0x4062e9
inc ecx
mov dword [esi + 0x9a0], ecx
mov ecx, esi
call fcn.00405ff0
jmp 0x4062e9
add ecx, 2
mov dword [esi + 0x9a0], ecx
mov ecx, esi
call fcn.00405ff0
jmp 0x4062e9
add ecx, 3
mov dword [esi + 0x9a0], ecx
mov ecx, esi
call fcn.00405ff0
jmp 0x4062e9
add ecx, 4
mov dword [esi + 0x9a0], ecx
mov ecx, esi
call fcn.00405ff0
jmp 0x4062e9
mov ecx, dword [esi + 0x960]
push ecx
call edi
push 0
push 0
push 0x442a24
call fcn.00408ba1
push 1
push 0x3ea
mov ecx, esi
call fcn.0040f9e6
mov ecx, eax
call fcn.0040fbb4
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004292a4
add esp, 0x404
ret
jmp 0x406190

Function at 0x40eaeb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40eb32
call fcn.004186e9
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40eb32
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40eb4e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040e665
mov esi, eax
test edi, edi
je 0x40eb4c
test ebx, ebx
je 0x40eb4c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x410131
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4401b8
call fcn.0042ac3c
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x410156
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41019c
lea ecx, [ebp - 0x10]
call fcn.004017f0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00408d26
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004012a0
mov eax, esi
call fcn.0042ad14
ret 8

Function at 0x411687
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4116ab
cmp dword [edi + 0x54], 0
jne 0x4116ab
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004186e9
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
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00411648
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41638d
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x4163b8
call fcn.004186e9
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x4163db
push eax
push dword [esi + 4]
call fcn.00416313
push esi
push eax
mov ecx, 0x1057b64
call fcn.00415fc7
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x4173a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4173f0
call fcn.004186e9
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4173f0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x417433
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41741c
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41741c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x417430
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4292a4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1054920]
jne 0x4292ae
repz ret
jmp fcn.004309c8