joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a2db2
Capabilities:
Encode data using xor

Disassembly:
lds esp, [0x85e6b5da]
mov edx, 0xacfbf9d5
mov ah, 0x82
call 0xc9c03962
sahf
or esi, dword [esi - 0x37]
dec edx
push ds
popfd
push edi
shr dword ds:[ecx - 0x8594461], 1
insd dword es:[edi], dx
in eax, dx
jnp 0x4a2e2d
movsd dword es:[edi], dword [esi]
imul ebx, dword [ecx + edx + 0x211bbbac], 0x5d529f88
cmc
cmpsd dword [esi], dword es:[edi]
lcall 0x88b6, 0xd4cada6c
xchg esp, eax
inc edx
lahf
mov dword [ecx], esp
jl 0x4a2e19
xchg esi, eax
dec ebx
sbb eax, 0x2786d92b
ficom dword [edi + 0x35]
xchg edx, eax
pop edi
dec ebp
pushfd
movsb byte es:[edi], byte [esi]
sahf
sahf
invalid
movsb byte es:[edi], byte [esi]
dec ecx
jecxz 0x4a2dc0
sbb esp, dword [esi]
pushal
add eax, 0xa25e539b
push 0x8bca6aca
xchg esp, eax
fmul qword [ebx + 0x3a]
inc esp
mov edi, 0xffb42ea
imul byte [edi - 0x20]
cmp al, byte [edi + edi*4 - 0x16]
inc edx
sti
psadbw mm5, qword [edi - 0x20]
outsb dx, byte [esi]
scasb al, byte es:[edi]
pop es
mov ebp, 0x1b2a62a9
push 0x2b
push 0x6b
and dword [esp + ebx*8 + 0x18], edx
xor dword [ebx - 0x79bf738e], ebp
push edx
cmp dword [edx], ebx
mov bl, 0x50
fdiv st(4), st(0)
pop ecx
loop 0x4a2e32
cmp esp, esp
fimul dword [ebp + 0x31]
test dword [edi], edi
xchg ebp, eax
enter 0xffffffffffffaa1f, 0x34
retf 0x795c

Function at 0x4e2642
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x4e268e
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x4e2673
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x4e2683
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4e269e
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x4e26dd
test ebx, ebx
je 0x4e26b2
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x4e26a7
cmp ecx, 0xfff1
jb 0x4e26c0
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x4e27c8
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x4e2702
Function at 0x5cdc32
Capabilities:
Encode data using xor

