joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a0e8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
test eax, eax
je 0x42a155
cmp dword [ebp + 0x10], 0
je 0x42a155
cmp dword [ebp + 0xc], 0
jne 0x42a107
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
push dword [ebp + 0x10]
mov esi, 0x3f00000
cmp ebx, esi
cmovb esi, ebx
add eax, edi
push esi
push 1
push eax
call fcn.004e3d64
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x42a139
mov eax, dword [ebp + 8]
test ebx, ebx
jne 0x42a10f
test ebx, ebx
je 0x42a14e
push dword [ebp + 0xc]
push edi
push str.cimg::fread__:_Only__u__u_elements_could_be_read_from_file.
call fcn.0044ed7e
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
jmp 0x42a103
cmp dword [ebp + 0xc], 1
mov ecx, 0x56cd3b
push eax
push dword [ebp + 0x10]
mov eax, 0x546108
cmovbe eax, ecx
push eax
push str.bool
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.0042bd0f
add esp, 0x1c
lea eax, [ebp - 0x10]
push 0x57a2f4
push eax
call fcn.004e52d6
int3

Function at 0x42a193
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
test eax, eax
je 0x42a200
cmp dword [ebp + 0x10], 0
je 0x42a200
cmp dword [ebp + 0xc], 0
jne 0x42a1b2
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
push dword [ebp + 0x10]
mov esi, 0x3f00000
cmp ebx, esi
cmovb esi, ebx
add eax, edi
push esi
push 1
push eax
call fcn.004e4594
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x42a1e4
mov eax, dword [ebp + 8]
test ebx, ebx
jne 0x42a1ba
test ebx, ebx
je 0x42a1f9
push dword [ebp + 0xc]
push edi
push str.cimg::fwrite__:_Only__u__u_elements_could_be_written_in_file.
call fcn.0044ed7e
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
jmp 0x42a1ae
push dword [ebp + 0x10]
cmp dword [ebp + 0xc], 1
mov ecx, 0x56cd3b
push eax
mov eax, 0x546108
cmovbe eax, ecx
push eax
push str.char
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str.cimg::fwrite__:_Invalid_writing_request_of__u__s_s_from_buffer__p_to_file__p.
push eax
call fcn.0042bd0f
add esp, 0x1c
lea eax, [ebp - 0x10]
push 0x57a2f4
push eax
call fcn.004e52d6
int3
Function at 0x42a23e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
test eax, eax
je 0x42a2ab
cmp dword [ebp + 0x10], 0
je 0x42a2ab
cmp dword [ebp + 0xc], 0
jne 0x42a25d
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
push dword [ebp + 0x10]
mov esi, 0x3f00000
cmp ebx, esi
cmovb esi, ebx
add eax, edi
push esi
push 1
push eax
call fcn.004e4594
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x42a28f
mov eax, dword [ebp + 8]
test ebx, ebx
jne 0x42a265
test ebx, ebx
je 0x42a2a4
push dword [ebp + 0xc]
push edi
push str.cimg::fwrite__:_Only__u__u_elements_could_be_written_in_file.
call fcn.0044ed7e
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
jmp 0x42a259
push dword [ebp + 0x10]
cmp dword [ebp + 0xc], 1
mov ecx, 0x56cd3b
push eax
mov eax, 0x546108
cmovbe eax, ecx
push eax
push 0x54512c
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str.cimg::fwrite__:_Invalid_writing_request_of__u__s_s_from_buffer__p_to_file__p.
push eax
call fcn.0042bd0f
add esp, 0x1c
lea eax, [ebp - 0x10]
push 0x57a2f4
push eax
call fcn.004e52d6
int3

Function at 0x42a2e9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x10
test ecx, ecx
je 0x42a35d
cmp dword [ebp + 0x10], 0
je 0x42a35d
cmp dword [ebp + 0xc], 0
jne 0x42a308
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push esi
push dword [ebp + 0x10]
lea eax, [edi + edi]
mov esi, 0x1f80000
cmp eax, 0x3f00000
lea eax, [ecx + ebx*2]
cmovb esi, edi
push esi
push 2
push eax
call fcn.004e4594
add esp, 0x10
add ebx, eax
sub edi, eax
cmp esi, eax
jne 0x42a341
mov ecx, dword [ebp + 8]
test edi, edi
jne 0x42a310
pop esi
test edi, edi
je 0x42a357
push dword [ebp + 0xc]
push ebx
push str.cimg::fwrite__:_Only__u__u_elements_could_be_written_in_file.
call fcn.0044ed7e
add esp, 0xc
pop edi
mov eax, ebx
pop ebx
jmp 0x42a304
push dword [ebp + 0x10]
cmp dword [ebp + 0xc], 1
mov eax, 0x546108
push ecx
mov ecx, 0x56cd3b
cmovbe eax, ecx
push eax
push 0x545144
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str.cimg::fwrite__:_Invalid_writing_request_of__u__s_s_from_buffer__p_to_file__p.
push eax
call fcn.0042bd0f
add esp, 0x1c
lea eax, [ebp - 0x10]
push 0x57a2f4
push eax
call fcn.004e52d6
int3
Function at 0x42a39b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x10
test ecx, ecx
je 0x42a411
cmp dword [ebp + 0x10], 0
je 0x42a411
cmp dword [ebp + 0xc], 0
jne 0x42a3ba
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push esi
push dword [ebp + 0x10]
mov eax, edi
mov esi, 0xfc0000
shl eax, 2
cmp eax, 0x3f00000
lea eax, [ecx + ebx*4]
cmovb esi, edi
push esi
push 4
push eax
call fcn.004e4594
add esp, 0x10
add ebx, eax
sub edi, eax
cmp esi, eax
jne 0x42a3f5
mov ecx, dword [ebp + 8]
test edi, edi
jne 0x42a3c2
pop esi
test edi, edi
je 0x42a40b
push dword [ebp + 0xc]
push ebx
push str.cimg::fwrite__:_Only__u__u_elements_could_be_written_in_file.
call fcn.0044ed7e
add esp, 0xc
pop edi
mov eax, ebx
pop ebx
jmp 0x42a3b6
push dword [ebp + 0x10]
cmp dword [ebp + 0xc], 1
mov eax, 0x546108
push ecx
mov ecx, 0x56cd3b
cmovbe eax, ecx
push eax
push 0x545170
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str.cimg::fwrite__:_Invalid_writing_request_of__u__s_s_from_buffer__p_to_file__p.
push eax
call fcn.0042bd0f
add esp, 0x1c
lea eax, [ebp - 0x10]
push 0x57a2f4
push eax
call fcn.004e52d6
int3

Function at 0x42a44f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x10
test ecx, ecx
je 0x42a4c5
cmp dword [ebp + 0x10], 0
je 0x42a4c5
cmp dword [ebp + 0xc], 0
jne 0x42a46e
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push esi
push dword [ebp + 0x10]
mov eax, edi
mov esi, 0xfc0000
shl eax, 2
cmp eax, 0x3f00000
lea eax, [ecx + ebx*4]
cmovb esi, edi
push esi
push 4
push eax
call fcn.004e4594
add esp, 0x10
add ebx, eax
sub edi, eax
cmp esi, eax
jne 0x42a4a9
mov ecx, dword [ebp + 8]
test edi, edi
jne 0x42a476
pop esi
test edi, edi
je 0x42a4bf
push dword [ebp + 0xc]
push ebx
push str.cimg::fwrite__:_Only__u__u_elements_could_be_written_in_file.
call fcn.0044ed7e
add esp, 0xc
pop edi
mov eax, ebx
pop ebx
jmp 0x42a46a
push dword [ebp + 0x10]
cmp dword [ebp + 0xc], 1
mov eax, 0x546108
push ecx
mov ecx, 0x56cd3b
cmovbe eax, ecx
push eax
push str.float
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str.cimg::fwrite__:_Invalid_writing_request_of__u__s_s_from_buffer__p_to_file__p.
push eax
call fcn.0042bd0f
add esp, 0x1c
lea eax, [ebp - 0x10]
push 0x57a2f4
push eax
call fcn.004e52d6
int3
Function at 0x46869c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4686b4
xor eax, eax
jmp 0x46879a
push edi
call fcn.004e02b2
pop ecx
cmp eax, 4
jl 0x4686ad
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push esi
push 0x54ca6c
push edi
push eax
call fcn.004e6ef1
add esp, 0xc
test eax, eax
jne 0x468736
cmp dword [ebp + 8], eax
je 0x468736
push ebx
push 2
push eax
push dword [ebp + 8]
call fcn.004e3fbc
push dword [ebp + 8]
call fcn.004e43cf
push 0
push 0
push dword [ebp + 8]
mov ebx, eax
call fcn.004e3fbc
add esp, 0x1c
cmp ebx, 0xa
jle 0x46872c
push ebx
call fcn.004b7bc6
mov esi, eax
pop ecx
test esi, esi
je 0x46872c
push dword [ebp + 8]
push 1
push ebx
push esi
call fcn.004e3d64
push esi
call fcn.004e1689
add esp, 0x14
push dword [ebp + 8]
call fcn.004e371f
pop ecx
pop ebx
mov eax, dword [ebp - 4]
test eax, eax
jne 0x468799
push 0x10
call int.004cd820
mov esi, eax
test esi, esi
je 0x468769
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push edi
mov dword [esi], 0x54ca84
call fcn.004cd898
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
jmp 0x46876b
xor esi, esi
test esi, esi
je 0x468797
push 0xff000000
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call fcn.004cd8a4
test eax, eax
je 0x468789
mov dword [esi + 8], eax
jmp 0x46878b
xor eax, eax
test eax, eax
mov ecx, esi
mov eax, dword [esi]
push 1
je 0x46879f
call dword [eax]
xor eax, eax
pop esi
pop edi
mov esp, ebp
pop ebp
ret
call dword [eax]
mov eax, dword [ebp - 4]
jmp 0x468799

Function at 0x469de7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push edi
push 0x54ca6c
xor edi, edi
push dword [eax]
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
call fcn.004e6ef1
add esp, 0xc
test eax, eax
jne 0x469e71
cmp dword [ebp - 4], edi
je 0x469e71
push esi
push 2
push edi
push dword [ebp - 4]
call fcn.004e3fbc
push dword [ebp - 4]
call fcn.004e43cf
push edi
push edi
push dword [ebp - 4]
mov esi, eax
call fcn.004e3fbc
add esp, 0x1c
lea ecx, [ebp - 0xc]
push esi
call fcn.00469a6b
push dword [ebp - 4]
mov edi, dword [ebp - 8]
push esi
push 1
push edi
call fcn.004e3d64
push dword [ebp - 4]
call fcn.004e371f
push esi
push edi
call fcn.00469e78
add esp, 0x1c
mov esi, eax
test edi, edi
je 0x469e6c
push edi
call fcn.004e1689
pop ecx
mov eax, esi
pop esi
jmp 0x469e73
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4816da
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov dword [ebp - 4], eax
call fcn.00481a3f
cmp dword [ebp + 8], 0
jne 0x4816f7
xor al, al
jmp 0x4817d7
push esi
push 0x54ca6c
push dword [ebp + 8]
call fcn.004e6edc
mov esi, eax
mov dword [ebp - 8], esi
pop ecx
pop ecx
test esi, esi
jne 0x481717
xor al, al
jmp 0x4817d6
push ebx
push edi
push dword [esi + 0x10]
call fcn.004e7cbd
push esi
mov edi, eax
lea eax, [ebp - 0x14]
push 1
push 8
push eax
mov dword [ebp + 8], edi
call fcn.004e3d64
add esp, 0x14
xor ebx, ebx
cmp dword [ebp - 0x14], 0x78646972
jne 0x4817cb
cmp dword [ebp - 0x10], 0x8000
jae 0x4817cb
lea eax, [edi - 8]
push eax
call fcn.004e15f7
mov edi, eax
mov dword [ebp - 0xc], edi
pop ecx
test edi, edi
je 0x4817cb
mov eax, dword [ebp + 8]
push esi
push 1
add eax, 0xfffffff8
push eax
push edi
call fcn.004e3d64
mov eax, dword [ebp + 8]
add esp, 0x10
add eax, 0xfffffff8
mov ecx, edi
add eax, edi
cmp dword [ebp - 0x10], ebx
jle 0x4817be
mov esi, dword [ebp - 4]
mov edi, eax
mov eax, dword [ecx + 0x2c]
add eax, 0x32
add eax, ecx
mov dword [ebp + 8], eax
cmp eax, edi
ja 0x4817b8
lea eax, [ecx + 0xc]
push eax
push dword [ecx + 8]
lea eax, [ecx + 0x30]
push dword [ecx + 4]
push dword [ecx]
mov ecx, esi
push eax
call fcn.00481558
mov ecx, dword [ebp + 8]
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x481789
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
push edi
call fcn.004e15bf
cmp ebx, dword [ebp - 0x10]
pop ecx
sete bl
push esi
call fcn.004e371f
pop ecx
pop edi
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4817dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x585520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
test eax, eax
jne 0x481801
xor al, al
jmp 0x481906
push ebx
push 0x54e8f8
push eax
call fcn.004e6edc
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x48181c
xor al, al
jmp 0x481905
mov eax, dword [edi + 4]
push esi
push ebx
push 1
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x250]
push 8
push eax
mov dword [ebp - 0x250], 0x78646972
call fcn.004e4594
mov edi, dword [edi]
lea ecx, [ebp - 0x23c]
add esp, 0x10
mov dword [ebp - 0x248], edi
mov esi, dword [edi]
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], esi
call fcn.00480002
cmp esi, edi
je 0x4818fb
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e2ec0
add esp, 0xc
lea edi, [ebp - 0x23c]
add esi, 0x14
push 0xb
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x240]
push dword [esi + 0x10]
call dword [0x5254f4]
add eax, eax
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push 0x100
push dword [esi + 0x10]
push eax
call fcn.004e7c3d
mov eax, dword [ebp - 0x210]
push ebx
add eax, 0x32
push 1
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.004e4594
add esp, 0x1c
lea ecx, [ebp - 0x244]
call fcn.0040efcd
mov esi, dword [ebp - 0x244]
mov dword [ebp - 0x240], esi
cmp esi, dword [ebp - 0x248]
jne 0x48186d
push ebx
call fcn.004e371f
pop ecx
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004e52c7
mov esp, ebp
pop ebp
ret 4
Function at 0x4abd20
Capabilities:
Encode data using xor

Disassembly:
pop es
call 0x8d20194c
jp 0x4abd7e
adc eax, 0x2e3b1148
fnsave dword [ebx + 0x7d]
invalid
ret
xchg ebp, eax
out 0x6f, al
and ah, dl
xchg dword [0x8cf77ee2], esp
and eax, 0x8cf77ee2
mov word [0x31c28cbe], fs
and eax, 0x31c28cbe
das
xchg byte [0x74cca3a6], al
xchg dword [edi], ebp
jg 0x4abd74
mov bl, 0xb7
clc
out 0xbf, al
daa
sub byte [eax], dl
in eax, 0xb1
inc edx
and dword [ecx + 0x6e894430], esi
cmpsb byte es:[esi], byte es:[edi]
and eax, 0x82b0a9f
sub dword [ebp - 0x30], esi
dec ecx
adc dword [edi - 0x23], ebx
xchg esi, eax
clc
mov ebp, 0x65c29c81
loope 0x4abd4a
push 0xcdf9e98a
and dh, byte es:[ebp + 0x50]
call 0xd9d03ba8
push edx
xor ch, al
xchg ebp, eax
sub dl, dl
loope 0x4abe4b
je 0x4abdcf
invalid
jle 0x4abddf
test dword [edx + ecx + 0x5a2ccbc1], 0xd63eab8c
popfd
aad 0x81
xor dword [ecx], ebp
cmpsd dword [esi], dword es:[edi]
aam 1
xor dword [ecx], 0x1d4a729
bound ecx, qword [edi + 0x47d84c1e]
dec esp
mov bl, byte [edi + 0x36749b8a]
mov ch, dl
loopne 0x4abd7a
in eax, dx
inc esi
push ebx
das
imul edi, dword [esi], 0xffffff98
cwde
mov al, 0x91
retf
add eax, 0xba531e11
in eax, 0x65
idiv byte [edx]
cmp al, 0x71
div byte [edi - 0x58]
shl al, cl
jnp 0x4abdfc
invalid

Function at 0x4ceaa0
Capabilities:
Encode data using xor

Disassembly:
dec ebp
enter 0xffffffffffffe1ec, 0xfffffffffffffffa
loope 0x4cea74
pop ds
retf
enter 0xffffffffffff8aca, 0xffffffffffffff86
js 0x4cea78
dec ebx
adc ch, al
scasd eax, dword es:[edi]
inc edx
xchg ebx, eax
cmp ecx, dword [edi + esi*4 + 0x2e]
add dword [edi + 0xff09b81], esp
mov cl, 0xd6
lea edi, [edx + 0x711bf2c3]
jp 0x4ceb21
ficom dword [edi]
pop ebx
jo 0x4ceb1d
rol byte [edx - 0x4da067f7], 0x81
ror dword [ebx + ebx*4 + 0x5d], 9
mov eax, dword [eax - 0x4ade36fc]
cmp al, 0x2f
adc ch, byte [ebx + 0x46]
pop edx
mov bh, 0xc8
in eax, 0xb0
adc byte [ebx], 0x56
push esp
mov al, 0x82
adc edx, dword [esi + 0x54]
adc cl, bl
pop edx
mov esp, 0xfc0acc48
xor al, byte [ebx + 0x53]
push cs
adc edi, eax
pushal
cmpsd dword [esi], dword es:[edi]
and dword [ebp + 0x623051be], ecx
and ebp, dword [edi - 0x161be896]
loope 0x4ceae0
pop sp
push ebp
ret 0xf12c
stc
movups xmm0, xmmword [edx + 3]
int1
add esi, ecx
inc esi
pop ebp
add dh, 0x74
mov eax, 0xb48edacf
psrld mm0, qword [ebp - 0x6f]
invalid

Function at 0x4d2220
Capabilities:
Encode data using xor

Disassembly:
rcl bh, cl
dec edx
mul ah
cwde
sub ch, dh
sbb bh, byte [eax - 0x4eb27412]
mov eax, 0xb14d8bee
mov dh, 6
sub al, 0x14
rcr byte [esi + 0x3415c62e], 0x4c
cmc
outsb dx, byte [esi]
push ss
salc
in eax, dx
xor dh, al
pop ebp
push ss
fmul st(4)
inc esp
mov al, 0x24
push 0xffffffffffffffcd
aaa
adc al, 0xc3
test al, 0x86
push 0xffffffffffffffa7
jo fcn.004d2220
or al, 0x96
out 0x8d, eax
jo 0x4d22be
cdq
insb byte es:[edi], dx
salc
fldenv [eax + 0x5515df4f]
test dword [eax], 0x94a4c3ab
pop ss
js 0x4d2229
invalid
pop ecx
out dx, eax
push esi
invalid

Function at 0x50cf73
Capabilities:
Encode data using xor

Disassembly:
cli
sbb eax, 0xa5355842
inc edx
leave
cld
Function at 0x50f756
Capabilities:
Encode data using xor

Disassembly:
jae 0x50f761
jne 0x50f7c8
dec esi
in al, 0xb4
inc ebp
cmp byte [ebx - 0x3bc361a], 0x60
leave
inc ebx
cld
pushal
pop ebx
push ebx
sub ecx, dword [esi - 0x25148d59]
mov eax, dword [0x8174d4b]
and ebp, dword [ebx]
rcr esp, 1
ror dword [ebx - 0x1e], cl
in al, dx
sbb byte [ecx - 0xb], ah
daa
fcom qword [edx + 0x13]
adc esp, dword [ebx - 0x272cfe5b]
add byte [edx + 0x5e0143f8], dl
lahf
clc
inc ebx
add dword [esi - 0x61], ebx
fsubr st(3)
in al, dx
inc ecx
sub eax, 0x2472792d
adc bh, ch
popfd
sbb dword [ebx + 0x53], esi
push edi
nop
invalid
dec edi
mov edx, 0xe3811f28
rcr dword [ebp - 0x6e95f12d], 0x73
jo 0x50f7aa
push 0xffffffffffffffe5
cmp eax, 0xca318c8c
jne 0x50f762
nop
add bh, byte [esi - 0x73e1ad70]
loope 0x50f775
add dl, dh
mov ebp, 0x21450c4e
lea esp, [ecx - 0x70]
push es
jbe 0x50f832
jl 0x50f795
dec ecx
push edx
shr dword [0xa70ef3d1], 1
lodsd eax, dword [esi]
jo 0x50f80b
in eax, dx
pushfd
ret
leave
sub byte [eax], 0xe4
jno 0x50f7e0
push ebx
jmp 0x50f79e
shr byte [eax + ebp*8 + 0x55], 1
mov esp, 0x9cfa8efc
add eax, 0xa1112c1d
dec ebx
call 0x6726d8fd
fstp dword [ebp - 0x29]
dec edi
xchg byte [edi + 0x5f], dh
je 0x50f8c6
jnp 0x50f8c5
jns 0x50f805
mov eax, 0xc8ad700c
jae 0x50f87c
or al, 0x70
lodsd eax, dword [esi]
enter 0x2973, 0xffffffffffffffd6
salc
daa
push cs
stosd dword es:[edi], eax
xchg esp, eax
in eax, dx
mov cl, 0xbf
xor byte [edx + ecx], al
mov edi, 0xd0071856
mov cl, 0xd0
sbb dword [ebp + 0x3a10b31e], eax
out dx, al
pop edx
push edi
xor eax, 0x50bfaf40
out dx, al
jg 0x50f84a
sar dword es:[ecx - 0x44f68ab7], cl
sbb byte [ebx], al
push ds
jne 0x50f887
mov ebx, 0x1e670318
je 0x50f82e
adc eax, 0x482c9e96
sahf
sub al, 0x48
into
xchg dword [ebx + 0x1d], edi
pop eax
rcr dword [edi + 0x11], 1
cmp esp, ebp
adc byte [esi + 0x2a], al
insb byte es:[edi], dx
test al, 0x21
mov eax, dword [0x3f73e9d5]
invalid
invalid
push es
sub byte [edi - 0x17e080a1], 0x3f
aas
cmp eax, 0x12ae67fb
clc
mov cl, 0xd4
sti
ja 0x50f8cf
ud2
Function at 0x4016e0
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [0x42a0c0]
cmp ecx, 0x1388
jge 0x4016fb
test ecx, ecx
jle 0x4016fb
mov eax, dword [0x432eb8]
test eax, eax
jne 0x401722
push 0x493e0
call fcn.00415fa8
add esp, 4
test eax, eax
mov dword [0x432eb8], eax
jne 0x401720
push 2
call fcn.00415d7b
mov eax, dword [0x432eb8]
add esp, 4
xor ecx, ecx
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*4]
inc ecx
lea eax, [eax + edx*4]
mov dword [0x42a0c0], ecx
ret

Function at 0x402350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x433184]
test eax, eax
push esi
jne 0x402378
push 0x433184
call fcn.00403d90
add esp, 4
test eax, eax
jne 0x40241a
mov esi, dword [ebp + 8]
test esi, esi
je 0x4023bc
push esi
call fcn.00405e40
add esp, 4
test eax, eax
je 0x4023bc
mov eax, dword [0x433184]
push 0x134
push esi
push eax
call fcn.00407520
mov eax, dword [0x433184]
mov ecx, dword [eax + 0x124]
add esp, 0xc
and ecx, 0xfffffeff
mov dword [eax + 0x124], ecx
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x208]
push ecx
push 0x104
mov byte [ebp - 0x104], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x4023f4
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x104]
push 0x42afe4
push eax
call fcn.00415cfc
add esp, 0xc
mov edx, dword [0x433184]
lea ecx, [ebp - 0x104]
push ecx
push 0xffffffffffffffff
push edx
call fcn.00405640
mov eax, dword [0x433184]
add esp, 0xc
mov word [eax + 0x120], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402420
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
push edi
je 0x4025da
cmp word [ebx], 0x886a
jne 0x4025da
cmp word [ebx + 0x11e], 0xfffb
jne 0x4025da
mov eax, dword [ebx + 0x12c]
cmp eax, 1
je 0x402471
cmp eax, 4
jne 0x4025da
call fcn.004027f0
test eax, eax
je 0x4025da
push ebx
call fcn.00403160
add esp, 4
test eax, eax
jne 0x40248a
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x144]
push eax
push ebx
call fcn.004030c0
add esp, 0xc
test eax, eax
je 0x4024ac
pop edi
pop esi
mov eax, 4
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x12c], 1
je 0x4024dc
lea ecx, [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x4025ce
push ebx
call fcn.00402350
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x20]
push edx
call fcn.00402320
push eax
call fcn.00402c50
add esp, 8
test eax, eax
je 0x4024f8
mov byte [ebp - 0x40], 0
jmp 0x40251b
or ecx, 0xffffffff
xor eax, eax
lea edi, [ebp - 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
lea edx, [ebp - 0x40]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x20]
push ecx
push ebx
call fcn.00402c50
add esp, 8
test eax, eax
jne 0x402547
mov al, byte [ebp - 0x20]
test al, al
je 0x402547
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00416610
add esp, 8
test eax, eax
jne 0x40254e
mov esi, 1
jmp 0x402586
movsx ecx, byte [ebp - 0x20]
push ecx
call fcn.0040ddf0
add esp, 4
cmp eax, 1
jl 0x4025ce
push eax
call fcn.00416598
add esp, 4
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x4025ce
lea edx, [ebp - 0x144]
push edx
push ebx
call fcn.00402c90
add esp, 8
test eax, eax
jne 0x4025bd
mov al, byte [ebp - 0x144]
test al, al
je 0x4025bd
lea eax, [ebp - 0x144]
push eax
call fcn.004164cf
add esp, 4
mov edi, eax
neg edi
sbb edi, edi
inc edi
jne 0x4025c2
movsx ecx, byte [ebp - 0x40]
push ecx
call fcn.0040ddf0
push eax
call fcn.00416598
add esp, 8
jmp 0x4025c2
mov edi, 1
test esi, esi
je 0x4025ce
test edi, edi
jne 0x4024ca
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xb
pop ebx
mov esp, ebp
pop ebp
ret