joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4278e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429288
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x433024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx - 0xc]
mov ecx, dword [edx - 8]
lea esi, [eax + eax + 2]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x427930
xor eax, eax
lea ecx, [ebp + 0x10]
call fcn.00402a91
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edx
mov edx, dword [ecx + 4]
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or edx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
test eax, eax
mov eax, dword [ebp + 0x10]
jne 0x427988
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427971
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4279a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4279c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00421ad0
mov eax, dword [0x433024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0xffe
mov ebx, ecx
push eax
lea ecx, [ebp - 0x1002]
push ecx
mov dword [ebp - 0x1008], 0x800
mov word [ebp - 0x1004], ax
call fcn.00416210
add esp, 0xc
lea edx, [ebp - 0x1008]
push edx
mov edx, dword [esi + 4]
lea eax, [ebp - 0x1004]
push eax
lea ecx, [ebp - 0x100c]
push ecx
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x427a5b
lea eax, [ebp - 0x1004]
push eax
call fcn.00416b1e
add esp, 4
lea ecx, [ebp - 0x1004]
mov ebx, eax
push ecx
mov eax, edi
call fcn.00402b67
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416201
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00416201
mov esp, ebp
pop ebp
ret
Function at 0x427e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b000]
push edi
jmp 0x427e7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427e70
mov eax, 1
add ebx, ebx
jne 0x427e93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427e88
jne 0x427ea4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427e88
xor ecx, ecx
sub eax, 3
jb 0x427eb8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x427f2a
mov ebp, eax
add ebx, ebx
jne 0x427ec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x427ef4
inc ecx
add ebx, ebx
jne 0x427ee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427ed5
jne 0x427ef1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427ed5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x427f14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x427f05
jmp 0x427e76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x427f14
add edi, ecx
jmp 0x427e76
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x427f32
cmp byte [edi], 9
jne 0x427f32
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x427f37
lea edi, [esi + 0x25000]
mov eax, dword [edi]
or eax, eax
je 0x427faf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x30a78]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x30b40]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x427f64
mov ecx, edi
jns 0x427f93
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x30b44]
or eax, eax
je 0x427fa9
mov dword [ebx], eax
add ebx, 4
jmp 0x427f81
call dword [esi + 0x30b54]
mov ebp, dword [esi + 0x30b48]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x427fe3
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x102edaa
Capabilities:
Check if file exists