Disassembly:
cmpsb byte [esi], byte es:[edi]
insd dword es:[edi], dx
jo 0x5cdb5f
lodsd eax, dword [esi]
and eax, 0x35e6d692
mov edx, 0x1e04fac4
cli
add al, 0x1e
xchg ecx, eax
insb byte es:[edi], dx
or esp, dword [edx]
cwde
pop edx
mov ah, 0xac
div byte [edi]
iretd
jecxz 0x5cdb17
wait
iretd
lahf
cld
mov dh, byte [edx + eax*2 + 0x2d]
out 0xf0, al
push eax
insb byte es:[edi], dx
mov al, 0x71
rcl dword [edx + edi*4 - 0xd2888da]
sbb eax, edx
sub eax, edx
jns 0x5cdb41
loope 0x5cdb23
ret 0xf64f
dec edi
test byte [ebp + esi - 0x35d9b35d], 0x82
xchg esi, eax
sub al, 0x20
or cl, byte [ecx + 0x47]
cmpsb byte [esi], byte es:[edi]
invalid
test byte [ebx], al
sal byte [edx + ecx*4 - 0x355ae940], 1
jl 0x5cdbd7
push ss
movsd dword es:[edi], dword [esi]
retf 0x557c
sbb bh, byte [edx - 0xe]
jp 0x5cdb77
and eax, 0x43e236f9
loop 0x5cdbcd
js 0x5cdc05
movsb byte es:[edi], byte [esi]
js 0x5cdb7d
jno 0x5cdb83
invalid
fld dword [edx - 0x3ab1f956]
cmc
jae 0x5cdb88
mov al, 0xc9
loopne 0x5cdb47
or ch, byte [edi - 0x70100bc9]
mov ds, word [0x7e16b95c]
xor bh, byte [ecx - 0x32]
mov al, byte [0xdbc2edc1]
mov dword [0x94206693], eax
inc ebp
sub al, 0xaa
ja 0x5cdc3e
aam 0xdc
out 0x68, al
out dx, eax
insb byte es:[edi], dx
jne 0x5cdc10
mov ebp, 0xf851a4d1
push ecx
clc
test bh, ch
mov eax, dword [esi - 0x53e1814c]
lodsb al, byte [esi]
movsd dword es:[edi], dword [esi]
xchg edx, eax
retf 0x8f42
invalid
test dword [edi - 0x52c253c], 0xbe44ed68
sub byte [eax - 0x3c], bh
test byte [edi], bh
sub esp, ecx
iretd
jge 0x5cdc76
aam 0xcc
inc ecx
inc esp
xchg ecx, eax
movsb byte es:[edi], byte [esi]
ja 0x5cdb96
rcr dword [ecx + 0x56], 0x47
pop ecx
push esi
inc edi
jb 0x5cdbd9
mov cl, 0x7e
and dword [esi - 0x10], edx
jne 0x5cdc5d
xchg ebx, eax
jae 0x5cdc89
stc
mov eax, 0xf774da6d
adc eax, 0x568645aa
sahf
dec ebp
cmc
push cs
jne 0x5cdc31
xor byte [ecx - 0x52cf2030], al
jle 0x5cdbee
adc eax, 0x7ead30df
mov dh, 0x71
mov byte [0x3ee5ca04], al
rcr bh, 1
xor byte [ebp - 0x5d8e4982], ch
jno 0x5cdbdc
add al, 0xca
in eax, 0x3e
jo fcn.005cdcb2
xchg dword [edi], eax
pop esp
pop esp
jb 0x5cdc0c
ja 0x5cdc8e
inc edi
mov dword [edx + esi*2 + 0x444a6986], ebx
loop 0x5cdca9
mov bl, 0x20
jae 0x5cdc56
invalid
jmp 0x5cdc0f
fidiv word [edi]
mov dh, 0xac
rol dh, 0x52
lodsb al, byte [esi]
mov bh, 0xb5
xchg ecx, eax
dec esi
or ebx, dword [ecx]
adc dword [edx + eax*2 - 0x6a61559d], esi
push esi
ret
hlt
push ss
int3
cmp byte [edx], ch
cmp dword [edi - 0x64], 0xffffffb5
pop eax
mov ch, 0x58
sbb al, 0x2c
pop ebx
xchg ecx, eax
cmc
mov bh, 0x3e
invalid
jle 0x5cdc81
outsb dx, byte [esi]
imul ebx, eax, 0x5611c578

Function at 0x5d71d2
Capabilities:
Encode data using xor

Disassembly:
push esi
sti
xchg ecx, eax
shr dword [esi], 0xa9
pop eax
push eax
add al, ch
clc
out 0xc2, al
cld
invalid
Function at 0x5d97d2
Capabilities:
Encode data using xor

Disassembly:
test edi, ebx
dec esi
jmp 0x5d981d
push esi
jbe 0x5d9893
hlt
inc edi
lea edx, [edx + eax - 0x3c]
mov dh, 0xa8
inc esp
or dword [ecx], 0xbc55235d
mov dword [ebx + 0x7d], esi
stosd dword es:[edi], eax
invalid
js 0x5d98aa
hlt
wait
cdq
inc ecx
sti
mov dh, 0x52
pushal
adc byte [ecx - 0x60], 0x66
mov dl, 2
push ebx
aam 0x30
je 0x5d9880
imul dword [esi - 0x35]
in eax, 0xd4
sbb ebx, dword [ecx + 0x27e1c6e2]
invalid
Function at 0x618872
Capabilities:
Encode data using xor

Disassembly:
jno 0x61889d
movsd dword es:[edi], dword [esi]
aaa
and byte [ecx + 0x2d], 0x60
sbb ah, byte [esi]
adc dword [eax + esi + 2], ebp
pop edx
add ah, byte [eax + 0x53744851]
push ecx
dec eax
je 0x6188da
xor eax, dword [eax - 0xc]
fiadd dword [edx - 0x65257327]
aam 0x15
mov al, byte [0x3475002]
cld
cld
fnstsw word [edx]
movsd dword es:[edi], dword [esi]
mov ebx, 0x344c126b
out 0x50, eax
imul edx, dword [edx], 0x4c
xor al, 0xe7
push eax
mov edx, 0x93a2b2c0
rcl bh, cl
jbe 0x618887
xchg ecx, eax
salc
sub ebx, 0x6265a5bb
inc ebp
jbe 0x6188e3
xchg edi, eax
adc eax, 0xe838b633
insb byte es:[edi], dx
std
cli
jb 0x618883
jbe 0x618898
mov ebp, 0xc8b35ac8
mov ch, 0xb9
mov gs, word [edx]
test al, 0xaa
mov dword [esi], 0xf9f2f622
test eax, 0x44a12464
inc esp
adc eax, ecx
lcall 0x9ca1, 0x5fa5161d
pushfd
mov ah, 0xdd
rcr byte [ebx + esi*8 + 0x146e3ec], cl
adc ecx, dword [ebx + edi*8 + 0x4d14a763]
push edx
and dword [ebp - 0x6a210b3b], edx
sahf
sub ch, byte [esp + ecx*8 - 0x6f62f386]
xchg edi, eax
out 0x52, al
cmc
aad 0xda
and esi, dword [ecx - 0x36a877ec]
and dh, byte [ebp + 0x2d]
call 0x79ef8a59
sbb eax, dword [ecx + eax*8 - 0x3b]
test al, 0xf4
push edx
pop edi
invalid

Function at 0x65779d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f3e8
cmp edx, dword [eax]
je 0x6577bf
add eax, 8
inc ecx
cmp eax, 0x65f478
jl 0x6577b0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f3e8]
jne 0x6578ed
mov eax, dword [0xa64d58]
cmp eax, 1
je 0x6578c7
test eax, eax
jne 0x6577f0
cmp dword [0x65f314], 1
je 0x6578c7
cmp edx, 0xfc
je 0x6578ed
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x657827
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00658180
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00658610
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x65786a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00658610
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65c95c
push edi
call fcn.0065a4e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00658180
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00658190
lea eax, [ebp - 0xa0]
push 0x65c93c
push eax
call fcn.00658190
push dword [esi + 0x65f3ec]
lea eax, [ebp - 0xa0]
push eax
call fcn.00658190
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065a454
add esp, 0x2c
pop edi
jmp 0x6578ed
lea eax, [ebp + 8]
lea esi, [esi + 0x65f3ec]
push 0
push eax
push dword [esi]
call fcn.00658610
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401020
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
mov eax, dword [esp + 0x404]
push ebx
push ebp
push esi
push edi
lea esi, [eax + 0x42358c]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [esi]
xor ebp, ebp
test al, al
je 0x4010db
mov ebx, dword [esp + 0x418]
lea edi, [esp + 0x10]
dec edi
mov cl, byte [esi + 1]
and eax, 0xff
mov edx, eax
mov eax, 1
test cl, cl
je 0x401085
xor cl, dl
mov byte [edi + eax], cl
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x401077
test ebp, ebp
mov byte [edi + eax], 0
jne 0x40109c
lea ecx, [esp + 0x10]
push ecx
call dword [0x4232f0]
mov dword [ebx], eax
jmp 0x4010b9
mov al, byte [esp + 0x10]
cmp al, 0x30
lea eax, [esp + 0x11]
je 0x4010ac
lea eax, [esp + 0x10]
mov edx, dword [ebx]
push eax
push edx
call dword [0x4232f4]
mov dword [ebx + ebp*4], eax
mov eax, dword [ebx + ebp*4]
inc ebp
test eax, eax
jne 0x4010c8
cmp byte [esp + 0x10], 0x30
jne 0x4010eb
push esi
call fcn.00401000
lea esi, [esi + eax + 1]
add esp, 4
mov al, byte [esi]
test al, al
jne 0x401064
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x400
ret
pop edi
pop esi
mov dword [ebx], 0
pop ebp
xor eax, eax
pop ebx
add esp, 0x400
ret
Function at 0x403c80
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov eax, 1
push esi
mov esi, dword [esp + 0x14]
cmp ebp, eax
push edi
mov dword [esp + 0x10], 0
jle 0x403cad
mov cl, byte [esi]
mov bl, byte [eax + esi]
xor bl, cl
mov byte [eax + esi], bl
inc eax
cmp eax, ebp
jl 0x403c9e
xor eax, eax
xor edx, edx
mov al, byte [esi + 1]
mov dl, byte [esi + 2]
shl eax, 8
add eax, edx
xor ecx, ecx
mov cl, byte [esi + 3]
xor ebx, ebx
shl eax, 8
mov bl, byte [esi + 4]
add eax, ecx
mov dword [esp + 0x10], eax
inc eax
push eax
call fcn.00403510
mov edi, eax
test edi, edi
jne 0x403ce2
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0x403c70
add ebp, 0xfffffffb
push 0x403c60
add esi, 5
push ebp
lea edx, [esp + 0x1c]
push esi
push edx
push edi
call fcn.0040adb0
add esp, 0x18
test eax, eax
je 0x403d14
push edi
call fcn.00403550
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
jle 0x403d2f
mov cl, byte [edi + eax]
xor cl, bl
mov byte [edi + eax], cl
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
jl 0x403d1e
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x4043b0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
xor ecx, ecx
push esi
push edi
mov eax, dword [ebp]
mov edi, dword [ebp + 4]
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x4044c3
add ebx, 0x10
mov eax, dword [ebx]
test eax, eax
jne 0x404441
mov edx, dword [esp + 0x20]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x404493
mov eax, dword [ebx - 8]
cmp esi, eax
jg 0x404401
mov esi, eax
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebx - 4]
push eax
push 4
push 0x1000
add ecx, edi
push esi
push ecx
call dword [ebp + 0x1c]
add esp, 0x14
test eax, eax
je 0x4044bb
mov edi, dword [ebx - 4]
mov eax, dword [esp + 0x24]
mov ecx, esi
add edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x40448f
mov esi, dword [ebx + 4]
mov edx, dword [esp + 0x1c]
mov ecx, eax
add ecx, esi
cmp edx, ecx
jb 0x4044b1
mov edx, dword [ebp + 0x30]
push edx
push 4
push 0x1000
push eax
mov eax, dword [ebx - 4]
add eax, edi
push eax
call dword [ebp + 0x1c]
add esp, 0x14
test eax, eax
je 0x4044bb
mov eax, dword [ebx - 4]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
add eax, edi
mov edi, dword [esp + 0x18]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov edi, dword [esp + 0x24]
mov ecx, dword [ebp]
mov eax, dword [esp + 0x10]
xor edx, edx
inc eax
mov dx, word [ecx + 6]
add ebx, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jge 0x4044c3
jmp 0x4043e3
push 0xd
call fcn.00403190
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x4044d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
xor ecx, ecx
push ebp
mov eax, dword [ebx]
mov edx, dword [ebx + 0x38]
push esi
push edi
mov cx, word [eax + 0x14]
dec edx
not edx
lea edi, [ecx + eax + 0x18]
push edi
push ebx
mov eax, dword [edi + 8]
and edx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call fcn.00404610
mov ecx, dword [ebx]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x24]
add esp, 8
mov dword [esp + 0x20], eax
mov eax, 1
mov dword [esp + 0x24], 0
add edi, 0x28
cmp word [ecx + 6], ax
mov dword [esp + 0x10], eax
jbe 0x4045e5
mov esi, dword [ebx + 0x38]
mov eax, dword [edi + 8]
dec esi
push edi
not esi
push ebx
mov dword [esp + 0x34], eax
and esi, eax
call fcn.00404610
mov edx, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, esi
je 0x40458f
mov eax, dword [esp + 0x1c]
add eax, edx
cmp eax, esi
ja 0x40458f
lea ecx, [esp + 0x14]
push ecx
push ebx
call fcn.00404640
add esp, 8
test eax, eax
je 0x4045ff
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 0x24]
mov dword [esp + 0x20], eax
jmp 0x4045c4
mov eax, dword [edi + 0x24]
mov ecx, dword [esp + 0x20]
test eax, 0x2000000
je 0x4045ad
test ecx, 0x2000000
je 0x4045ad
or ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x4045b8
or eax, ecx
and eax, 0xfdffffff
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
sub ebp, edx
add ebp, eax
mov dword [esp + 0x1c], ebp
mov ecx, dword [ebx]
mov eax, dword [esp + 0x10]
xor edx, edx
inc eax
mov dx, word [ecx + 6]
add edi, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x40452f
mov eax, 1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.00404640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x410920
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004051b0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4109eb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4109eb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41099e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4109a9
or bh, 8
and edi, 0x8000000
je 0x4109c4
mov eax, dword [0x426b5c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4109eb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410dc0
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 0x410deb
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 0x410e0f
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 0x410e2a
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 0x414d8d
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 0x414dcf
call fcn.00417b28
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x414dcf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x414dc6
xor eax, eax
jmp 0x414dd7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00414ddd
pop edi
pop esi
pop ebx
ret 4

Function at 0x418204
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x418232
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x418250
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041816a
jmp 0x418250
mov eax, dword [esi + 0x14]
test eax, eax
je 0x418250
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041816a
test edi, edi
mov eax, edi
jne 0x41823a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4705cf
Capabilities:
Encode data using xor

Disassembly:
popfd
mov al, byte [0xfc5e3725]
dec ecx
test byte [eax - 0x4e], ch
mov ecx, edx
daa
push esi
test eax, 0xee23548f
xor al, dh
ficomp dword [edi - 8]
pop edi
clc
pop edi
clc
mov eax, 0xb3efd102
pushal
adc eax, 0x9be4a15a
out 0x7b, al
cmpsb byte [esi], byte es:[edi]
cli
jecxz 0x4705b9
mov bl, 0x74
xchg byte [eax + 0x7f], al
xlatb
lcall 0xdb69, 0x57a2a203
je 0x4705fc
call dword [edx]
bound ebx, qword [ebp - 0x65]
mov ecx, 0xeee1e9e3
enter 0x8eb, 0x13
inc ecx
adc al, 0x1f
mov al, bl
inc ecx
mov ch, 0x23
lea edi, [eax + 0x21031541]
cmp eax, 0x1a6d40bb
jmp 0x470606
and ecx, dword [ebp + 0x31541b8]
and dword [0x1a6d40bb], edi
test eax, 0x1a6ffc70
wait
jb 0x470662
mov ebx, 0x9163afaa
scasb al, byte es:[edi]
sbb dword [0x1323cf23], ebx
sbb eax, 0x1323cf23
mov byte [0xfc38bb4c], al
xchg edx, eax
add eax, 0x439be5c0
sahf
mov dword [0xa7c39f55], eax
pop es
mov byte [0xbc350280], ah
cmc
cmp dword [edi + 1], eax
xchg ecx, eax
mov dword [0x2eb2eacc], eax
int3
enter 0x59a2, 0xffffffffffffff8d
or byte [0x70d2facd], al
xchg ebp, eax
cmp al, 0xe7
pop ebp
fist word [eax + esi*8 - 0xd91640c]
xchg byte [ecx - 0x7d], dh
cmp dword [edi - 0x78], edi
mov ah, 0xf
push ecx
mov edi, dword [esi]
cwde
jl 0x470621
cld
add bl, byte [esi + eax*8 - 2]
dec esp
pop ss
mov ebp, gs
adc eax, 0x7077b3c0
jo 0x4706d9
push ecx
pop eax
aas
enter 0xffffffffffff9559, 0x1a
out dx, eax
mov edx, 0xbb54c547
rcl byte [edx + 0x7fbfd1ea]
ret 0xaafc