joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40342d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x403472
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x403478
add eax, 4
pop esi
dec esi
push esi
jne 0x40345a
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8
Function at 0x4050f5
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x405133
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 ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4051ad
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00446baf
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4051be
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov dword [ebp - 4], eax
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4051d5
mov eax, 0x4798e6
push eax
push 1
mov ebx, 0x194
call fcn.00447950
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.00405367
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 1
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.004053df
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x405252
push 0x16b
push 0x40268e1
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0xa0000101
push 0
push 0x4824b6
push 3
mov ebx, 0x914
call fcn.00448c10
add esp, 0x28
push dword [ebp - 8]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4052d1
push 0xa7e
push 0x40268e1
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x405307
push 0xaaa
push 0x40268e1
push 6
call fcn.00446bbb
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x405321
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00446baf
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40534f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405360
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x40725b
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 [0x4baf34]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40729e
push 0x19
push 0x40268bb
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.00447b00
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4072d4
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x4798f6]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], esp
fld qword [ebp - 0x18]
call fcn.00401b87
push eax
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x407322
push 0x88
push 0x40268bb
push 6
call fcn.00446bbb
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x40733e
push eax
mov ebx, eax
call fcn.00401bae
inc eax
push eax
call fcn.00446baf
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x407343
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407354
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x40a232
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 0x40a250
mov eax, 0x4798e6
push eax
push 1
mov ebx, 0x194
call fcn.00447950
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40a27a
mov eax, 0
jmp 0x40a2ee
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x40a2db
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 0x40a2c4
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40a2b3
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40a2a4
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 0x412bf1
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x40
call fcn.00446baf
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 0x412c52
push 0x2c
push 0x40269c8
push 6
call fcn.00446bbb
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 [0x482bc5]
fstp qword [ebp - 0x18]
push 0x80000601
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 1
mov ebx, 0x9dc
call fcn.00449280
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x412cb1
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x417782
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x4177c0
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 ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x41783a
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00446baf
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41784b
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov dword [ebp - 4], eax
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x417862
mov eax, 0x4798e6
push eax
push 1
mov ebx, 0x194
call fcn.00447950
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.00405367
mov dword [ebp - 0xc], eax
push 1
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.004053df
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4178d1
push 0x16a
push 0x40268e0
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0xa0000101
push 0
push 0x482ced
push 3
mov ebx, 0x914
call fcn.00448c10
add esp, 0x28
push dword [ebp - 8]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x417950
push 0xbca
push 0x40268e0
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x417986
push 0xbf6
push 0x40268e0
push 6
call fcn.00446bbb
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x4179a0
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00446baf
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4179ce
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4179df
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x417d76
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jmp 0x417d8b
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 ebx
mov ebx, 1
mov ebx, 2
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 5
pop ebx
push edx
push ecx
push esi
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, ds:[esi*4]
mov ecx, dword [eax + ecx]
xor ecx, 0x45086dc5
xor ecx, 0x454cde20
xor ecx, 0x795e268c
xor ecx, 0x685825d6
xor ecx, 0x1ea711e9
xor ecx, 0xbb7c42d
xor ecx, 0x7a3a480
xor ecx, 0x7911e511
xor ecx, 0x18fc17b6
xor ecx, 0x6ea78f4
xor ecx, 0x8f5b7ff
xor ecx, 0x76af069
xor ecx, 0x3c98b36f
xor ecx, 0x75678915
xor ecx, 0x71e7c0e4
xor ecx, 0x3f77b1d9
xor ecx, 0x603308dc
xor ecx, 0xdbffab9
xor ecx, 0x10d7ea8c
xor ecx, 0x683f1d00
xor ecx, 0x307839b7
xor ecx, 0x75d9ca81
xor ecx, 0x4f4c80b1
xor ecx, 0x1efc2d1
xor ecx, 0x4f6691f4
xor ecx, 0x22bc77e5
xor ecx, 0x79198779
xor ecx, 0x890f598
xor ecx, 0x4eff88d8
nop
nop
nop
nop
nop
nop
lea edx, ds:[esi*4]
mov dword [eax + edx], ecx
add esi, 1
cmp esi, dword [ebp + 0xc]
jne 0x417df1
pop esi
pop ecx
pop edx
nop
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x417ef4
mov esp, ebp
pop ebp
ret 8
Function at 0x41a112
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 0x41a169
push 0x2b
push 0x40269bc
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41a180
mov eax, 0x4798e6
jmp 0x41a20c
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x910
call fcn.00449d40
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41a1bd
push ebx
call fcn.00446bb5
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 0x41a1ed
push 0xf2
push 0x40269bc
push 6
call fcn.00446bbb
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x41a207
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00446baf
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41a20c
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41a21d
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8

Function at 0x41adc4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jmp 0x41add9
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 ebx
mov ebx, 1
mov ebx, 2
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 5
pop ebx
push edx
push ecx
push esi
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, ds:[esi*4]
mov ecx, dword [eax + ecx]
xor ecx, 0x2ba8fc02
xor ecx, 0x65856573
xor ecx, 0x2e318569
xor ecx, 0x1e26798c
xor ecx, 0xb610755
xor ecx, 0x3a4eb1d2
xor ecx, 0x34d9713b
xor ecx, 0x6c14c37f
xor ecx, 0x79c049a5
xor ecx, 0x12d82563
xor ecx, 0x452f3db2
xor ecx, 0x64e3e5f6
xor ecx, 0x35a4cd39
xor ecx, 0x7e0e8312
xor ecx, 0x4451c9ff
xor ecx, 0x73e30280
xor ecx, 0x270fef7e
xor ecx, 0x5ab343ee
xor ecx, 0x9031876
xor ecx, 0x7d82f3d6
xor ecx, 0x3e851cb0
xor ecx, 0x10ac089c
xor ecx, 0x3939029f
xor ecx, 0x7fab6f25
xor ecx, 0x1010978f
xor ecx, 0x4eff88d8
xor ecx, 0x890f598
xor ecx, 0x79198779
xor ecx, 0x22bc77e5
nop
nop
nop
nop
nop
nop
lea edx, ds:[esi*4]
mov dword [eax + edx], ecx
add esi, 1
cmp esi, dword [ebp + 0xc]
jne 0x41ae3f
pop esi
pop ecx
pop edx
nop
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x41af42
mov esp, ebp
pop ebp
ret 8
Function at 0x41e5fd
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push esi
xor ecx, ecx
xor esi, esi
xor edx, edx
push edi
mov dword [esp + 0xc], 0x7f7f7f7f
mov dword [esp + 0x10], 0x7f7f7f7f
mov dword [esp + 0x14], 0x7f7f7f7f
mov dword [esp + 0x18], 0x7f7f7f7f
mov dword [esp + 0x1c], 0x7f7f7f7f
mov dword [esp + 0x20], 0x7f7f7f7f
mov dword [esp + 0x24], 0x7f7f7f7f
mov dword [esp + 0x28], 0x7f7f7f7f
mov dword [esp + 0x2c], 0x7f7f7f7f
mov dword [esp + 0x30], 0x7f7f7f7f
mov dword [esp + 0x34], 0x3e7f7f7f
mov dword [esp + 0x38], 0x3f7f7f7f
mov dword [esp + 0x3c], 0x37363534
mov dword [esp + 0x40], 0x3b3a3938
mov dword [esp + 0x44], 0x7f7f3d3c
mov dword [esp + 0x48], 0x7f7f407f
mov dword [esp + 0x4c], 0x201007f
mov dword [esp + 0x50], 0x6050403
mov dword [esp + 0x54], 0xa090807
mov dword [esp + 0x58], 0xe0d0c0b
mov dword [esp + 0x5c], 0x1211100f
mov dword [esp + 0x60], 0x16151413
mov dword [esp + 0x64], 0x7f191817
mov dword [esp + 0x68], 0x7f7f7f7f
mov dword [esp + 0x6c], 0x1c1b1a7f
mov dword [esp + 0x70], 0x201f1e1d
mov dword [esp + 0x74], 0x24232221
mov dword [esp + 0x78], 0x28272625
mov dword [esp + 0x7c], 0x2c2b2a29
mov dword [esp + 0x80], 0x302f2e2d
mov dword [esp + 0x84], 0x7f333231
mov dword [esp + 0x88], 0x7f7f7f7f
test ebx, ebx
je 0x41e84a
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x41e747
cmp byte [edx + edi], 0xd
jne 0x41e747
cmp byte [edx + edi + 1], 0xa
je 0x41e780
mov al, byte [edx + edi]
cmp al, 0xa
je 0x41e780
cmp al, 0x3d
jne 0x41e75c
inc ecx
cmp ecx, 2
ja 0x41e858
cmp al, 0x7f
ja 0x41e858
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x41e858
cmp al, 0x40
jae 0x41e77f
test ecx, ecx
jne 0x41e858
inc esi
inc edx
cmp edx, ebx
jb 0x41e731
test esi, esi
je 0x41e84a
mov ecx, dword [esp + 0x98]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x94]
lea eax, [eax*2 + 7]
shr eax, 3
test esi, esi
je 0x41e869
cmp dword [ecx], eax
jb 0x41e869
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x41e839
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x41e835
cmp al, 0xa
je 0x41e835
movzx eax, al
mov cl, byte [esp + eax + 0x10]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub ebp, eax
movzx eax, cl
mov ecx, dword [esp + 0x90]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [esp + 0x90], ecx
cmp ecx, 4
jne 0x41e835
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x41e820
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x41e82d
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x41e835
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x41e7d1
sub esi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
pop ebp
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret 0x10
Function at 0x422de6
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push dword [0x4baddc]
xor eax, eax
call dword [sym.imp.USER32.dll_GetDC]
nop
nop
cmp dword [ebp - 4], esp
je 0x422e1e
push 0x19
push 0x4029d8e
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [0x4badf4], eax
mov dword [ebp - 4], esp
push dword [0x4badf4]
xor eax, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
nop
nop
cmp dword [ebp - 4], esp
je 0x422e52
push 0x68
push 0x4029d8e
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [0x4badf8], eax
mov dword [ebp - 4], esp
push dword [0x4badd8]
push dword [0x4badd4]
push dword [0x4badf4]
xor eax, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
nop
nop
cmp dword [ebp - 4], esp
je 0x422e92
push 0xa9
push 0x4029d8e
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [0x4badfc], eax
mov dword [ebp - 4], esp
push dword [0x4badf4]
push dword [0x4baddc]
xor eax, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
nop
nop
cmp dword [ebp - 4], esp
je 0x422ecc
push 0xd2
push 0x4029d8e
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 4], esp
push dword [0x4badfc]
push dword [0x4badf8]
xor eax, eax
call dword [sym.imp.GDI32.dll_SelectObject]
nop
nop
cmp dword [ebp - 4], esp
je 0x422f01
push 0x129
push 0x4029d8e
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [0x4bae00], eax
mov dword [ebp - 4], esp
push 0xcc0020
push 0
push 0
push dword [0x4badf8]
push dword [0x4badd8]
push dword [0x4badd4]
push 0
push 0
push dword [0x4badf8]
xor eax, eax
call dword [sym.imp.GDI32.dll_BitBlt]
nop
nop
cmp dword [ebp - 4], esp
je 0x422f60
push 0x14b
push 0x4029d8e
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 4], esp
push 0xffffffff
push dword [0x4badf8]
xor eax, eax
call dword [sym.imp.GDI32.dll_SetBkMode]
nop
nop
cmp dword [ebp - 4], esp
je 0x422f94
push 0x1b2
push 0x4029d8e
push 6
call fcn.00446bbb
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x4230fb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
push reloc.WS2_32.dll_getsockname
push 0
push 0x423560
push 1
mov ebx, 0x9dc
call fcn.00449280
add esp, 0x10
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getsockname
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.00449280
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x42318e
push 0x55
push 0x4029d93
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1c
mov eax, 0x44cfb0
call fcn.00447670
add esp, 0x10
mov esp, ebp
pop ebp
ret 4
Function at 0x42d785
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0042d935
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x42d883
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x42d826
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x42d869
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x42d83d
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x42d858
test al, 0x40
je 0x42d84f
mov ecx, dword [edi + 0x20]
jmp 0x42d856
test al, 0x80
je 0x42d869
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x42d869
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x42d7f5
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x42df48
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x42df6a
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.00448f80
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42dfff
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00405367
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 0x42e040
push 0xd3
push 0x4026896
push 6
call fcn.00446bbb
add esp, 0xc
push 0x80000301
push 0
push 0x80
push 0x80000301
push 0
push 8
push 2
mov ebx, 0xc8
call fcn.00449eb0
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.0042e0e0
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42e092
push ebx
call fcn.00446bb5
add esp, 4
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x42e0bb
call 0x42e19f
mov eax, 0
jmp 0x42e0ca
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42e0db
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x42e4be
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x42e4e1
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x42e4e1
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x42e4eb
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x42e52d
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x42e58f
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x42e58a
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x42e575
test dl, dl
je 0x42e571
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x42e575
add ecx, 2
add eax, 2
test dl, dl
jne 0x42e555
xor eax, eax
jmp 0x42e57a
sbb eax, eax
or eax, 1
test eax, eax
je 0x42e59b
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x42e542
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8