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

Disassembly:
mov eax, 0xa8
call fcn.00407260
mov eax, dword [0x5b70dc]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xac]
push ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb4]
push ebp
push esi
mov esi, dword [esp + 0xc4]
xor ebp, ebp
mov eax, dword [eax + 4]
push edi
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x14], eax
sub eax, edi
mov dword [esp + 0x10], eax
cmp esi, edi
jae 0x53ceb6
push str.orig_len___md_size
push 0xf8
push str.._ssl_s3_cbc.c
call fcn.0049b050
add esp, 0xc
cmp edi, 0x40
jbe 0x53ced2
push str.md_size___EVP_MAX_MD_SIZE
push 0xf9
push str.._ssl_s3_cbc.c
call fcn.0049b050
add esp, 0xc
lea eax, [esp + 0x34]
neg eax
lea ebx, [esp + 0x34]
and eax, 0x3f
add ebx, eax
lea eax, [edi + 0x100]
mov dword [esp + 0x20], ebx
cmp esi, eax
jbe 0x53cef9
mov ebp, esi
sub ebp, edi
sub ebp, 0x100
mov eax, edi
xor edx, edx
and eax, 0xfffffffe
shl eax, 0x17
sub eax, ebp
add eax, dword [esp + 0x10]
div edi
push edi
mov esi, edx
push 0
push ebx
mov dword [esp + 0x38], esi
call fcn.0041de80
add esp, 0xc
mov dword [esp + 0x18], 0
cmp ebp, dword [esp + 0xc8]
jae 0x53cff1
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov ebx, dword [esp + 0x14]
mov esi, ebx
mov eax, dword [esp + 0xc0]
sub esi, ecx
shr edx, 0x1f
mov dword [esp + 0x1c], edx
mov edx, ebx
shr edx, 0x1f
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], edx
mov edx, ebp
sub edx, ebx
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x20]
add eax, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x24]
mov ecx, ebp
shr ecx, 0x1f
inc ebp
mov al, cl
xor al, byte [esp + 0x1c]
lea ebx, [ebx + edx]
shr edx, 0x1f
xor dl, byte [esp + 0x14]
shr ebx, 0x1f
xor bl, byte [esp + 0x1c]
or bl, al
mov al, cl
xor al, byte [esp + 0x14]
xor bl, cl
or dl, al
dec bl
mov eax, dword [esp + 0x10]
xor dl, cl
mov ecx, dword [esp + 0x28]
dec dl
not dl
mov al, byte [ecx + eax]
mov ecx, dword [esp + 0x18]
and dl, al
and dl, bl
or byte [ecx + esi], dl
mov edx, ecx
inc edx
mov ecx, edx
mov eax, edx
sub ecx, edi
xor eax, edi
xor ecx, edi
or ecx, eax
xor ecx, edx
shr ecx, 0x1f
neg ecx
and edx, ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x10], edx
cmp ebp, dword [esp + 0xc8]
jb 0x53cf70
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
xor edx, edx
test edi, edi
je 0x53d02a
mov ebp, dword [esp + 0x30]
nop dword [eax + eax]
mov eax, esi
xor eax, 0x20
mov al, byte [eax + ebx]
movzx eax, byte [esi + ebx]
inc esi
mov byte [edx + ebp], al
mov ecx, esi
sub ecx, edi
mov eax, esi
xor ecx, edi
xor eax, edi
or ecx, eax
inc edx
xor ecx, esi
shr ecx, 0x1f
neg ecx
and esi, ecx
cmp edx, edi
jb 0x53d000
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040721f
add esp, 0xa8
ret
Function at 0x53da60
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00407260
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
inc ebp
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x64]
test byte [eax + 0x38], 1
je 0x53daa8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 4]
lea eax, [ecx + ebp]
cmp eax, edx
jbe 0x53da9b
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
add dword [esi + 0xc], ecx
add dword [esi + 0x10], ecx
sub edx, ecx
mov dword [esi + 4], edx
jmp 0x53daad
cmp ebp, dword [esi + 4]
ja 0x53da94
test dword [edi + 0x100], 0x200
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 4]
push ebx
movzx ebx, byte [ecx + eax - 1]
je 0x53db00
cmp dword [edi + 0x88], 0
jne 0x53db00
mov eax, dword [edi + 0x58]
push 8
add eax, 8
push 0x5a33bc
push eax
call fcn.0049ad80
add esp, 0xc
test eax, eax
jne 0x53daf3
test bl, 1
jne 0x53daf3
mov eax, dword [edi + 0x58]
or dword [eax], 8
mov eax, dword [edi + 0x58]
test byte [eax], 8
je 0x53db00
test ebx, ebx
je 0x53db00
dec ebx
mov eax, dword [edi + 0x80]
push dword [eax]
call fcn.0049ec40
add esp, 4
test eax, 0x200000
je 0x53db2a
or eax, 0xffffffff
sub eax, ebx
add dword [esi + 4], eax
mov eax, 1
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
mov edi, dword [esi + 4]
lea ecx, [ebx + ebp]
mov edx, edi
mov dword [esp + 0x10], edi
sub edx, ecx
mov eax, edi
xor edx, ecx
xor eax, ecx
or edx, eax
mov ebp, 0xff
xor edx, edi
lea eax, [edi - 1]
shr edx, 0x1f
dec edx
cmp eax, ebp
mov dword [esp + 0x24], edx
cmovb ebp, eax
xor edx, edx
test ebp, ebp
je 0x53dbaf
mov ecx, ebx
dec edi
shr ecx, 0x1f
add edi, dword [esi + 0xc]
mov dword [esp + 0x18], ecx
nop word [eax + eax]
mov ecx, ebx
lea edi, [edi - 1]
sub ecx, edx
mov eax, edx
shr ecx, 0x1f
inc edx
shr eax, 0x1f
xor cl, al
xor al, byte [esp + 0x18]
or cl, al
movzx eax, byte [edi + 1]
xor cl, byte [esp + 0x18]
xor eax, ebx
dec cl
movzx ecx, cl
and ecx, eax
mov eax, dword [esp + 0x24]
not ecx
and eax, ecx
mov dword [esp + 0x24], eax
cmp edx, ebp
jb 0x53db70
mov edi, dword [esp + 0x10]
jmp 0x53dbb3
mov eax, dword [esp + 0x24]
not eax
movzx eax, al
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [ebx + 1]
neg ecx
and eax, ecx
sub edi, eax
shl eax, 8
or dword [esi], eax
mov eax, ecx
pop ebx
mov dword [esi + 4], edi
and eax, 1
pop edi
not ecx
pop esi
or eax, ecx
pop ebp
pop ecx
ret
Function at 0x53dfd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.00407260
push esi
push edi
lea eax, [esp + 0xc]
xor edi, edi
push eax
lea eax, [esp + 0xc]
xor esi, esi
push eax
push edi
call fcn.00526180
add esp, 0xc
test eax, eax
je 0x53e1eb
nop dword [eax + eax]
mov ecx, dword [esp + 8]
lea eax, [esi + 1]
shl ecx, 0xa
inc edi
and ecx, dword [esp + 0x20]
cmove eax, esi
mov esi, eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
push edi
call fcn.00526180
add esp, 0xc
test eax, eax
jne 0x53e000
test esi, esi
je 0x53e1eb
mov eax, dword [esp + 0x50]
cdq
idiv esi
mov edi, dword [esp + 0x5c]
cmp esi, 1
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
mov esi, 0
cmovne esi, dword [esp + 0x58]
push edi
push 0
push ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
call fcn.0041de80
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], 0
push eax
lea eax, [esp + 0x20]
push eax
push 0
call fcn.00526180
add esp, 0x18
test eax, eax
je 0x53e1b6
mov ebx, dword [esp + 0x60]
nop word [eax + eax]
mov eax, dword [esp + 0x10]
shl eax, 0xa
test dword [esp + 0x28], eax
je 0x53e192
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x53e1c3
push edi
push ebx
push dword [esp + 0x58]
and esi, 1
push dword [esp + 0x58]
add esi, dword [esp + 0x2c]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x58]
push esi
mov esi, dword [esp + 0x88]
push esi
push ecx
call fcn.0053e210
add esp, 0x3c
test eax, eax
je 0x53e1e1
add esi, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x54], esi
test edi, edi
jle 0x53e18e
cmp edi, 0x20
jb 0x53e16b
lea eax, [ebx - 1]
lea edx, [ebp - 1]
add eax, edi
add edx, edi
cmp ebp, eax
ja 0x53e121
cmp edx, ebx
jae 0x53e16b
mov eax, edi
and eax, 0x8000001f
jns 0x53e12f
dec eax
or eax, 0xffffffe0
inc eax
mov edx, edi
mov esi, ebx
sub edx, eax
mov eax, ebp
sub esi, ebp
nop dword [eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [ebx + ecx + 0x10]
add ecx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, edx
jl 0x53e140
cmp ecx, edi
jge 0x53e18e
mov esi, ebx
lea eax, [ecx + ebp]
mov edx, edi
sub esi, ebp
sub edx, ecx
nop word [eax + eax]
mov cl, byte [eax + esi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x53e180
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
inc eax
push ecx
push eax
mov dword [esp + 0x2c], eax
call fcn.00526180
add esp, 0xc
test eax, eax
jne 0x53e090
pop ebp
mov eax, 1
pop ebx
pop edi
pop esi
add esp, 0x14
ret
push 0x114
push str.._ssl_t1_enc.c
push 0x146
push 0x11c
push 0x14
call fcn.00491af0
add esp, 0x14
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
push 0x109
push str.._ssl_t1_enc.c
push 0x44
push 0x11c
push 0x14
call fcn.00491af0
add esp, 0x14
xor eax, eax
pop edi
pop esi
add esp, 0x14
ret
Function at 0x54df80
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov edi, dword [esp + 0xc]
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [edi + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push edi
mov esi, eax
call fcn.00484c80
add esp, 8
test esi, esi
jg 0x54dfd7
je 0x54dfb9
cmp esi, 0xffffffff
jne 0x54dfd7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.0054e1e0
add esp, 4
test eax, eax
je 0x54dfd7
push 0xa
push edi
call fcn.00485380
add esp, 8
pop edi
mov eax, esi
pop esi
ret

Function at 0x54e340
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x20]
cmp dword [eax], 6
je 0x54e35b
push eax
push esi
call fcn.0054e9f0
add esp, 8
test eax, eax
jle 0x54e3a3
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push esi
mov edi, eax
call fcn.00484c80
add esp, 8
test edi, edi
jg 0x54e3a0
push edi
call fcn.0054e2a0
add esp, 4
test eax, eax
je 0x54e3a0
push 0xa
push esi
call fcn.00485380
add esp, 8
mov eax, edi
pop edi
pop esi
ret
Function at 0x550280
Capabilities:
Resolve dns

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x10]
mov ebp, 1
push edi
push ebx
push esi
call fcn.00550740
mov edi, eax
add esp, 8
test edi, edi
jns 0x5502bb
push 0x7b
push str..crypto_bio_b_sock.c
push 0x6c
push 0x6a
push 0x20
call fcn.00491af0
add esp, 0x14
jmp 0x55037c
call fcn.00550670
cmp eax, 1
jne 0x55038c
test edi, edi
jle 0x5502d4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
push 0x8e
push str..crypto_bio_b_sock.c
push 0x16
push 9
call fcn.0049ad10
add esp, 0x10
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
test ecx, ecx
jne 0x550311
push 0x92
push str..crypto_bio_b_sock.c
push 0x66
push 0x6a
push 0x20
call fcn.00491af0
add esp, 0x14
jmp 0x550362
cmp word [ecx + 8], 2
je 0x550332
push 0x99
push str..crypto_bio_b_sock.c
push 0x6b
push 0x6a
push 0x20
call fcn.00491af0
add esp, 0x14
jmp 0x550362
mov eax, dword [ecx + 0xc]
xor ebp, ebp
mov eax, dword [eax]
movzx eax, byte [eax]
mov byte [ebx], al
mov eax, dword [ecx + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + 1]
mov byte [ebx + 1], al
mov eax, dword [ecx + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + 2]
mov byte [ebx + 2], al
mov eax, dword [ecx + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + 3]
mov byte [ebx + 3], al
push 0xa2
push str..crypto_bio_b_sock.c
push 0x16
push 0xa
call fcn.0049ad10
add esp, 0x10
test ebp, ebp
je 0x550393
push esi
push str.host
push 2
call fcn.00491040
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x5506f0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 8]
push esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jns 0x550730
push 0x233
push str..crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 5
push 2
call fcn.00491af0
add esp, 0x14
xor eax, eax
test esi, esi
pop esi
sete al
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x406037
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x406046
pop dword [ebp - 0x18]
mov eax, 0x406046
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xb1cdc81
sub dword [ebp - 0x28], 0xbcca9736
mov dword [ebp - 0x24], 0x6ec6aef8
add dword [ebp - 0x24], 0xc36c9d4d
mov dword [ebp - 0x20], 0x61b42004
sub dword [ebp - 0x20], 0x1567dbd6
mov dword [ebp - 0x1c], 0x40593c42
sub dword [ebp - 0x1c], 0x40593c42
lea eax, [ebp - 0x28]
push eax
mov eax, 0x3d6d102c
sub eax, 0x3d2c3fd8
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x629f143
sub dword [ebp - 0x28], 0x91b787ed
mov dword [ebp - 0x24], 0xa35702cb
sub dword [ebp - 0x24], 0x61eaa156
mov dword [ebp - 0x20], 0x5ba85b66
sub dword [ebp - 0x20], 0xf838eefa
mov dword [ebp - 0x1c], 0x29616b51
sub dword [ebp - 0x1c], 0x29616b51
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3d6b3
push 0
call eax
mov ecx, 0x6c736a28
sub ecx, 0x6c7312cb
xor edi, edi
add edi, eax
mov edx, 0x41b000
add edx, dword [ebp - 0x18]
mov esi, 0x66a9d8d7
mov dword [ebp - 0x10], 0x8a409ddd
mov ebx, dword [edx]
sub dword [ebp - 0x10], 0x2b71b8ca
sub ebx, esi
xor dword [ebp - 0xc], esi
mov dword [edi], ebx
sub dword [ebp - 0xc], 0xbbd41bfe
add edi, 4
add edx, 0x8f2b81f7
sub edx, 0x8f2b81f3
loop 0x406154
add eax, 0x15047
mov ebx, eax
add eax, 0xa3cb4604
add eax, 0x5c34ba01
mov ecx, 0x59258306
add ecx, 0xa71a7cfa
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp word [0x42bcee], 0
push ebx
push ebp
push esi
push edi
mov ebx, 1
je 0x401022
mov eax, dword [0x42bd18]
mov dword [0x42bd08], ebx
test eax, eax
jne 0x40102c
mov dword [0x42bd08], 0
mov eax, dword [0x42bcf8]
push 0x76afffff
dec eax
push 0xd60bffff
mov word [0x42bce2], ax
call fcn.0040e580
movsx cx, byte [0x42bcdc]
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
add esp, 8
mov byte [0x42bce0], al
mov word [0x42bcee], cx
call edi
mov ebp, eax
call edi
sub eax, ebp
cmp eax, 0x535
jae 0x401193
mov edx, dword [0x42bd08]
push edx
push 0x9971ffff
call fcn.0040e580
push 0xc9dbffff
push 0xd4cfffff
mov word [0x42bce8], ax
call fcn.0040e4c0
movsx ecx, word [0x42bce4]
mov byte [0x42bcde], al
mov eax, dword [0x42bd08]
push eax
push ecx
call fcn.0040e670
movsx edx, byte [0x42bce0]
push edx
push 0x5379ffff
mov dword [0x42bd10], eax
call fcn.0040e6b0
mov cl, byte [0x42bce0]
mov byte [0x42bcdb], al
xor eax, eax
test cl, cl
movsx ecx, word [0x42bcf0]
setne al
and ecx, 0xda53ffff
mov word [0x42bcee], ax
mov dword [0x42bd04], ecx
call fcn.004011b0
mov edx, dword [0x42bd00]
push 0x2a63ffff
push edx
mov esi, eax
call fcn.0040e4c0
add esp, 0x28
cmp esi, 0xd0000000
mov byte [0x42bce0], al
ja 0x401127
cmp esi, 0x80000000
jae 0x40119a
movsx eax, byte [0x42bcde]
push eax
push 0x9fe7ffff
call fcn.0040e540
movsx ecx, word [0x42bce6]
push 0x44afffff
push ecx
mov byte [0x42bcd8], al
call fcn.0040e500
mov edx, dword [0x42bd14]
push 0x5605ffff
push edx
mov dword [0x42bd04], eax
call fcn.0040e670
movsx ecx, word [0x42bce2]
mov dword [0x42bd10], eax
add esp, 0x18
movsx eax, word [0x42bce6]
imul eax, ecx
mov dword [0x42bd18], eax
call edi
sub eax, ebp
cmp eax, 0x535
jb 0x401077
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
Function at 0x40d560
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x425189
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
movsx ax, byte [0x42bcdf]
movsx edx, word [0x42bce6]
push ebx
or ecx, 0xffffffff
push esi
xor ebx, ebx
sub ecx, eax
push edx
push 0xf2f3ffff
mov dword [esp + 0x10], ebx
mov word [0x42bcee], cx
call fcn.0040e580
mov byte [0x42bcd9], al
mov eax, dword [0x42bd08]
push eax
push 0x73c5ffff
call fcn.0040e580
lea ecx, [esp + 0x18]
mov word [0x42bce8], ax
push ecx
push ebx
call fcn.0040f840
mov dl, byte [esp + 0x44]
mov dword [0x42bd14], 1
mov byte [0x42bcd9], 0xff
mov byte [esp + 0x24], dl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
movsx eax, word [0x42bcf0]
movsx ecx, word [0x42bcee]
and eax, 0xe3f5ffff
push ecx
push 0x6f77ffff
mov dword [esp + 0x44], ebx
mov dword [0x42bd00], eax
call fcn.0040e6b0
mov word [0x42bcec], ax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0041e250
movsx ecx, word [0x42bce8]
movsx edx, byte [0x42bcde]
and ecx, 0x75ebffff
push 0x9f87ffff
push edx
mov byte [0x42bcdb], 1
mov dword [0x42bd18], ecx
call fcn.0040e6b0
mov dword [0x42bd04], eax
push 0x6029ffff
movsx eax, word [0x42bce8]
push eax
call fcn.0040e540
mov esi, dword [esp + 0x64]
mov cl, byte [esp + 0x44]
mov byte [0x42bce0], al
add esp, 0x38
mov byte [esi], cl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0xc]
mov eax, dword [edx]
push eax
push ebx
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x40d6d7
mov al, byte [ecx - 1]
cmp al, bl
je 0x40d6cd
cmp al, 0xff
je 0x40d6cd
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
dec ecx
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x410c10
Capabilities:
Write file on windows

