joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9c35af
Capabilities:
Execute anti-debugging instructions

Disassembly:
mul dl
and ax, 0x863a
adc esi, 1
push eax
ror ax, 0xc7
sbb byte [esp], 0x14
xor cl, bl
ror cl, 1
add edx, eax
adc cl, 0xa4
xchg dword [esp + edx - 0x752cb6a6], eax
or byte [esp + edx - 0x752cb6a6], dl
ror dx, 0x81
xor cl, 0x9c
add cl, 0x84
rol cl, 1
xor bl, cl
btr edx, 0x94
cdq
sbb ebp, 2
inc dl
ror al, 0xa5
xchg dh, dl
mov word [ebp], cx
neg al
push edx
mov edx, dword [esi]
lea ecx, [eax*4 + 0x62aa721a]
shl word [esp + ecx - 0x4d028b79], 0xa9
lea esi, [esi + ecx - 0x4d028b7a]
push ecx
cwde
adc ecx, ecx
xor edx, ebx
sal ax, 0xaf
ror cl, 0x61
lea edx, [edx + ecx + 0x29b97021]
pop eax
shl cl, 0xc2
ror edx, 2
xor edx, 0xce30262e
add al, ah
lea eax, [eax*8 + 0x14b87e9a]
ror byte [esp + eax - 0x7cccd6dd], 0xe4
inc edx
sal ecx, 0x66
cbw
ror edx, 1
xor word [esp + eax - 0x7cccffe0], 0x4a0b
pop ecx
dec edx
neg dword [esp + eax - 0x7cccffe2]
shl ax, 0x6d
ja 0x98987d
add ebp, 6
mov dword [esp], 0x77125b3e
shrd eax, edx, cl
mov dword [ebp], eax
jmp 0x902b34
push eax
inc ecx
shr al, 0xe3
xor ebx, edx
add esi, edx
not ecx
mov dword [esp + eax - 0x1d], esi
ret 8
jmp 0x91fb91
pop ecx
jmp edi
xor ebx, edx
pop eax
add edi, edx
btr cx, cx
jae fcn.009338ec
mov edx, dword [edi]
mov cx, word ss:[edx]
mov edx, 0x21a8eea6
bt edx, edx
mov eax, 0x7f23f787
lea edi, [edx + edi - 0x21a8eea4]
mov word [edi + edx*2 - 0x4351dd4c], cx
sbb al, dh
lea eax, [edx + eax*4 + 0x1d320503]
lea ecx, [edx + eax*8 + 0x110e2339]
lea esi, [esi + edx*2 - 0x4351dd50]
lea eax, [edx + edx*2 - 0x167d86eb]
seto dl
mov ecx, dword [esi + edx*2 - 0x4351dc00]
xadd dx, ax
btc ax, ax
xor edx, 0x4dbedba3
xor ecx, ebx
not edx
xadd eax, edx
xchg edx, eax
rol ecx, 1
sal ax, 5
mul ax
lea ecx, [edx + ecx - 0x2929d599]
cwd
ror ecx, 1
xchg dl, al
push eax
dec word [esp + eax - 0x4e7d03ff]
not ecx
setns dl
xor ebx, ecx
inc dword [esp + eax - 0x4e7d0400]
cwde
add ebp, ecx
movzx ecx, dx
not cl
btr dx, ax
mov dword [esp + eax*4 - 0x1000], ebp
ret
mov ecx, dword [esi + ecx - 0x4c9eba88]
mov eax, dword [esi + 4]
mov dword [esp], 0xa3849007
add esi, 4
mov edx, dword [esp]
imul edx, edx
lock xchg dword ss:[ecx], eax
ror edx, 0xbc
mov dword [esi + edx*2 - 0x47fc0638], eax
lea ecx, [edx + edx*8 + 0x23a2411e]
lea edi, [edi + edx*2 - 0x47fc063c]
mov ecx, dword [edx + edi - 0x23fe031c]
xor ecx, ebx
lea eax, [edx + edx*4 - 0x2ccd7bfc]
call fcn.0086495b
mov ecx, 0xec363c99
movzx eax, cx
cwde
lea esi, [esi + eax*2 - 0x7936]
lea edx, [ecx + ecx*8 - 0x65d372dc]
cwde
mov eax, dword [esi + eax*8 - 0x1e4c8]
xor eax, ebx
xor eax, 0xf209ae34
btr edx, 0x19
not eax
xadd cl, dl
sbb eax, 0xe321782e
bswap eax
bt ecx, ecx
not dl
sal edx, 0x7a
not eax
jnp 0x8a31ac
jnp 0x8a4122
add edx, ecx
xor ebx, eax
sal edx, 0xfe
add edi, eax
lea eax, [edx*2 + 0x6dbc459c]
mov ecx, dword [ebp + eax - 0x6dbc459c]
mul edx
call fcn.008b508d
push eax
xor ebx, edx
and al, ch
setns al
adc ebp, edx
movsx edx, ax
shl ecx, 0xb4
not ax
fsub qword [esi + eax - 0xfffe]
rol dword [esp + ecx*2], 1
and ax, cx
adc dword [esp + ecx], ebp
ret
Function at 0x9c406c
Capabilities:
Execute anti-debugging instructions

Disassembly:
shrd dx, ax, cl
mov word [edi], dx
sub esi, 4
mov edx, dword [esp + 4]
mov edx, dword [esi + edx - 0x6a10c229]
mov ecx, dword [esp + 4]
imul ecx, ecx
xor edx, ebx
bt cx, 5
neg edx
call fcn.00954722

Function at 0x9c4102
Capabilities:
Execute anti-debugging instructions

Disassembly:
not ecx
or eax, eax
lea ecx, [ecx + edx + 0x28a84e2c]
push eax
add dx, 0x5e84
add al, byte [esp + edx - 0x8f0f]
xor ebx, ecx
add ebp, ecx
ror edx, 0xab
mov eax, dword [edi]
movzx ecx, dx
mov edx, dword [ecx + edi - 0xd]
btc ecx, ecx
pop ecx
bts cx, cx
mov cl, byte [edi + 8]
push 0x1497a908
dec dword [esp]
call fcn.008a8b1b
ror cx, 1
bswap eax
neg cx
sal eax, 0xe
shr dl, 0x21
cdq
adc cx, ax
imul word [esp + edx*4 + 5]
shl ax, 0xa9
ror cx, 1
mov dword [esp + eax*2], eax
dec cx
mul eax
cwd
setae al
neg cx
pop eax
xor bx, cx
dec dword [esp + eax]
or dx, 0xc9b9
lea ebp, [eax + ebp - 4]
add ax, ax
adc dword [esp + eax*2], eax
mov dword [ebp + eax*4], ecx
and dl, 0x39
pop eax
jge fcn.009338ec
bswap ecx
neg eax
jno 0x92ce57

Function at 0x9c415e
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + ecx - 0x293d3f22], 0x8c1e7791
xor edx, 0xf87d00f
bts ecx, ecx
btc eax, 0xb6
adc eax, 0x79bc50ba
inc edx
xor ebx, edx
lea ecx, [eax*2 - 0x1dc0e96b]
add edi, edx
mov bp, word [ebp + eax - 0x79ff50ba]
shr ecx, 0x81
not cx
pop eax
jbe fcn.009338ec
Function at 0x9c57b3
Capabilities:
Execute anti-debugging instructions

Disassembly:
btr edx, edx
lea edx, [ecx + ecx + 0x43352982]
adc esi, eax
lea eax, [ecx + ecx*8 - 0x44ec3480]
ror ax, cl
lea ebp, [eax + ebp - 0x73134c4f]
movzx edx, byte [ebp + edx - 0x3335280a]
jae 0x9afdbe
lea esi, [esi + eax*4 - 0x77e287fb]
imul eax, dword [esp + eax - 0x1df8a1fb]
xor cl, bl
sub word [esp + eax - 0xa92bbfe], 0xcaa8
ror cl, 1
push eax
rol dword [esp + eax*2 - 0x152577fa], 0x8e
shr edx, 0x96
sbb cl, 0xb7
cdq
rol cl, 1
idiv eax
inc eax
add cl, 0x17
cdq
lea edx, [eax*2 - 0x4edde4ed]
xadd dword [esp + eax + 6], edx
xor bl, cl
sub ebp, eax
xchg edx, eax
btr ax, ax
mov dword [esp + edx], 0x7db2ea92
mov word [ebp + eax*2 - 0x509a0efc], cx
movzx ecx, dx
inc al
pop eax
pop ecx
pop eax
jne fcn.009338ec
mov eax, 0xca09643b
movsx edx, ax
mov ecx, dword [esi + edx*4 - 0x190ec]
lea esi, [esi + edx*8 - 0x321d4]
xor ecx, ebx
call fcn.009a7a15
adc edi, 2
add dx, dx
jo 0x89c66b
neg ecx
rol edx, 0x1b
shr eax, 0x52
lea ecx, [ecx + eax*2 - 0x280666bc]
neg ecx
lea eax, [edx*8 - 0xc704254]
rol eax, 0x8c
xor ebx, ecx
add esi, ecx
sub eax, eax
movzx ecx, dl
sub ax, 0x73e
jmp esi
sbb eax, 0x65267203
ror edx, 0x8d
cmovb edx, ecx
btr ecx, ecx
bswap eax
dec ecx
setl dl
dec eax
xor edx, edx
xor eax, 0x118d223f
xor ebx, eax
jmp 0x884a24
call fcn.009aba99
test ebx, ebx
jmp loc.0040208b
mov dword [esp + ecx - 0x4c300000], ecx
xor edx, ebx
mov eax, dword [esp + ecx - 0x4c300000]
btr ax, ax
not edx
setb byte [esp + eax - 0x4c2ffffe]
setb byte [esp + ecx - 0x4c2fffff]
sbb edx, 0x4d074fb0
not edx
ror ecx, 0x47
neg word [esp + ecx*2 - 0x130bfff]
sar al, 0xe7
neg edx
sar al, 3
not edx
call fcn.00860da3
jp fcn.009b97d0
pushfd
call fcn.00981186
mov byte [esp + ecx - 0x29], cl
sar word [esp + ecx - 0x2a], cl
mov cl, byte [ebp + ecx*2 - 0x56]
jp 0x995aec
adc ebp, 1
mov eax, 0x4e8b5b97
shl dword [esp + eax - 0x4e8b5b97], 0x5c
lea eax, [eax + eax + 0x64214c28]
shl dl, cl
or dword [esp + eax*2 - 0x27006ac], eax
mov ecx, 0xa0904417
sal ecx, 0x7e
mov word [ebp + eax*2 - 0x27006ac], dx
mov dword [esp + eax - 0x1380356], edi
ret
Function at 0x9c5c9d
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea ecx, [eax*8 + 0x3f35d915]
lea esi, [esi + ecx - 0x3f35dc79]
bswap eax
xor edx, ebx
xor ecx, 0xd91b553b
push eax
ror edx, 1
or ecx, eax
not dword [esp + eax - 0x6d000000]
inc cl
not edx
not eax
mov dword [esp], 0xd00390ac
inc edx
bt eax, 0xa5
not eax
rol edx, 1
and dword [esp + eax - 0x6d000000], eax
lea eax, [ecx + ecx*4 - 0x4c3e771]
and ecx, ecx
xor ebx, edx
shl eax, cl
add edi, edx
mov ecx, ebp
mov edx, eax
add dword [esp], eax
sbb ebp, 4
xor dx, ax
cdq
sub eax, 0xad1020a5
mov dword [ebp], ecx
seta dl
inc dword [esp]
pop edx
jle fcn.009338ec
shrd edx, eax, cl
not dword [esp + 3]
mov ecx, dword [esp + 4]
mov dword [edi + ecx*4 - 0x3fffec0], edx
call fcn.008bd52f
mov ecx, edx
popfd
ror dl, 0x46
shr cx, cl
jnp 0x924ea2
mov ecx, 0x693ef82
xor cl, ch
mov edx, dword [esi + ecx - 0x693ef6d]
movzx eax, cl
jae 0x91bac0
mov ecx, 0xab2495b5
movsx edx, cl
sub edi, 4
btr ecx, 0xa7
mov ecx, dword [edi]
setae dl
sal edx, 0x15
adc dl, dh
xor ecx, ebx
movsx eax, dl
rol ecx, 1
bts eax, eax
and edx, 0x6e982695
sar al, 3
neg ecx
sar eax, 0xa4
inc dl
or edx, eax
ror ecx, 1
dec ecx
mul eax
neg al
xor ebx, ecx
mul edx
jae 0x989443
bswap eax
inc edx
neg edx
xor ebx, edx
mov dword [esp + ecx], 0xb5398aa6
or al, byte [esp + ecx*2 + 3]
xor cl, ah
adc ebp, edx
cdq
sar ecx, 0xe2
xor al, cl
mov ecx, dword [edi + ecx*4 - 0x44]
sub eax, 0x4aaa601e
adc edi, 4
xadd dword [esp], edx
mov dword [esp], ecx
js 0x91d13f
Function at 0x1001665
Capabilities:
Accept command line arguments

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x1001684
cmp cx, 0x20
je 0x1001681
cmp cx, 9
jne 0x100168c
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x1001675
mov cx, word [eax]
xor edi, edi
test cx, cx
je 0x10017c2
test edi, edi
jne 0x10016aa
cmp cx, 0x20
je 0x10016c4
cmp cx, 9
je 0x10016c4
cmp cx, 0x22
jne 0x10016b9
xor ecx, ecx
test edi, edi
sete cl
mov edi, ecx
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x100169a
mov cx, word [eax]
test cx, cx
je 0x10017c2
push 2
pop edi
movzx ecx, cx
sub ecx, 0x50
je 0x100178a
sub ecx, edi
je 0x100173f
sub ecx, 5
je 0x1001712
sub ecx, 0x19
je 0x100178a
sub ecx, edi
je 0x100173f
sub ecx, 5
jne 0x10017b3
jmp 0x1001712
cmp cx, 0x3a
je 0x1001712
cmp cx, 0x20
je 0x1001712
cmp cx, 9
jne 0x100171d
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x1001700
push 0x1014014
push eax
call fcn.01001630
jmp 0x10017b3
cmp cx, 0x3a
je 0x100173f
cmp cx, 0x20
je 0x100173f
cmp cx, 9
jne 0x100174a
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x100172d
push 0x1014010
push eax
call fcn.01001630
mov ecx, dword [0x1014010]
cmp ecx, 0x10
jle 0x100176c
mov dword [0x1014010], 0x10
jmp 0x10017b3
cmp ecx, edi
jge 0x10017b3
mov dword [0x1014010], edi
jmp 0x10017b3
cmp cx, 0x3a
je 0x100178a
cmp cx, 0x20
je 0x100178a
cmp cx, 9
jne 0x1001795
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x1001778
push str.__n_n_
push eax
call fcn.01001630
cmp dword [str.__n_n_], 0x40
jle 0x10017b3
mov dword [str.__n_n_], 0x40
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x10016d3
pop edi
pop esi
ret 4

Function at 0x10049a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x1014efc], esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
jne 0x10049c1
push esi
push esi
push esi
push esi
call edi
mov dword [0x1014efc], eax
cmp dword [0x1014f00], esi
jne 0x10049d5
push esi
push esi
push 1
push esi
call edi
mov dword [0x1014f00], eax
cmp dword [0x1014f04], esi
jne 0x10049f5
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x1004916
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1014f04], eax
cmp dword [ebp + 8], esi
push dword [0x1014f00]
je 0x1004a1a
mov dword [0x1014f58], esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [0x1014efc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1004a47
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x1014f08]
cmp eax, esi
je 0x1004a38
push esi
push 4
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x1014f58], esi
je 0x1004a47
push 5
call fcn.01004a4d
pop edi
pop esi
leave
ret 4

Function at 0x100565b
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [ebp + 8]
cmp eax, 0x12c
push ebx
push esi
push edi
je 0x10059d5
cmp eax, 0x12d
je 0x10057cb
cmp eax, 0x12e
je 0x1005792
mov esi, 0x12f
cmp eax, esi
je 0x1005726
jbe 0x1005a73
cmp eax, 0x131
jbe 0x10056cb
cmp eax, 0x13d
invalid
invalid
Function at 0x403ef0
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, dl
xor eax, ecx
imul eax, eax, 0x1000193
ret
Function at 0x409310
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x40933c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const]
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x4093be
jg 0x409364
test esi, esi
je 0x4093be
test ecx, ecx
jl 0x4093b9
jg 0x40936e
test eax, eax
je 0x4093b9
cmp edi, ecx
jg 0x409382
jl 0x409378
cmp esi, eax
jae 0x409382
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
push eax
call fcn.0040a900
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, ecx
sub esi, ecx
mov dword [esp + 0x10], eax
sbb edi, dword [esp + 0x14]
push ecx
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int_]
mov eax, dword [esp + 0x10]
jmp 0x4093c1
mov eax, dword [ebp + 8]
jmp 0x4093cb
mov eax, dword [ebp + 8]
test edi, edi
jl 0x4093e5
jg 0x4093cb
test esi, esi
je 0x4093e5
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x4093e5
push ecx
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409400
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x44700c]
xor eax, esp
mov dword [esp + 8], eax
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, ecx
test esi, esi
jg 0x409443
jl 0x40942a
test ebp, ebp
jne 0x409443
pop edi
pop esi
pop ebp
xor eax, eax
xor edx, edx
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0043b1a9
add esp, 0xc
ret 0xc
cmp dword [edi + 0x38], 0
je 0x409467
push esi
push ebp
push ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0043b1a9
add esp, 0xc
ret 0xc
mov dword [esp + 0x10], ebp
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4094ae
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
call fcn.00409540
mov ecx, edi
mov esi, dword [eax]
push esi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const]
push eax
push ebx
call fcn.0040a900
sub dword [esp + 0x1c], esi
add esp, 0xc
mov ecx, edi
add ebx, esi
push esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int_]
mov esi, dword [esp + 0x28]
cmp dword [edi + 0x4c], 0
je 0x409514
mov ecx, edi
call fcn.0040a130
mov ecx, dword [esp + 0x10]
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp ecx, 0xfff
jbe 0x4094fc
nop dword [eax]
push dword [edi + 0x4c]
push 0xfff
push 1
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0x10
sub ecx, eax
add ebx, eax
mov dword [esp + 0x10], ecx
cmp eax, 0xfff
jne 0x409518
cmp ecx, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x4094d0
test ecx, ecx
je 0x409518
push dword [edi + 0x4c]
push ecx
push 1
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0x10
sub ecx, eax
jmp 0x409518
mov ecx, dword [esp + 0x10]
sub ebp, ecx
mov ecx, dword [esp + 0x18]
pop edi
sbb esi, 0
mov eax, ebp
mov edx, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b1a9
add esp, 0xc
ret 0xc
Function at 0x4098e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x44700c]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push edi
mov edi, ecx
call fcn.0040a8a0
mov ebx, eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
push eax
call fcn.0040a8d0
add esp, 8
test al, al
je 0x40992f
lea ecx, [esp + 0x3c]
call fcn.0040a8b0
pop edi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0043b1a9
add esp, 0x30
ret 4
push esi
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
test eax, eax
je 0x409983
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const]
mov ecx, edi
mov esi, eax
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
cmp eax, esi
jae 0x409983
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov esi, eax
lea eax, [esp + 0x40]
push eax
call fcn.00409a60
add esp, 4
mov byte [esi], al
mov eax, dword [esp + 0x40]
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0043b1a9
add esp, 0x30
ret 4
cmp dword [edi + 0x4c], 0
je 0x409a42
mov ecx, edi
call fcn.0040a130
mov esi, dword [edi + 0x38]
lea eax, [esp + 0x40]
push eax
call fcn.00409a60
add esp, 4
test esi, esi
jne 0x4099be
mov edx, dword [edi + 0x4c]
mov cl, al
call fcn.00403950
test al, al
cmovne ebx, dword [esp + 0x40]
jmp 0x409a42
mov byte [esp + 0x17], al
mov ecx, esi
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x2b]
push eax
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x409a10
sub eax, 1
je 0x409a10
sub eax, 2
jne 0x409a42
mov edx, dword [edi + 0x4c]
mov cl, byte [esp + 0x17]
call fcn.00403950
test al, al
cmovne ebx, dword [esp + 0x40]
jmp 0x409a42
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x18]
sub esi, eax
je 0x409a30
push dword [edi + 0x4c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x409a42
lea eax, [esp + 0x17]
mov byte [edi + 0x3d], 1
cmp dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
jne 0x409a44
mov eax, ebx
mov ecx, dword [esp + 0x38]
pop esi
pop edi
pop ebx
xor ecx, esp
call fcn.0043b1a9
add esp, 0x30
ret 4
Function at 0x40a1a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x44700c]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x40a289
cmp byte [ebx + 0x3d], 0
je 0x40a289
mov eax, dword [ebx]
push esi
push edi
mov esi, dword [eax + 0xc]
call fcn.0040a8a0
mov edi, eax
mov ecx, ebx
push edi
call esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
call fcn.0040a8d0
add esp, 8
test al, al
jne 0x40a275
mov ecx, dword [ebx + 0x38]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [ebx + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x40a238
sub eax, 1
je 0x40a23c
sub eax, 2
jne 0x40a275
pop edi
mov byte [ebx + 0x3d], al
mov al, 1
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0043b1a9
add esp, 0x30
ret
mov byte [ebx + 0x3d], 0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x18]
sub esi, eax
je 0x40a25c
push dword [ebx + 0x4c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x40a275
cmp byte [ebx + 0x3d], 0
pop edi
pop esi
sete al
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0043b1a9
add esp, 0x30
ret
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0043b1a9
add esp, 0x30
ret
mov ecx, dword [esp + 0x30]
mov al, 1
pop ebx
xor ecx, esp
call fcn.0043b1a9
add esp, 0x30
ret

Function at 0x411c50
Capabilities:
Create thread

Disassembly:
sub esp, 8
mov eax, dword [0x44700c]
xor eax, esp
mov dword [esp + 4], eax
push esi
push edi
push ecx
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0040a960
mov ecx, dword [esp + 0x14]
call fcn.00409c50
mov edx, eax
lea ecx, [esp + 8]
call fcn.00411ed0
lea edi, [esi + 4]
push edi
push 0
lea ecx, [esp + 0x10]
call fcn.00411990
push eax
push 0x411f10
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x411ccd
lea ecx, [esp + 8]
call fcn.00411390
lea ecx, [esp + 8]
call fcn.00411d80
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.0043b1a9
add esp, 8
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x41a320
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41a384
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [esp + 8]
call fcn.00409cb0
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41a37d
lea ecx, [esp + 8]
call fcn.00409cb0
inc eax
push eax
call fcn.00409cc0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
lea ecx, [esp + 4]
jmp fcn.00409e40

Function at 0x41a390
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0x20
mov eax, dword [0x44700c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
push esi
push edi
push 0
mov esi, ecx
call ebx
test eax, eax
je 0x41a416
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
push 0
mov edi, eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
je 0x41a3cb
call ebx
test edi, edi
je 0x41a416
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41a416
push eax
lea ecx, [esp + 0x10]
call fcn.00409e90
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call ebx
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.00409e50
lea ecx, [esp + 0xc]
call fcn.00409e40
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0043b1a9
add esp, 0x20
ret
push 0x43d4bd
mov ecx, esi
call fcn.00409e90
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043b1a9
add esp, 0x20
ret

Function at 0x43bc4e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43bc8d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43bc8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43bc8d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43bc8d
cmp dword [ecx + 0x74], 0xe
jbe 0x43bc8d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret