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

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret

Function at 0x438c8a
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x438a14
mov eax, eax
mov eax, 0xed3bc469
or eax, eax
call fcn.00438cc5
sub ecx, ecx
dec ecx
xor dword [ebx], edi
sub ecx, eax
inc ebx
dec ecx
push eax
pop ecx
add eax, 0xbaaa9ba4
cmp ebx, edx
jne fcn.00438c8a
or ecx, eax
inc eax
dec eax
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2e6c7e0c
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x11ee6ea3
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x14d0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14d01a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x14d007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14d006a
add dl, dl
jne 0x14d0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14d00dc
xor eax, eax
add dl, dl
jne 0x14d0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14d017d
add dl, dl
jne 0x14d00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14d00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14d00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14d00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x14d00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x14d0075
mov eax, 1
add dl, dl
jne 0x14d00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14d00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14d00e1
sub eax, ebx
mov ebx, 1
jne 0x14d0128
mov ecx, 1
add dl, dl
jne 0x14d010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14d0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14d0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14d0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14d013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14d014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14d0136
cmp eax, 0x7d00
jae 0x14d016d
cmp eax, 0x500
jb 0x14d0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14d0075
cmp eax, 0x7f
ja 0x14d0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14d0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x14d019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x14d0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x5c515292
Capabilities:
Encode data using xor

Disassembly:
call 0x5c51520b
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x5c51523b
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x5c515257
xor edx, 0
jmp 0x5c515262
xor edx, edx
jmp 0x5c515279
jmp 0x5c515285
xor eax, eax
push 0x8427d7c0
call 0x5c515292
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x5c5152ce
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x5c5152a7
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x5c5152e5
add eax, 0
jno 0x5c5152ea
add esi, 0
ret 0x10

Function at 0x5c516053
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x5c516075
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x5c516217
cmp edi, dword [ebp + 0x10]
jb 0x5c516217
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.5c515b3f
inc edi
jmp 0x5c5160fe
jmp 0x5c51610b
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.5c515b3f
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.5c515b3f
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x5c51615f
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x5c516143
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.5c51618d
add dword [eax], 0x39
jle 0x5c516169
sub al, 0xf5
mov ch, al
call fcn.5c5161a2
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x5c517e7a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x5c517e90
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x5c517ea1
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.5c517ee2
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x5c51a24e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x5c51a197
add ebx, 0
push ecx
call 0x5c51a1ac
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6cac72b3
sub ebx, dword [0x6cae6af2]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6cae6ae2
call fcn.5c515c76
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.5c515184
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x5c51a30a
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x5c51a30a
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x5c51a2c1
mov eax, 1
lock xchg dword [0x6cae6aee], eax
push 0x3dd1fc71
call 0x5c51a24e
push esi
add esp, 8
cmp eax, 0
jne 0x5c51a237
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x5c51a25d
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x5c51a272
cmp ecx, edx
cmp eax, 0
je 0x5c51a297
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x5c51a281
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.5c51a2b0
dec eax
loope 0x5c51a2b3
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6cae6aee], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x5c51a2e7
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x5c51a2fc
jmp 0x5c51a307
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x5c51a1f5
Function at 0x5c52136f
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x5c521645
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6cad3766
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6caca72c
push 0xffffffffffffffff
call fcn.5c51856f
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x5c5213d9
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.5c5213f1
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x5c521639
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x5c52160d
Function at 0x5c530e3f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x5c530e61
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x5c530e61
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x5c530e61
ret
cmp word [ebx + 4], 0x14c
jne 0x5c530e61
test word [ebx + 0x16], 2
je 0x5c530e61
test word [ebx + 0x16], 0x100
je 0x5c530e61
cmp word [ebx + 0x18], 0x10b
jne 0x5c530e61
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x5c530e61
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x5c530eed
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x5c530e81
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.5c517dcc
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x5c530e61
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x5c530eed
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x5c530e61
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x5c530e61
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x5c530e61
ret
cmp word [ebx + 4], 0x14c
jne 0x5c530e61
test word [ebx + 0x16], 2
je 0x5c530e61
test word [ebx + 0x16], 0x100
je 0x5c530e61
cmp word [ebx + 0x18], 0x10b
jne 0x5c530e61
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x5c530e61
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x5c530eed
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x5c530e81
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.5c517dcc
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x5c530e61
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x5c530fa4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x5c530ffd
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x5c530fa4
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x5c530fb3
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x5c936c56
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x5c531004
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.5c517e7a
cmp eax, dword [ebp + 0xc]
pop eax
je 0x5c5310a3
add edi, 4
add eax, 2
dec ecx
jne 0x5c530fe9
call 0x5c531050
loope 0x5c531046
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x5c5310a0
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x5c5310b1
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x5c531064
cmp eax, ecx
ja 0x5c531064
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x5c5310ee
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x5c5310e4
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.5c518359
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x5c530fb3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x5c530ffd
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x5c530fa4
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x5c530fb3
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x5c936c56
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x5c531004
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.5c517e7a
cmp eax, dword [ebp + 0xc]
pop eax
je 0x5c5310a3
add edi, 4
add eax, 2
dec ecx
jne 0x5c530fe9
call 0x5c531050
loope 0x5c531046
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x5c5310a0
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x5c5310b1
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x5c531064
cmp eax, ecx
ja 0x5c531064
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x5c5310ee
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x5c5310e4
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.5c518359
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401110
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x6c
mov ecx, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x74]
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
push edi
push 0
push ecx
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x18], 0x6c
mov dword [esp + 0x1c], 1
mov dword [esp + 0x80], 0x200
call eax
mov edi, eax
test edi, edi
jge 0x401161
push str.DDCreateFakeFlipper:_Couldnt_create_primary._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, edi
pop edi
pop esi
add esp, 0x6c
ret
mov ecx, dword [0x44d78c]
mov edx, dword [0x44d790]
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
push 0
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], edx
push ecx
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x1c], 7
mov dword [esp + 0x80], 0x40
call eax
mov esi, eax
test esi, esi
jge 0x4011b8
push str.DDCreateFakeFlipper:_Couldnt_create_backbuffer._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov eax, esi
pop esi
add esp, 0x6c
ret
push str.DDCreateFakeFlipper:_Using_fake_flipper._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov eax, esi
pop esi
add esp, 0x6c
ret