Disassembly:
movsx eax, word [0x42bcf0]
movsx ecx, word [0x42bcf2]
push ebx
push edi
push eax
push ecx
call fcn.0040e480
mov edi, dword [0x42bd04]
mov dword [0x42bd00], eax
xor eax, eax
push 0xaf1fffff
test edi, edi
setne al
push 0x813fffff
mov word [0x42bce8], ax
mov word [0x42bcf0], ax
call fcn.0040e500
mov edx, dword [0x42bd04]
push 0xe035ffff
and dx, word [0x42bce4]
push 0x52d3ffff
mov byte [0x42bcdf], al
xor ebx, ebx
mov word [0x42bcea], dx
call fcn.0040e670
mov byte [0x42bcde], al
mov eax, dword [esp + 0x24]
mov dword [0x42bd10], 0x8f4a0001
add esp, 0x18
mov eax, dword [eax + 4]
test eax, eax
jne 0x410ca0
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov cl, byte [0x42bcdb]
mov edi, eax
dec cl
cmp edi, 0xffffffff
mov byte [0x42bcdb], cl
je 0x410df5
push esi
push 0xd4d5ffff
push 0x14c3ffff
call fcn.0040e540
movsx edx, word [0x42bcee]
mov cl, byte [0x42bcdb]
push 0x47c3ffff
dec cl
push edx
mov dword [0x42bd08], eax
mov byte [0x42bcd9], cl
call fcn.0040e580
mov esi, dword [esp + 0x24]
mov byte [0x42bcdb], al
add esp, 0x10
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
test eax, eax
jne 0x410d1f
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x10]
push 0
push edx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
movsx eax, byte [0x42bcda]
movsx ecx, word [0x42bce4]
push eax
push ecx
mov word [0x42bcf0], 0xfffe
call fcn.0040e540
mov edx, dword [0x42bd08]
mov byte [0x42bcdd], al
push edx
push 0xffffffffffffffff
mov word [0x42bcea], 0xffff
call fcn.0040e480
mov byte [0x42bcdd], al
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 8]
add esp, 0x10
cmp eax, ecx
pop esi
jne 0x410d9c
movsx ecx, word [0x42bce4]
push ecx
push 0xe965ffff
call fcn.0040e480
add esp, 8
mov dword [0x42bcfc], eax
mov ebx, 1
mov edx, dword [0x42bd08]
push 0xa815ffff
push edx
call fcn.0040e500
mov byte [0x42bce0], al
add esp, 8
movsx eax, byte [0x42bcde]
imul eax, eax, 0x231bffff
cmp word [0x42bce2], 0
mov dword [0x42bcfc], eax
je 0x410de4
mov al, byte [0x42bcdd]
mov dword [0x42bd04], 1
test al, al
jne 0x410dee
mov dword [0x42bd04], 0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x4e6fffff
push 0x97fffff
call fcn.0040e620
movsx edx, word [0x42bce8]
mov cl, byte [0x42bce6]
push edx
neg cl
push 0x6e13ffff
mov byte [0x42bcde], al
mov byte [0x42bcd9], cl
call fcn.0040e500
add esp, 0x10
mov byte [0x42bcdd], al
mov eax, ebx
pop edi
pop ebx
ret
Function at 0x415070
Capabilities:
Hash data with md5

Disassembly:
mov al, byte [0x42bd18]
push esi
mov esi, ecx
dec al
xor ecx, ecx
mov byte [0x42bcdd], al
lea edx, [esi + 0x10]
mov dword [esi + 0x10], ecx
mov dword [edx + 4], ecx
mov ecx, dword [0x42bd14]
movsx eax, byte [0x42bcde]
mov edx, dword [0x42bcfc]
and eax, ecx
movsx ecx, word [0x42bce8]
push ecx
push edx
mov dword [0x42bd10], eax
call fcn.0040e6b0
add esp, 8
cmp word [0x42bce6], 0
mov dword [0x42bd10], eax
je 0x4150d6
mov al, byte [0x42bcde]
mov word [0x42bcee], 1
test al, al
jne 0x4150df
mov word [0x42bcee], 0
movsx eax, byte [0x42bce0]
push 0x8dfffff
push eax
call fcn.0040e500
mov byte [0x42bcda], al
mov dword [esi], 0x67452301
movsx eax, word [0x42bcec]
push eax
push eax
call fcn.0040e480
mov byte [0x42bce0], al
mov dword [esi + 4], 0xefcdab89
movsx edx, byte [0x42bcd8]
mov cl, byte [0x42bce8]
push 0x3ac1ffff
neg cl
push edx
mov byte [0x42bcde], cl
call fcn.0040e580
push 0x52efffff
mov byte [0x42bcdf], al
push 0x6d95ffff
mov dword [esi + 8], 0x98badcfe
call fcn.0040e540
mov byte [0x42bcde], al
mov word [0x42bce2], 0
mov dword [esi + 0xc], 0x10325476
movsx eax, word [0x42bce2]
push eax
push 0x32e5ffff
call fcn.0040e500
add esp, 0x28
mov byte [0x42bcdb], al
pop esi
ret