joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c00
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
imul esi
rcl ebx, 0x59
dec edi
and ebx, 0xca
not edi
or eax, 0x68
ror edx, 0xb5
rcl edi, 0xad
inc edx
neg eax
bswap ebx
and esi, 0x99
ror edx, 0x89
or edx, 0x43
rcl ebx, 0x6e
dec eax
rcr ebx, 0x5b
and edi, 0x85
sub edx, 0x96
dec ebx
rol esi, 0x64
sbb esi, 0x32
sub eax, 0xf0
ror ebx, 0x11
imul edi
inc ebx
inc eax
rol esi, 0x8c
or eax, 0x24
dec ebx
rcl esi, 0x14
and eax, 0x24
rcl edx, 0xbe
ror esi, 0x30
rol ebx, 0x67
imul edi
dec edi
not edi
sbb esi, 0x53
bswap esi
sub edi, 0xcb
inc ebx
or edi, 0x17
imul esi
mov eax, 0xa4
dec edi
rcr esi, 0x3e
dec esi
not edx
sbb eax, 0xe5
xor ecx, ecx
xor edi, edi
sub esi, 0xfe
dec ebx
mov edx, 0xc1
not ebx
inc ebx
inc edx
not ebx
inc eax
imul esi
neg esi
bswap eax
or edi, 0x8d
bswap edx
dec edi
dec edi
rcl edx, 0x4c
neg edi
and edi, 0xce
rcl eax, 0xa1
dec ebx
dec edx
sbb ebx, 0x34
dec ebx
inc ebx
not ebx
add esi, 0xb3
neg esi
bswap edx
neg eax
not eax
sbb edi, 0x80
and edx, 0x70
rcl ebx, 0x48
rol ebx, 0xf6
dec esi
bswap eax
and ebx, 0xce
rcl eax, 0x5d
and edi, 0x98
mov edx, 0x65
rol esi, 0x8c
sbb esi, 0xec
dec esi
bswap eax
add esi, 0xe5
mov ebx, 0x3a
not ebx
rol edx, 0x18
and eax, 0x5c
rcl edx, 0x80
mov ecx, dword [ebp + 0xc]
and ebx, 0x9e
or edi, 0xf8
or esi, 0xb0
not esi
dec ebx
sub edx, 0xa7
neg ebx
ror esi, 4
mov edx, 0x60
ror edi, 0x20
bswap edi
sub edx, 0x99
neg esi
mov edi, 0xb5
dec edi
ror ebx, 0x18
bswap edx
not esi
dec eax
inc edx
not edx
dec edi
dec ebx
rcl ebx, 0x12
bswap ebx
or eax, 0x1e
inc edx
neg eax
dec edi
rol ebx, 0x38
not edx
dec edx
imul eax
or edx, 0x39
not esi
add ebx, 0xe9
sub ebx, 0x6f
not edi
imul edx
add edx, 0x79
mov edx, 0xaa
sbb edi, 0x4f
bswap ebx
rcl edx, 0xe3
dec eax
ror eax, 0x3d
add edi, 0x49
add eax, 0xda
neg edx
bswap edx
mov edi, dword [ebp + 8]
xor eax, eax
xor eax, eax
mov ebx, esi
mov esi, esi
mov esi, esi
xor esi, esi
xor eax, eax
mov eax, ebx
mov esi, eax
mov eax, esi
mov ebx, ebx
mov ebx, eax
not byte [edi]
mov esi, eax
xor ebx, ebx
xor eax, ebx
xor ebx, ebx
xor esi, ebx
mov esi, ebx
xor eax, eax
mov esi, esi
mov esi, eax
sub byte [edi], 0x95
xor ebx, esi
xor eax, esi
mov eax, esi
xor eax, ebx
mov esi, ebx
xor ebx, ebx
xor esi, eax
xor eax, ebx
xor eax, esi
add byte [edi], 0x34
xor esi, esi
xor ebx, eax
mov ebx, esi
xor ebx, eax
mov esi, esi
mov eax, ebx
mov esi, esi
mov ebx, eax
mov ebx, esi
imul byte [edi]
inc edi
loop 0x401dbc
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x405dc0
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 0x405e10
cmp edi, esi
jb 0x405e7b
cmp edi, dword [ebp + 0x10]
ja 0x405e8e
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x405e12
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x405e00
jmp 0x405e6f
ja 0x405e19
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x405dd5
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 0x405e50
mov ebx, esi
sub ecx, edx
jns 0x405e67
jmp 0x405e71
cmp esi, edi
je 0x405ea2
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x405e71
xor al, 1
cmp ebx, edi
jne 0x405e30
jmp 0x405e71
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 0x7f1ed4
call fcn.00404a00
add esp, 4
ud2
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x7f1ed4
call fcn.00404310
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 0x7f1ec4
call fcn.00404630
add esp, 4
ud2
Function at 0x410180
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 0x410197
test eax, eax
jne 0x4102f8
mov edi, dword [0x7fd0c4]
test edi, edi
je 0x4102f8
mov dword [ebp - 0x10], 0
jmp 0x4101b7
mov edi, dword [edi + 8]
test edi, edi
je 0x4101e6
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x410337
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x4101b0
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 0x4101b0
test byte [ebp - 0x10], 1
je 0x4102f8
mov edi, dword [0x7fd0c4]
test edi, edi
je 0x4102f8
mov dword [ebp - 0x10], 0
jmp 0x410217
mov edi, dword [edi + 8]
test edi, edi
je 0x410246
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x410337
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x410210
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 0x410210
test byte [ebp - 0x10], 1
je 0x4102f8
mov edi, dword [0x7fd0c4]
test edi, edi
je 0x4102f8
mov dword [ebp - 0x10], 0
jmp 0x410277
mov edi, dword [edi + 8]
test edi, edi
je 0x4102a6
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x410337
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x410270
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 0x410270
test byte [ebp - 0x10], 1
je 0x4102f8
mov edi, dword [0x7fd0c4]
test edi, edi
je 0x4102f8
mov dword [ebp - 0x10], 0
jmp 0x4102c7
mov edi, dword [edi + 8]
test edi, edi
je 0x4102f2
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x410337
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x4102c0
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 0x4102c0
test byte [ebp - 0x10], 1
jne 0x410302
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov edi, dword [0x7fd0c4]
jmp 0x41030d
mov edi, dword [edi + 8]
test edi, edi
je 0x4102f8
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x410337
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x41030a
push 0
push esi
mov esi, eax
call sub.KERNEL32.dll_TlsSetValue
push esi
call ebx
add esp, 4
jmp 0x41030a
mov edx, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
push 0x7f4d48
call fcn.00404630
add esp, 4
ud2
Function at 0x410f00
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 0x410f2a
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jbe 0x410f3f
cmp dword [eax + 4], 0
mov edi, eax
je 0x410f3f
add edi, 8
jmp 0x410ffe
mov ecx, 0x445030
call fcn.00411290
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
ja 0x410f1a
mov eax, dword [0x445030]
test eax, eax
je 0x410fe3
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x410ffc
mov esi, eax
test eax, eax
jne 0x410fb2
movzx eax, byte [0x7fd060]
mov eax, dword [0x7fd0c0]
test eax, eax
jne 0x410f84
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x411010
mov dword [0x7fd0c0], eax
push 0x10
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x411010
mov dword [eax], 0x445030
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x445030]
test eax, eax
je 0x411004
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 0x410ffe
test ecx, ecx
je 0x410ffe
lock dec dword [ecx]
jne 0x410ffe
call fcn.00411040
jmp 0x410ffe
mov ecx, 0x445030
call fcn.00411290
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x410f5c
xor edi, edi
mov eax, edi
pop esi
pop edi
pop ebp
ret
mov ecx, 0x445030
call fcn.00411290
jmp 0x410fab
mov ecx, 4
mov edx, 0x10
call fcn.00403710
ud2
Function at 0x411290
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 0x4112f9
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 0x41132f
cmp dword [ebp - 0x14], 0
je 0x411316
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x411343
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x7fd0c4]
nop dword [eax + eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x7fd0c4], esi
jne 0x4112e0
push 0
push 0
push ebx
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x411325
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x41137f
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x41131a
mov edi, dword [ebp - 0x10]
jmp 0x411325
mov edi, dword [esi]
jmp 0x411324
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.004113b0
ud2
push 0
push 4
push ebx
call sub.KERNEL32.dll_InitOnceComplete
lea ecx, [ebp - 0x2c]
mov edx, 0x7f4d14
mov dword [ebp - 0x2c], 0x7f4cdc
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.00403c30
ud2
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x7f4cdc
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.00411410
ud2
Function at 0x413170
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 0x413195
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jbe 0x4131aa
cmp dword [eax + 4], 0
je 0x4131aa
add eax, 8
pop esi
pop ebp
ret
mov ecx, 0x445020
call fcn.00411290
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
ja 0x413189
mov eax, dword [0x445020]
test eax, eax
je 0x413229
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x41323e
mov esi, eax
test eax, eax
jne 0x413211
movzx eax, byte [0x7fd060]
mov eax, dword [0x7fd0c0]
test eax, eax
jne 0x4131e3
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x41324f
mov dword [0x7fd0c0], eax
push 0x10
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x41324f
mov dword [eax], 0x445020
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x445020]
test eax, eax
je 0x413243
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.00411290
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x4131bf
xor eax, eax
pop esi
pop ebp
ret
mov ecx, 0x445020
call fcn.00411290
jmp 0x41320a
mov ecx, 4
mov edx, 0x10
call fcn.00403710
ud2
Function at 0x415cb0
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 0x415cce
pop esi
cmp bl, 1
setne dl
sbb ecx, ecx
or cl, dl
cmp cl, 0xff
movzx edx, cl
je 0x415ce5
test edx, edx
jne 0x415d0e
mov byte [ebp - 0x14], bl
movzx ebx, byte [edi + 0x1e]
cmp cl, 0xff
mov dword [ebp - 0x18], ebx
je 0x415cf8
test edx, edx
jne 0x415d02
mov ecx, edi
call fcn.00415bc0
movzx eax, al
movzx ebx, byte [ebp - 0x14]
xor ecx, ecx
test bl, bl
jne 0x415d6f
jmp 0x415d1b
mov dword [ebp - 0x18], 0
xor ecx, ecx
test bl, bl
jne 0x415d6f
xor ecx, ecx
cmp byte [edi + 8], 6
lea edx, [edi + 8]
cmove edx, ecx
je 0x415d6f
movzx ebx, byte [edx]
mov ecx, 6
add esi, dword [ebx*4 + 0x415e84]
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 0x415e72
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 0x415da6
movzx eax, byte [esi + 8]
mov byte [ebp - 0xd], al
mov ebx, dword [ebp - 0x14]
xor eax, eax
jmp 0x415e12
movzx ebx, byte [esi + 8]
cmp bl, 3
mov byte [ebp - 0xd], bl
jae 0x415dcf
add eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
sub eax, edx
lea esi, [edx + esi - 1]
nop
cmp byte [esi], 0x5c
je 0x415e61
dec esi
inc eax
jne 0x415dc0
jmp 0x415d9f
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 0x415dfb
cmp esi, 0x5c
je 0x415dfb
dec edi
inc eax
jne 0x415de0
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
xor eax, eax
jmp 0x415e12
mov edx, dword [ebp - 0x1c]
not eax
lea ecx, [ecx + eax + 1]
cmp edx, ecx
jb 0x415e6b
mov ebx, dword [ebp - 0x18]
mov eax, 1
add ebx, ecx
sub edx, ecx
je 0x415e36
mov cl, 9
cmp edx, 2
je 0x415e3a
cmp edx, 1
jne 0x415e49
cmp byte [ebx], 0x2e
jne 0x415e49
xor ecx, ecx
cmp byte [ebp - 0xd], 3
setae cl
lea ecx, [ecx + ecx*2 + 7]
jmp 0x415e49
mov cl, 0xa
jmp 0x415e49
cmp byte [ebx], 0x2e
jne 0x415e49
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 0x415e08
push 0x7f4158
jmp 0x415e77
push 0x7f4148
call fcn.004042b0
add esp, 4
ud2
Function at 0x42a060
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 0x42a184
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 0x42a1a5
and edx, 0x3f
cmp edx, 0xe
je 0x42a1b4
cmp edx, 0xf
jne 0x42a193
mov eax, dword [edi + 0x68]
test eax, eax
je 0x42a193
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x42a216
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 0x42a0e8
mov dword [esp + 0xc], ecx
sub ecx, edi
jbe 0x42a127
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 0x42a0e0
movzx eax, bl
cmp eax, 0xff
jne 0x42a216
inc ecx
mov edi, ecx
mov ecx, dword [esp + 0xc]
sub ecx, edi
ja 0x42a0e8
test edi, edi
je 0x42a216
mov edx, dword [esp + 0x28]
dec edi
cmp edi, edx
jae 0x42a28b
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 0x42a169
add edx, ecx
mov ecx, dword [edx + 0xac]
cmp ecx, eax
jbe 0x42a238
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 0x42a219
mov dword [ecx + 4], 0
mov byte [ecx], 0x4b
jmp 0x42a230
mov eax, dword [esp]
mov dword [eax + 4], 0
mov byte [eax], 0x4b
jmp 0x42a230
movzx edx, cl
mov ecx, dword [esp]
push esi
push edi
push ebx
push eax
push dword [ebp + 0x14]
jmp 0x42a1e2
mov edx, ebx
movzx ebx, cl
lea ecx, [esp + 0x10]
push ebx
push eax
call fcn.0042a780
add esp, 8
movzx eax, byte [esp + 0x10]
cmp al, 0x4b
jne 0x42a1ec
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.0042a2a0
add esp, 0x14
jmp 0x42a230
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 0x42a230
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 0x42a284
cmp edi, edx
jae 0x42a284
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 0x42a1e2
mov ecx, eax
jmp 0x42a169
mov ecx, edi
push 0x7f3c68
call fcn.00403c60
add esp, 4
ud2
Function at 0x42b270
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 0x42b294
mov edi, dword [ebx + 0xc]
mov ebx, dword [ebx + 4]
jmp 0x42b2a3
mov edi, dword [ebx + 4]
cmp edi, 6
jae 0x42b408
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 0x42b37a
nop
dec edi
add ebx, 0x10
cmp edi, 0xffffffff
je 0x42b393
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.00426940
add esp, 8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, eax
xor edx, 0x2e
or edx, ecx
je 0x42b3bf
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 0x42b2c0
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 0x42b400
cmp dword [edx + 0x14], 0
mov eax, dword [esp]
jne 0x42b3b0
mov dword [edx + 0x14], 1
mov dword [edx + 0x18], 0
jmp 0x42b3b0
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x14], 0
jne 0x42b3ad
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 0x42b400
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 0x7f2bdc
call fcn.00404310
add esp, 4
ud2
Function at 0x441420
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.0043be60
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.0043be60
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 0x441480
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x7fdb10]
test esi, esi
jle 0x4415a0
mov eax, dword [0x7fdb14]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x4414b4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x441537
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x4414a0
mov dword [esp], ebx
call fcn.00441e70
mov edi, eax
test eax, eax
je 0x4415c7
mov eax, dword [0x7fdb14]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00441fb0
mov edx, dword [0x7fdb14]
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 0x4415a7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x441530
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x441540
add dword [0x7fdb10], 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 [0x7fdb14]
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 0x441530
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00441420
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x4414be
mov eax, dword [0x7fdb14]
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.00441420
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00441420
lea esi, [esi]
nop
Function at 0x441ae0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x7fdb2c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x7fdb24]
sub esp, 4
test ebx, ebx
je 0x441b35
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 0x441b2e
test esi, esi
je 0x441b2e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x441b10
mov dword [esp], 0x7fdb2c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x441e70
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x441e95
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x441ea0
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x441e95
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 0x441ee8
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x441ede
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x441eea
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x441ed0
xor eax, eax
pop ebx
pop esi
ret