Function at 0x401300
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push 2
push edi
push esi
push ebx
call fcn.00401090
add esp, 0x10
test eax, eax
jge 0x40136c
push 1
push edi
push esi
push ebx
call fcn.00401090
add esp, 0x10
test eax, eax
jge 0x40135c
push edi
push esi
push ebx
call fcn.00401110
add esp, 0xc
test eax, eax
jge 0x401351
push str.DDFullConfigure:_Couldnt_create_fake_flipper._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebx
ret
push str.DDFullConfigure:_Using_fake_flipper._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0
call fcn.0043e9e0
add esp, 8
pop edi
pop esi
pop ebx
ret
push 0
push 0x4040
call fcn.0043e9e0
add esp, 8
test eax, eax
jge 0x4013c6
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push 1
push edi
push esi
push ebx
call fcn.00401090
add esp, 0x10
test eax, eax
jge 0x4013ab
push str.DDFullConfigure:_Single_back_buffer_failed._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebx
ret
push str.DDFullConfigure:_Using_two_back_buffers__art_in_display._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x40
call fcn.0043e9e0
add esp, 8
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x402b60
Capabilities:
Create tcp socket
Create udp socket
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x294
mov eax, dword [0x44eea4]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
mov ebx, dword [esp + 0x29c]
lea eax, [esp + 4]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
cmp word [esp + 4], 0x101
je 0x402bc0
push 0
push str.Error
push str.WSAStartup__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.004451a2
add esp, 0x294
ret
push 0x100
lea ecx, [esp + 0x198]
push ecx
call sub.WSOCK32.dll_gethostname
cmp eax, 0xffffffff
jne 0x402c03
push 0
push str.Error
push str.gethostname__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.004451a2
add esp, 0x294
ret
lea edx, [esp + 0x194]
push edx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
mov dword [0x44f2d4], eax
jne 0x402c43
push eax
push str.Error
push str.gethostbyname__
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.004451a2
add esp, 0x294
ret
mov eax, dword [eax + 0xc]
push esi
push eax
call fcn.00402ad0
mov ecx, dword [0x44f2d4]
mov word [0x44f260], 2
mov edx, dword [ecx + 0xc]
mov esi, eax
mov eax, dword [edx + esi*4]
mov ecx, dword [eax]
add esp, 4
push 0x1388
mov dword [0x44f264], ecx
call sub.WSOCK32.dll_htons
push 6
push 1
push 2
mov word [0x44f262], ax
mov dword [0x44f1b4], 0
mov dword [0x44f1b0], 0
call sub.WSOCK32.dll_socket
cmp eax, 0xffffffff
mov dword [0x44f1b4], eax
jne 0x402cd5
push 0
push str.Error
push str.socket__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.004451a2
add esp, 0x294
ret
push 0x38
push 0x401
push ebx
push eax
call sub.WSOCK32.dll_WSAAsyncSelect
test eax, eax
je 0x402d14
push 0
push str.Error
push str.WSAAsyncSelect__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.004451a2
add esp, 0x294
ret
mov edx, dword [0x44f2d4]
mov word [0x44f58c], 2
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
push 0x3039
mov dword [0x44f590], edx
call sub.WSOCK32.dll_htons
mov ecx, dword [esp + 0x298]
pop esi
pop ebx
mov word [0x44f58e], ax
xor ecx, esp
mov byte [0x44f1ae], 0
mov eax, 1
call fcn.004451a2
add esp, 0x294
ret