Disassembly:
push edi
push esi
push ebp
xor edi, edi
xor ebp, ebp
mov eax, dword [esp + 0x14]
or eax, eax
jge 0x102ed44
inc edi
inc ebp
mov edx, dword [esp + 0x10]
neg eax
neg edx
sbb eax, 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x1c]
or eax, eax
jge 0x102ed60
inc edi
mov edx, dword [esp + 0x18]
neg eax
neg edx
sbb eax, 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
or eax, eax
jne 0x102ed8c
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor edx, edx
div ecx
mov ebx, eax
mov eax, dword [esp + 0x10]
div ecx
mov esi, eax
mov eax, ebx
mul dword [esp + 0x18]
mov ecx, eax
mov eax, esi
mul dword [esp + 0x18]
add edx, ecx
jmp 0x102edd3
mov ebx, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shr ebx, 1
rcr ecx, 1
shr edx, 1
rcr eax, 1
or ebx, ebx
jne 0x102ed9a
div ecx
mov esi, eax
mul dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x18]
mul esi
add edx, ecx
jb 0x102edc8
cmp edx, dword [esp + 0x14]
ja 0x102edc8
jb 0x102edd1
cmp eax, dword [esp + 0x10]
jbe 0x102edd1
dec esi
sub eax, dword [esp + 0x18]
sbb edx, dword [esp + 0x1c]
xor ebx, ebx
sub eax, dword [esp + 0x10]
sbb edx, dword [esp + 0x14]
dec ebp
jns 0x102ede5
neg edx
neg eax
sbb edx, 0
mov ecx, edx
mov edx, ebx
mov ebx, ecx
mov ecx, eax
mov eax, esi
dec edi
jne 0x102edf9
neg edx
neg eax
sbb edx, 0
pop ebp
pop esi
pop edi
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 0x40101d
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x40103f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
fninit
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x1bc
call fcn.0047a5e0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4010e0
push ebx
call fcn.004797a6
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00401234
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0x101
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x401121
push 0xa8
push 0x4026980
push 6
call fcn.004797ac
add esp, 0xc
push 0x80000301
push 0
push 8
push reloc.WS2_32.dll_connect
push 0
push 0x4a02b0
push 2
mov ebx, 0x138
call fcn.0047a610
add esp, 0x1c
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00401255
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40116a
push ebx
call fcn.004797a6
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x4f5483], eax
push 0x80000301
push 0
push 0x80
push 0x80000301
push 0
push 8
push 2
mov ebx, 0xc8
call fcn.0047a670
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call fcn.004013bb
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4011c4
push ebx
call fcn.004797a6
add esp, 4
push 0
mov ebx, 4
mov eax, 0x485340
call fcn.0047a540
add esp, 4
mov dword [0x4f5487], eax
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x401209
nop
nop
nop
nop
nop
nop
call fcn.004014bb
mov eax, 0
jmp 0x40121e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40122f
push ebx
call fcn.004797a6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x40a87c
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 4
call fcn.004797b8
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
push ebx
push 0xe
call fcn.004797b8
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4a0ab6
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 6
rep stosb byte es:[edi], al
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x14], ebx
mov eax, 0x4a0aa8
push eax
push eax
mov ebx, eax
call fcn.00401899
pop eax
sub ebx, eax
add ecx, ebx
push ecx
call fcn.004797b8
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
push ebx
call fcn.004797a6
add esp, 4
pop eax
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebp - 0x14], esp
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x12
push 1
mov eax, dword [ebp - 4]
push eax
push 6
call fcn.004797b8
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 6
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40a99c
push 0x74
push 0x4028501
push 6
call fcn.004797ac
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov edi, dword [ebp - 0x1c]
push ebx
push edi
push 1
mov eax, 2
call fcn.0047a4a0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x40a9d3
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40a9d1
imul eax, dword [edi]
jmp 0x40a9c6
mov ecx, eax
cmp ecx, 6
jle 0x40a9dd
mov ecx, 6
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 6
call fcn.004797a6
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x40aa63
mov dword [ebp - 0x14], esp
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push 0
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40aa34
push 0x132
push 0x4028501
push 6
call fcn.004797ac
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40aa63
push 0x15d
push 0x4028501
push 6
call fcn.004797ac
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x40aa6b
push eax
mov ebx, dword [ebp - 4]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004797a6
add esp, 4
pop ebx
call fcn.004797a6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x40de6a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0047b990
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40deb6
push ebx
call fcn.004797a6
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
xor eax, eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40def6
push 0x4f
push 0x40284fc
push 6
call fcn.004797ac
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40df23
push 0x4a0d06
push dword [ebp - 4]
mov ecx, 2
call fcn.004018b9
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
jmp 0x40df2d
mov eax, 0x4a02bb
jmp 0x40df2d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40df3e
push ebx
call fcn.004797a6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41165a
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push htons
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x411678
mov eax, 0x4a063e
push eax
push 1
mov ebx, 0x194
call fcn.0047ab50
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4116a2
mov eax, 0
jmp 0x411716
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x411703
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x4116ec
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x4116db
xor ecx, eax
xor edx, ebx
dec edi
jne 0x4116cc
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4
Function at 0x41a4d0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push 0x1c
call fcn.004797b8
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
jmp 0x41a50f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x1c
push dword [ebp - 4]
push 3
xor eax, eax
call dword [0x4f55df]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41a5bb
push 0x30
push 0x4026987
push 6
call fcn.004797ac
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0xc]
fild qword [ebx]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
mov ebx, dword [ebp - 0x10]
fild qword [ebx]
fstp qword [ebp - 0x20]
fsub qword [ebp - 0x20]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fdiv qword [0x4a1450]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
mov ebx, 0x9dc
call fcn.0047aed0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x41a646
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.004797a6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x41bc96
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push 0
push 0
push 0
push 4
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41bced
push 0x2b
push 0x4026abd
push 6
call fcn.004797ac
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41bd04
mov eax, 0x4a063e
jmp 0x41bd90
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x910
call fcn.0047b390
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41bd41
push ebx
call fcn.004797a6
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41bd71
push 0xf2
push 0x4026abd
push 6
call fcn.004797ac
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x41bd8b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004797b8
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41bd90
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41bda1
push ebx
call fcn.004797a6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x41f5c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41f5ed
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41f5e9
imul eax, dword [ebx]
jmp 0x41f5de
mov ecx, eax
test ecx, ecx
je 0x41f630
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41f60b
push ebx
call fcn.004797a6
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41f61f
push ebx
call fcn.004797a6
add esp, 4
pop ebx
call fcn.004797a6
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41f5f3
call fcn.004797a6
add esp, 4
mov eax, 0x4a063e
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push dword [ebp + 8]
call fcn.0041f693
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0x41fe06
xor eax, eax
call dword [sym.imp.USER32.dll_EnumWindows]
nop
nop
cmp dword [ebp - 8], esp
je 0x41f67e
push 0x31
push 0x402053e
push 6
call fcn.004797ac
add esp, 0xc
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.0040aa8a
jmp 0x41f68d
mov esp, ebp
pop ebp
ret 8

Function at 0x41fbfa
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41fc3d
push 0x19
push 0x40210b0
push 6
call fcn.004797ac
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41fc54
mov eax, 0x4a063e
jmp 0x41fd03
inc dword [ebp - 4]
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x4a0cef]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.0040154e
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.0047a5e0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41fca2
push ebx
call fcn.004797a6
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040d23c
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x41fce4
push 0x136
push 0x40210b0
push 6
call fcn.004797ac
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x41fcfe
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004797b8
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41fd03
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41fd14
push ebx
call fcn.004797a6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4227de
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], esp
push 0
push 1
push str.https:__www.baidu.com
xor eax, eax
call dword [sym.imp.WININET.dll_InternetCheckConnectionA]
nop
nop
cmp dword [ebp - 4], esp
je 0x42281f
push 0x12
push 0x40207c9
push 6
call fcn.004797ac
add esp, 0xc
test eax, eax
je 0x4229ba
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
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]
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
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
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, str.https:__www.baidu.com_
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004229c8
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4228ee
push ebx
call fcn.004797a6
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4228fe
push ebx
call fcn.004797a6
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x42290e
push ebx
call fcn.004797a6
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x42291e
push ebx
call fcn.004797a6
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42292e
push ebx
call fcn.004797a6
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x42293e
push ebx
call fcn.004797a6
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42294e
push ebx
call fcn.004797a6
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42295e
push ebx
call fcn.004797a6
add esp, 4
push 0
push 0
push 0
push htons
push 0
push 0x4a199b
push htons
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x422983
mov eax, 0x4a063e
push eax
push 3
mov ebx, 0x1ac
call fcn.0047bb10
add esp, 0x28
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4229a9
push ebx
call fcn.004797a6
add esp, 4
cmp dword [ebp - 0x40], 0xffffffff
mov eax, 0
setne al
jmp 0x4229c4
mov eax, 0
jmp 0x4229c4
mov esp, ebp
pop ebp
ret
Function at 0x42d67c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
nop
nop
cmp dword [ebp - 4], esp
je 0x42d6b3
push 0x24
push 0x4026b12
push 6
call fcn.004797ac
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
mov eax, 0
setne al
jmp 0x42d6c7
mov esp, ebp
pop ebp
ret 4
Function at 0x42ec43
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x40
call fcn.004797b8
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x40
mov dword [ebp - 8], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
nop
nop
cmp dword [ebp - 8], esp
je 0x42eca4
push 0x2c
push 0x4026ac9
push 6
call fcn.004797ac
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
fild qword [ebx]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fdiv qword [0x4a1e75]
fstp qword [ebp - 0x18]
push 0x80000601
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 1
mov ebx, 0x9dc
call fcn.0047aed0
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.0047b0d0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x42ed03
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.004797a6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret