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

Disassembly:
jae 0x711a59
cmp al, al
inc edi
retf
pop ecx
mov ebx, 0x425c6d51
cmp byte [ecx - 8], dh
inc edx
ret
aad 0x8d
mov byte [eax + 0x27e069ee], al
add al, 0xd4
insd dword es:[edi], dx
cmp al, 0x17
mov dword [eax - 0x30], edx
and byte [edx + ebp*2], dh
mov esp, 0x1068ee12
nop
cld
js 0x711a43
mov edx, 0x31082756
push esi
daa
or byte [ecx], dh
sbb ebp, dword ss:[eax - 0x34e8f01]
push es
sub esi, dword [edx + 0x570c1708]
inc esp
clc
out 0x89, al
mov edx, 0x710be94c
cmp dword [0x1e05b218], ebx
mov eax, 0xb68ce7c3
out 0x8c, eax
mov dh, 0xa
stosb byte es:[edi], al
pop edx
jns 0x711a88
pushal
out 0x8c, eax
mov dh, 0xa
stosb byte es:[edi], al
pop edx
jns 0x711a88
pushal
enter 0xffffffffffffa301, 0xd
push edx
or al, 0x71
xor al, 0x85
push ds
loopne 0x711ab9
mov dl, 0x10
push 0x24
push ds
adc byte [0x749ef694], ah
jp 0x711a6c
push edi
push ds
adc al, 0xbe
lds edx, [ebx]
mov esi, 0xcad63dc3
je 0x711af2
mov esi, 0xc3be13c5
cmp eax, 0x1774cad6
sbb dword [esi + eax*4 - 0x3bf9f900], 0x20
xor ebx, ebx
sub byte [ebx], ch
js 0x711b06
sub byte [eax - 0x77ae97ac], ch
or edx, eax
loop 0x711b03
adc bl, bl
lodsd eax, dword [esi]
salc
ret 0xeb14
fld xword [ebp - 0x14eb3d2a]
mov edi, dword [edi]
mov esi, 0xf76a980a
xchg dword [edi + ecx + 0xd769385], edx
jmp 0x711a85
jne 0xae7e919c
jbe 0x711b15
scasb al, byte es:[edi]
aad 6
jno 0x711b31
int1
pop es
test dword [ebx], ebx
clc
sbb byte [ebx + ebx*2 + 0x62], ah
nop
jno 0x711b0f
bound edx, qword [eax + 0x6a05f671]
out 0xd, eax
xor ah, byte [0xdf791704]
add eax, 0x320de76a
and eax, 0xdf791704
leave
add ch, byte [esi]
int 0xec
jo 0x711af8
fcom dword [ebx]
inc ebp
clc
push esi
push cs
pop es
sbb al, 0xd1
adc byte [edi + ecx - 0x267cdd78], bh
xor al, 0xbc
and dword [edi], esp
xchg edx, eax
or byte [eax + 0x69610074], al
mov edx, 0xe90e426
loop 0x711ad1
sub eax, 0x3aa71080
fidiv dword [esi + 0x6952cc08]
push es
invalid
Function at 0x405db0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea edi, [esi + eax]
jne 0x405e00
cmp edi, esi
jb 0x405e6b
cmp edi, dword [ebp + 0x10]
ja 0x405e7e
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x405e02
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x405df0
jmp 0x405e5f
ja 0x405e09
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x405dc5
mov edi, dword [ebp + 0x18]
movzx ecx, cx
mov al, 1
add edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebx]
lea esi, [ebx + 1]
test dl, dl
js 0x405e40
mov ebx, esi
sub ecx, edx
jns 0x405e57
jmp 0x405e61
cmp esi, edi
je 0x405e92
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x405e61
xor al, 1
cmp ebx, edi
jne 0x405e20
jmp 0x405e61
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x7cd0d4
call fcn.004049f0
add esp, 4
ud2
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x7cd0d4
call fcn.00404300
add esp, 4
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov edx, 0x2b
push 0x7cd0c4
call fcn.00404620
add esp, 4
ud2
Function at 0x410170
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x410187
test eax, eax
jne 0x4102e8
mov edi, dword [0x7d80c4]
test edi, edi
je 0x4102e8
mov dword [ebp - 0x10], 0
jmp 0x4101a7
mov edi, dword [edi + 8]
test edi, edi
je 0x4101d6
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x410327
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x4101a0
push 0
push esi
mov esi, eax
call sub.KERNEL32.dll_TlsSetValue
push esi
call ebx
add esp, 4
mov al, 1
mov dword [ebp - 0x10], eax
jmp 0x4101a0
test byte [ebp - 0x10], 1
je 0x4102e8
mov edi, dword [0x7d80c4]
test edi, edi
je 0x4102e8
mov dword [ebp - 0x10], 0
jmp 0x410207
mov edi, dword [edi + 8]
test edi, edi
je 0x410236
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x410327
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x410200
push 0
push esi
mov esi, eax
call sub.KERNEL32.dll_TlsSetValue
push esi
call ebx
add esp, 4
mov al, 1
mov dword [ebp - 0x10], eax
jmp 0x410200
test byte [ebp - 0x10], 1
je 0x4102e8
mov edi, dword [0x7d80c4]
test edi, edi
je 0x4102e8
mov dword [ebp - 0x10], 0
jmp 0x410267
mov edi, dword [edi + 8]
test edi, edi
je 0x410296
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x410327
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x410260
push 0
push esi
mov esi, eax
call sub.KERNEL32.dll_TlsSetValue
push esi
call ebx
add esp, 4
mov al, 1
mov dword [ebp - 0x10], eax
jmp 0x410260
test byte [ebp - 0x10], 1
je 0x4102e8
mov edi, dword [0x7d80c4]
test edi, edi
je 0x4102e8
mov dword [ebp - 0x10], 0
jmp 0x4102b7
mov edi, dword [edi + 8]
test edi, edi
je 0x4102e2
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x410327
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x4102b0
push 0
push esi
mov esi, eax
call sub.KERNEL32.dll_TlsSetValue
push esi
call ebx
add esp, 4
mov al, 1
mov dword [ebp - 0x10], eax
jmp 0x4102b0
test byte [ebp - 0x10], 1
jne 0x4102f2
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov edi, dword [0x7d80c4]
jmp 0x4102fd
mov edi, dword [edi + 8]
test edi, edi
je 0x4102e8
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x410327
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x4102fa
push 0
push esi
mov esi, eax
call sub.KERNEL32.dll_TlsSetValue
push esi
call ebx
add esp, 4
jmp 0x4102fa
mov edx, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
push 0x7cff48
call fcn.00404620
add esp, 4
ud2
Function at 0x410ef0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [0x445030]
test eax, eax
je 0x410f1a
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jbe 0x410f2f
cmp dword [eax + 4], 0
mov edi, eax
je 0x410f2f
add edi, 8
jmp 0x410fee
mov ecx, 0x445030
call fcn.00411280
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
ja 0x410f0a
mov eax, dword [0x445030]
test eax, eax
je 0x410fd3
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x410fec
mov esi, eax
test eax, eax
jne 0x410fa2
movzx eax, byte [0x7d8060]
mov eax, dword [0x7d80c0]
test eax, eax
jne 0x410f74
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x411000
mov dword [0x7d80c0], eax
push 0x10
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x411000
mov dword [eax], 0x445030
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x445030]
test eax, eax
je 0x410ff4
dec eax
push esi
push eax
call sub.KERNEL32.dll_TlsSetValue
mov ecx, dword [esi + 0xc]
cmp dword [esi + 4], 0
lea edi, [esi + 8]
mov dword [esi + 4], 1
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
je 0x410fee
test ecx, ecx
je 0x410fee
lock dec dword [ecx]
jne 0x410fee
call fcn.00411030
jmp 0x410fee
mov ecx, 0x445030
call fcn.00411280
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x410f4c
xor edi, edi
mov eax, edi
pop esi
pop edi
pop ebp
ret
mov ecx, 0x445030
call fcn.00411280
jmp 0x410f9b
mov ecx, 4
mov edx, 0x10
call fcn.00403700
ud2
Function at 0x411280
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x4112e9
lea ebx, [esi + 0xc]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push 0
push eax
push 0
push ebx
call sub.KERNEL32.dll_InitOnceBeginInitialize
cmp eax, 1
mov dword [ebp - 0x10], eax
jne 0x41131f
cmp dword [ebp - 0x14], 0
je 0x411306
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x411333
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x7d80c4]
nop dword [eax + eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x7d80c4], esi
jne 0x4112d0
push 0
push 0
push ebx
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x411315
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x41136f
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x41130a
mov edi, dword [ebp - 0x10]
jmp 0x411315
mov edi, dword [esi]
jmp 0x411314
mov edi, eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
call fcn.004113a0
ud2
push 0
push 4
push ebx
call sub.KERNEL32.dll_InitOnceComplete
lea ecx, [ebp - 0x2c]
mov edx, 0x7cff14
mov dword [ebp - 0x2c], 0x7cfedc
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov dword [ebp - 0x20], 0
call fcn.00403c20
ud2
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x7cfedc
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00411400
ud2
Function at 0x413160
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [0x445020]
test eax, eax
je 0x413185
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jbe 0x41319a
cmp dword [eax + 4], 0
je 0x41319a
add eax, 8
pop esi
pop ebp
ret
mov ecx, 0x445020
call fcn.00411280
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
ja 0x413179
mov eax, dword [0x445020]
test eax, eax
je 0x413219
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x41322e
mov esi, eax
test eax, eax
jne 0x413201
movzx eax, byte [0x7d8060]
mov eax, dword [0x7d80c0]
test eax, eax
jne 0x4131d3
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x41323f
mov dword [0x7d80c0], eax
push 0x10
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x41323f
mov dword [eax], 0x445020
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x445020]
test eax, eax
je 0x413233
dec eax
push esi
push eax
call sub.KERNEL32.dll_TlsSetValue
mov dword [esi + 4], 1
mov dword [esi + 8], 0
lea eax, [esi + 8]
mov byte [esi + 0xc], 0
pop esi
pop ebp
ret
mov ecx, 0x445020
call fcn.00411280
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x4131af
xor eax, eax
pop esi
pop ebp
ret
mov ecx, 0x445020
call fcn.00411280
jmp 0x4131fa
mov ecx, 4
mov edx, 0x10
call fcn.00403700
ud2
Function at 0x415ca0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
movzx ebx, byte [edx + 0x1c]
mov dword [ebp - 0x20], ecx
xor eax, eax
mov ecx, 0
mov edi, edx
call 0x415cbe
pop esi
cmp bl, 1
setne dl
sbb ecx, ecx
or cl, dl
cmp cl, 0xff
movzx edx, cl
je 0x415cd5
test edx, edx
jne 0x415cfe
mov byte [ebp - 0x14], bl
movzx ebx, byte [edi + 0x1e]
cmp cl, 0xff
mov dword [ebp - 0x18], ebx
je 0x415ce8
test edx, edx
jne 0x415cf2
mov ecx, edi
call fcn.00415bb0
movzx eax, al
movzx ebx, byte [ebp - 0x14]
xor ecx, ecx
test bl, bl
jne 0x415d5f
jmp 0x415d0b
mov dword [ebp - 0x18], 0
xor ecx, ecx
test bl, bl
jne 0x415d5f
xor ecx, ecx
cmp byte [edi + 8], 6
lea edx, [edi + 8]
cmove edx, ecx
je 0x415d5f
movzx ebx, byte [edx]
mov ecx, 6
add esi, dword [ebx*4 + 0x415e74]
jmp esi
add eax, ecx
movzx ecx, byte [ebp - 0x18]
mov edx, dword [edi + 4]
mov dword [ebp - 0x1c], ecx
add ecx, eax
cmp edx, ecx
jb 0x415e62
mov esi, edi
mov edi, dword [edi]
cmp edx, ecx
mov ebx, edi
lea ebx, [edi + ecx]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
jne 0x415d96
movzx eax, byte [esi + 8]
mov byte [ebp - 0xd], al
mov ebx, dword [ebp - 0x14]
xor eax, eax
jmp 0x415e02
movzx ebx, byte [esi + 8]
cmp bl, 3
mov byte [ebp - 0xd], bl
jae 0x415dbf
add eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
sub eax, edx
lea esi, [edx + esi - 1]
nop
cmp byte [esi], 0x5c
je 0x415e51
dec esi
inc eax
jne 0x415db0
jmp 0x415d8f
add eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
sub eax, edx
lea edi, [edx + esi - 1]
nop
movzx esi, byte [edi]
cmp esi, 0x2f
je 0x415deb
cmp esi, 0x5c
je 0x415deb
dec edi
inc eax
jne 0x415dd0
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
xor eax, eax
jmp 0x415e02
mov edx, dword [ebp - 0x1c]
not eax
lea ecx, [ecx + eax + 1]
cmp edx, ecx
jb 0x415e5b
mov ebx, dword [ebp - 0x18]
mov eax, 1
add ebx, ecx
sub edx, ecx
je 0x415e26
mov cl, 9
cmp edx, 2
je 0x415e2a
cmp edx, 1
jne 0x415e39
cmp byte [ebx], 0x2e
jne 0x415e39
xor ecx, ecx
cmp byte [ebp - 0xd], 3
setae cl
lea ecx, [ecx + ecx*2 + 7]
jmp 0x415e39
mov cl, 0xa
jmp 0x415e39
cmp byte [ebx], 0x2e
jne 0x415e39
cmp byte [ebx + 1], 0x2e
sete cl
xor cl, 9
mov esi, dword [ebp - 0x20]
add eax, edx
mov dword [esi], eax
mov byte [esi + 4], cl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
not eax
lea ecx, [ecx + eax + 1]
cmp edx, ecx
jae 0x415df8
push 0x7cf358
jmp 0x415e67
push 0x7cf348
call fcn.004042a0
add esp, 4
ud2
Function at 0x417560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x490
call fcn.00417574
Function at 0x42a050
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x42a174
mov dword [esp], ecx
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
movzx ecx, byte [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ch, dl
and ch, 0x3f
cmp ch, 0xd
je 0x42a195
and edx, 0x3f
cmp edx, 0xe
je 0x42a1a4
cmp edx, 0xf
jne 0x42a183
mov eax, dword [edi + 0x68]
test eax, eax
je 0x42a183
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x42a206
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], edx
xor edi, edi
mov dword [esp + 0x24], eax
mov dword [esp + 8], ecx
mov ecx, edx
mov edx, dword [esp + 8]
jmp 0x42a0d8
mov dword [esp + 0xc], ecx
sub ecx, edi
jbe 0x42a117
mov esi, dword [ebp + 0xc]
shr ecx, 1
xor ebx, ebx
add ecx, edi
imul eax, ecx, 0x110
cmp dword [edx + eax + 0x108], esi
mov eax, 0xff
setne bl
cmovb ebx, eax
cmp bl, 1
je 0x42a0d0
movzx eax, bl
cmp eax, 0xff
jne 0x42a206
inc ecx
mov edi, ecx
mov ecx, dword [esp + 0xc]
sub ecx, edi
ja 0x42a0d8
test edi, edi
je 0x42a206
mov edx, dword [esp + 0x28]
dec edi
cmp edi, edx
jae 0x42a27b
mov edx, dword [esp + 8]
imul ecx, edi, 0x110
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x18]
cmp dword [edx + ecx + 0xa8], 0
jne 0x42a159
add edx, ecx
mov ecx, dword [edx + 0xac]
cmp ecx, eax
jbe 0x42a228
mov edx, dword [esp]
movzx eax, byte [esp + 0x12]
movzx esi, word [esp + 0x10]
mov byte [esp + 6], al
mov word [esp + 4], si
jmp 0x42a209
mov dword [ecx + 4], 0
mov byte [ecx], 0x4b
jmp 0x42a220
mov eax, dword [esp]
mov dword [eax + 4], 0
mov byte [eax], 0x4b
jmp 0x42a220
movzx edx, cl
mov ecx, dword [esp]
push esi
push edi
push ebx
push eax
push dword [ebp + 0x14]
jmp 0x42a1d2
mov edx, ebx
movzx ebx, cl
lea ecx, [esp + 0x10]
push ebx
push eax
call fcn.0042a770
add esp, 8
movzx eax, byte [esp + 0x10]
cmp al, 0x4b
jne 0x42a1dc
mov ecx, dword [esp]
mov edx, ebx
push esi
push edi
push dword [ebp + 0x18]
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.0042a290
add esp, 0x14
jmp 0x42a220
movzx ecx, byte [esp + 0x13]
mov edx, dword [esp]
movzx edi, word [esp + 0x11]
mov esi, dword [esp + 0x14]
movsd xmm0, qword [esp + 0x18]
mov byte [edx + 3], cl
mov word [edx + 1], di
mov byte [edx], al
mov dword [edx + 4], esi
movsd qword [edx + 8], xmm0
jmp 0x42a220
mov edx, dword [esp]
movzx eax, byte [esp + 6]
movzx esi, word [esp + 4]
mov byte [edx + 3], al
mov word [edx + 1], si
mov byte [edx], 0x37
mov dword [edx + 4], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
sub eax, ecx
xor ecx, ecx
cmp byte [edx + 0xc9], 8
mov dword [esp + 8], edx
mov edi, eax
sete cl
shl ecx, 3
add ecx, dword [edx + 0xcc]
mov edx, dword [edx + 0xc4]
sub ecx, edx
add ecx, 4
sub edi, ecx
jb 0x42a274
cmp edi, edx
jae 0x42a274
mov edi, dword [esp + 0x24]
mov ecx, dword [esp]
mov edx, 1
add edi, 8
push esi
push edi
push ebx
push eax
push dword [esp + 0x18]
jmp 0x42a1d2
mov ecx, eax
jmp 0x42a159
mov ecx, edi
push 0x7cee68
call fcn.00403c50
add esp, 4
ud2
Function at 0x42b260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov ebx, dword [edx + 8]
mov dword [esp], ecx
mov eax, dword [edx]
mov ecx, dword [edx + 4]
cmp dword [ebx], 0
je 0x42b284
mov edi, dword [ebx + 0xc]
mov ebx, dword [ebx + 4]
jmp 0x42b293
mov edi, dword [ebx + 4]
cmp edi, 6
jae 0x42b3f8
add ebx, 8
test edi, edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
je 0x42b36a
nop
dec edi
add ebx, 0x10
cmp edi, 0xffffffff
je 0x42b383
lea eax, [ebx - 0x10]
lea ecx, [esp + 0x20]
lea esi, [esp + 0x38]
lea edx, [esp + 0xc]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [esp + 0x1c]
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x38], xmm0
mov eax, dword [eax + 0xc]
push esi
push dword [eax + 0x20]
call fcn.00426930
add esp, 8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, eax
xor edx, 0x2e
or edx, ecx
je 0x42b3af
lea esi, [esp + 0x32]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov esi, dword [esi]
mov dword [esp + 4], esi
lea esi, [esp + 0x32]
movzx esi, word [esi + 4]
mov word [esp + 8], si
movzx esi, word [esp + 0x30]
cmp si, word [ebp + 8]
mov esi, dword [esp + 0x2c]
jne 0x42b2b0
movzx edi, word [esp + 8]
mov ebx, dword [esp]
mov word [ebx + 0x16], di
mov edi, dword [esp + 4]
mov dword [ebx + 0x12], edi
mov dword [ebx + 4], ecx
movzx ecx, word [ebp + 8]
mov dword [ebx], eax
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], esi
mov word [ebx + 0x10], cx
jmp 0x42b3f0
cmp dword [edx + 0x14], 0
mov eax, dword [esp]
jne 0x42b3a0
mov dword [edx + 0x14], 1
mov dword [edx + 0x18], 0
jmp 0x42b3a0
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x14], 0
jne 0x42b39d
mov ecx, dword [esp + 0xc]
sub ecx, dword [eax]
mov dword [eax + 0x14], 1
mov dword [eax + 0x18], ecx
mov eax, dword [esp]
mov dword [eax + 4], 0
mov dword [eax], 0x2e
jmp 0x42b3f0
lea edx, [esp + 0x32]
mov ecx, dword [esp]
mov edi, dword [esp + 0x2c]
mov esi, dword [edx]
movzx eax, word [edx + 4]
movzx edx, word [esp + 0x30]
mov dword [esp + 4], esi
mov dword [ecx + 0x12], esi
mov esi, dword [esp + 0x28]
mov word [ecx + 0x16], ax
mov word [esp + 8], ax
mov dword [ecx + 0xc], edi
mov dword [ecx + 8], esi
mov word [ecx + 0x10], dx
mov dword [ecx + 4], 0
mov dword [ecx], 0x2f
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edi
mov edx, 5
push 0x7cdddc
call fcn.00404300
add esp, 4
ud2
Function at 0x441410
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.0043be50
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.0043be50
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x441470
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x7d8b10]
test esi, esi
jle 0x441590
mov eax, dword [0x7d8b14]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x4414a4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x441527
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x441490
mov dword [esp], ebx
call fcn.00441e60
mov edi, eax
test eax, eax
je 0x4415b7
mov eax, dword [0x7d8b14]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00441fa0
mov edx, dword [0x7d8b14]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x441597
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x441520
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x441530
add dword [0x7d8b10], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x7d8b14]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x441520
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00441410
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x4414ae
mov eax, dword [0x7d8b14]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00441410
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00441410
lea esi, [esi]
nop
Function at 0x441ad0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x7d8b2c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x7d8b24]
sub esp, 4
test ebx, ebx
je 0x441b25
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x441b1e
test esi, esi
je 0x441b1e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x441b00
mov dword [esp], 0x7d8b2c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x441e60
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x441e85
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x441e90
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x441e85
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x441ed8
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x441ece
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x441eda
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x441ec0
xor eax, eax
pop ebx
pop esi
ret