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

Disassembly:
lea esi, [esi + esi + 0x2db74027]
mov ah, 0x36
daa
inc eax
mov bh, 0x2d
xchg dword [esp + 0xc], ecx
jbe 0x7ef106
xor esi, 0x6b746d69
bswap esi
call fcn.0060dd0c
mov ebp, 0x12679877
sbb byte [ecx - 0xdde2d45], bh
pop ss
inc ebp
sub eax, 0x41186857
shr byte [eax - 0x2d4968fc], cl
rcr dword [ecx - 0xed2443a], 1
pop edi
pop esp
dec esi
sub eax, 0x57e3e0a2
sal byte [eax - 0x2d775c57], cl
jo 0x67ecda
adc edx, dword [ebx + 0x1723112d]
inc ebp
sub eax, 0x823f9562
shl byte [edi], cl
xchg ecx, eax
xor al, 0x13
xor eax, 0x47b0cd95
jg 0x67ed61
scasb al, byte es:[edi]
iretd
mov bh, byte [esi + 0x5722d2bf]
cmp edi, 0xffffffa9
adc byte [ebx], ch
in al, 0xd8
cmpsb byte [esi], byte es:[edi]
invalid

Function at 0x682365
Capabilities:
Encode data using xor

Disassembly:
pushfd
mov ebx, 0x7e9618ca
not ebx
push ebx
add dword [esp + 8], 0xff8fbde0
mov ebx, dword [esp + 0xc]
mov dword [esp + 0xc], 0x1370b6fc
push ebx
mov ebx, 0x54ba1d89
mov byte [esp + 4], 0x81
push esi
push edx
or dword [esp + 0xc], ebx
mov ebx, dword [esp + 8]
xor word [esp + 0xc], 0xa5
setne byte [esp + 0xc]
mov esi, 0x31c1320c
add dword [esp + 0xc], esi
cmovb esi, dword [esp + 0xc]
mov esi, dword [esp + 4]
add byte [esp + 0xc], 0x82
mov dword [esp + 0xc], 0xab64882
mov edx, 0x5683016b
test dl, 0xf0
mov dword [esp + 0xc], 0x36b85a92
mov edx, dword [esp]
mov byte [esp + 0xc], 0x54
call fcn.0074dc72
invalid

Function at 0x687742
Capabilities:
Encode data using xor

Disassembly:
call fcn.00865438
lodsb al, byte [esi]
popfd
push es
push ebx
inc ebp
or dword [edi], ebx
add byte [ecx + ecx*2], ch
mov dword [0xe7e5ac61], ebp
dec edx
mov dword [ebx - 0x72], edx
mov eax, dword [0x10539102]
lds ebp, [ecx - 0x5f9d38f]
or byte [esi + 0x2c], bh
lea ecx, [0xa253b2fa]
in eax, 0x8b
test al, 0x53
enter 0x24cf, 0x4c
lodsb al, byte [esi]
dec ecx
push 0x2c5ed3
xor dl, byte [ebx - 0x11e0d301]
pop es
invalid

Function at 0x6888a0
Capabilities:
Encode data using xor

Disassembly:
push esi
pushfd
mov esi, 0x521023c8
lea esi, [esi + esi + 0x3f0d11e1]
xchg dword [esp + 0xc], ebx
cmp esi, 0x4587117d
push ebx
jbe 0x80a882
push esi
mov ebx, dword [esp]
xor bl, 0x51
mov ebx, dword [esp + 4]
mov dword [esp + 0x10], ebx
and dword [esp], 0x1a525c55
mov dword [esp + 4], esi
or word [esp], 0x2790
call fcn.007c4369
inc ecx
jno 0x6888c0
sar bh, 0xe
cdq
int3
dec edx
neg edx
jmp fcn.00810b3e
sub esi, 0x5d2d38e3
jle 0x81afaf
bswap esi
test esi, esi
call fcn.007fd9a2
not edx
jmp 0x706b12
sub bl, bl
or ebx, ebx
call fcn.00603054
xor al, 0x49
xor bl, al
cmp edi, esi
test bp, 0x3ab7
mov word [esp + eax], cx
xchg cx, cx
and ecx, 0x195a1483
mov ecx, dword [edi]
clc
cmc
cmp bx, sp
lea edi, [edi + 4]
cmp edx, ecx
test edi, 0x11f525e7
xor ecx, ebx
cmc
clc
bswap ecx
jmp fcn.007f54fa
Function at 0x70e288
Capabilities:
Encode data using xor

Disassembly:
lea eax, [eax - 0x338d3ac5]
bswap eax
lea eax, [eax - 0x41ca3038]
jmp 0x851dd9
invalid
les ecx, [ebx + 0x3b66f507]
out dx, eax
test bh, dl
xor eax, ebx
test ax, 0xa0f
cmc
cmp ebp, 0x796a34f3
neg eax
jmp 0x6670e6
mov ecx, 0x4f12a0f
push ecx
call fcn.007c7024
adc dword [ebp - 0x77], 0xffffff85
scasb al, byte es:[edi]
push esi
mov ch, 4
mov dl, 0xda
jle 0x70e269
bound esp, qword [ebx + ebx*4 - 0x1c]
nop
jp 0x70e22b
mov ebx, 0xc09a2088
enter 0x1485, 0x1a
dec esp
xchg ebx, eax
and dword [esi + 0x68756b81], ebp
jp 0x70e2f3
insd dword es:[edi], dx
adc dword [edx - 0x4ae9588f], esi
int1
add ebx, edx
call [ebx + ecx*2 + 0x153d5d93]
invalid
sbb dword [eax], 0x69446204
outsb dx, byte [esi]
push 0xffffffffffffff86
imul ebx, dword [ecx + 0x180], 0xda560800
salc
sub byte [edi + 0x30], bh
inc edx
and eax, 0x9261103c
xor dh, ah
inc eax
sub edx, dword [edx + 0x31]
jle 0x70e2fa
mov edi, 0xd63ce166
retf 0x782c
jmp fcn.007a0dc9
xor ebx, eax
cmp ebp, edx
stc
add esi, eax
jmp 0x78d70a

Function at 0x7b7e06
Capabilities:
Execute anti-debugging instructions

Disassembly:
je 0x69bd65
mov eax, dword [ebp + ebx*4]
clc
push eax
cmc
sub ebx, 1
jmp 0x69bd5f
jne 0x600e61
mov eax, dword [ebp]
jmp 0x5b6610
test ebx, ebx
jmp 0x600e5b
ror cl, 1
bt edx, edx
xor eax, ebp
bsr ax, bp
xor bl, cl
neg dx
xchg edx, eax
push ebp
sbb dl, 0x9c
sar ebp, 0x47
bt bp, 0x2c
push edi
rdtsc
bts ax, si
push ebx
xor ebx, 0x78885346
adc bl, 0xa7
cmovl bx, sp
mov ebp, esi
cwde
stc
mov ebx, ecx
shld dx, di, 0x40
xor eax, 0x59ea5ab0
sbb ax, 0x45fb
mov edx, ebx
shld eax, ebx, 0x19
shl edx, 2
sbb ah, bh
sar al, 0xc5
or eax, esi
mov eax, ebp
cmp edx, 0x54e62ac6
cmc
cmp ecx, ecx
lea eax, [eax + edx]
stc
mov dword [ebp - 4], eax
cmp edi, 0x63b912b5
clc
jmp 0x6d29c2
call fcn.00600e73
lea ebp, [ebp - 1]
shld eax, edx, 0x31
movzx ecx, byte [ebp]
rdtsc
rcl edx, cl
rcr dx, 0x53
xor cl, bl
sal eax, cl
shld eax, ebp, 0xbc
clc
sub cl, 0xdc
xor cl, 0x57
add ah, 0x34
add cl, 0xd6
jmp 0x6e8c3f

Function at 0x7c32fe
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
call fcn.007cd9cd
push ecx
push edx
pushfd
mov edx, 0x7f28590c
or dx, 0x4808
add dl, 0x1d
or dl, 0x1a
mov ecx, dword [esp + edx - 0x7f28592f]
xor dx, 0x2d48
call fcn.006f552f
and bl, byte [esi]
mov byte [esi], cl
mov word [esi - 0x40], ss
out dx, eax
adc ebx, eax
inc esi
jno 0x7c32f7
push 0xffffffffffffffe9
mov bh, 0xeb
das
lodsb al, byte [esi]
and bh, byte cs:[edi + 0x2f07b83a]
dec edx
mov dword [0x1dff351a], eax
xor al, al
adc byte [edx + 0x4245c8b], bh
call fcn.00653098
Function at 0x7c7bde
Capabilities:
Check for software breakpoints

Disassembly:
mov esi, dword [esp + 0xc]
not word [esp + 0x48]
call fcn.0076f90c
clc
xor edx, 0x4ab5c9c
cmc
jmp 0x69fbb4
jle 0x6d502e
arpl word cs:[eax - 0x6c6d94dc], sp
mov byte [0x2392bfd2], al
mov ecx, 0x2734e62d
outsd dx, dword [esi]
sub eax, 0x4493d765
rol byte [ebx + 0x79], cl
sub eax, 0xbfa4d2a4
sbb dword [edx + 0x2d], 0x3a
add eax, 0xc5d25e8c
imul eax, dword [ebx], 0xf8b8d2a9
push edx
movsb byte es:[edi], byte [esi]
sub eax, 0x51c80e40
sub eax, 0xa24624c3
ror byte [ebp - 0x38ff8d36], cl
ror dword [ecx - 0x1c], 1
sti
pop eax
sub dl, byte [ebp - 0x1e087b2e]
cmp al, 0xd9
push 0xe1007405
mul dword [ebp - 0x1c]
loop 0x7c7c80
xchg esp, eax
sub bh, byte [edi + 0x65]
push ss
jle 0x7c7c46
jecxz 0x7c7c03
pop ebx
sub bh, byte [ebx - 0x2dbea8e7]
lcall 0xa5bf, 0xea553f23
jecxz 0x7c7c40
in al, 0xab
jl 0x4984191c
invalid
int 0xac
mov byte [edi + 0x1d376f15], bh
jl 0x7c7c7c
mov edx, 0x9c1d1bd9
pushfd
sar dl, cl
leave
mov bl, 0x62
sub eax, 0x66bc437c
ror byte [ebx - 0x2d703a2f], cl
mov ch, byte [edi]
idiv byte [ecx - 0x17]
jg 0x7c7c71
jl 0x7c7c46
mov word [eax], ds
jno 0x7c7c46
bound esp, qword [ebp - 0xc]
xor byte [0x5a7bb455], al
pushal
sub eax, 0x38133459
mov esp, 0xd2a6f166
js 0x7c7d22
cmp ah, dl
invalid
sub eax, 0xf4a20820
pop esi
popal
or dword [eax + 0x7b3b9e05], esi
jne 0x7c7dad
xor eax, 0x49d5c181
inc ecx
iretd
in eax, 0x6b
iretd
Function at 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x455030]
jne 0x401116
repz ret
jmp fcn.00401d61

Function at 0x40a9f4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406d3e
and dword [ebp - 4], 0
cmp dword [0x457894], 0
mov ebx, eax
jne 0x40aaa5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ab56
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40ab56
push eax
call fcn.00406ccc
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x457894], eax
call esi
push eax
call fcn.00406ccc
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x457898], eax
call esi
push eax
call fcn.00406ccc
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45789c], eax
call esi
push eax
call fcn.00406ccc
pop ecx
mov dword [0x4578a4], eax
test eax, eax
je 0x40aaa5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406ccc
pop ecx
mov dword [0x4578a0], eax
mov eax, dword [0x4578a0]
cmp eax, ebx
je 0x40aafd
cmp dword [0x4578a4], ebx
je 0x40aafd
push eax
call fcn.00406d47
push dword [0x4578a4]
mov esi, eax
call fcn.00406d47
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40aafd
test edi, edi
je 0x40aafd
call esi
test eax, eax
je 0x40aaf4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40aaf4
test byte [ebp - 0xc], 1
jne 0x40aafd
or dword [ebp + 0x10], 0x200000
jmp 0x40ab36
mov eax, dword [0x457898]
cmp eax, ebx
je 0x40ab36
push eax
call fcn.00406d47
pop ecx
test eax, eax
je 0x40ab36
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ab36
mov eax, dword [0x45789c]
cmp eax, ebx
je 0x40ab36
push eax
call fcn.00406d47
pop ecx
test eax, eax
je 0x40ab36
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x457894]
call fcn.00406d47
pop ecx
test eax, eax
je 0x40ab56
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ab58
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x437008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ecx]
xor eax, eax
push ebx
mov ebx, dword [ecx + 4]
add ebx, edx
cmp edx, ebx
je 0x401ef0
push esi
push edi
jmp 0x401ec0
mov ecx, 0x80
lea edi, [ebp - 0x204]
mov esi, 0x4322d0
rep movsd dword es:[edi], dword [esi]
movzx ecx, byte [edx]
inc edx
xor ecx, eax
shr ax, 8
movzx ecx, cl
xor ax, word [ebp + ecx*2 - 0x204]
movzx eax, ax
cmp edx, ebx
jne 0x401ec0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00410a2e
mov esp, ebp
pop ebp
ret
Function at 0x402410
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4240db
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x437008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x220], ebx
push 0x20a
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], ebx
push 0
push eax
call fcn.00413cb0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x105
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
jne 0x402494
lock inc dword [0x437b00]
mov dword [ebx], 0x437b0c
mov word [0x437b0c], ax
jmp 0x4025b1
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4024a0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
lea eax, [eax + ecx*2]
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.00405f10
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x224]
mov ecx, dword [edi - 8]
mov dword [ebp - 0x220], ecx
cmp ecx, 1
jb 0x4024fa
mov ax, word [edi + ecx*2 - 2]
mov edx, 0x42cd1c
cmp ax, word [edx]
sete al
test al, al
jne 0x40251f
lea esi, [ecx + 1]
push esi
lea ecx, [ebp - 0x224]
call fcn.00406eb0
mov edi, dword [ebp - 0x224]
mov eax, dword [ebp - 0x220]
mov dword [edi + eax*2], 0x5c
mov dword [edi - 8], esi
mov dword [ebp - 0x220], edi
push 0x105
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x402562
lock inc dword [0x437b00]
mov dword [ebx], 0x437b0c
mov word [0x437b0c], ax
jmp 0x402597
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
jmp 0x402570
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402570
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
lea eax, [eax + ecx*2]
mov ecx, ebx
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00405f10
test edi, edi
je 0x4025b1
or eax, 0xffffffff
add edi, 0xfffffff4
lock xadd dword [edi], eax
dec eax
jne 0x4025b1
push edi
call fcn.00410cbd
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00410a2e
mov esp, ebp
pop ebp
ret
Function at 0x402f80
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42426d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x437008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x14]
mov edx, dword [edi + 4]
xor ebx, ebx
cmp byte [eax], bl
setne bl
call fcn.00409340
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
mov edx, dword [edi]
mov esi, dword [eax]
call fcn.00409340
push ebx
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x10]
or esi, 0xffffffff
mov edi, eax
test ecx, ecx
je 0x402ffd
lea eax, [ecx - 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
jne 0x402ffd
push eax
call fcn.00410cbd
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x403017
add eax, 0xfffffff4
lock xadd dword [eax], esi
dec esi
jne 0x403017
push eax
call fcn.00410cbd
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4084a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424ad1
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x437008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0xc]
lea edx, [ebp - 0x124]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x128], ecx
test esi, esi
je 0x408539
push 0
push edx
push esi
mov dword [ebp - 4], 5
push eax
push dword [ecx]
mov dword [ebp - 0x124], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4085bf
mov eax, dword [ebp - 0x124]
cmp eax, esi
jne 0x408607
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00410a2e
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x124], 0x25a
call fcn.00405680
mov esi, eax
push 0x42ce0c
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.00404f60
push eax
mov edx, 0x42ce30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004054e0
add esp, 4
push 0x3a
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf0]
call fcn.004055f0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00405750
add esp, 4
push eax
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 4
call fcn.00407a10
push 0x436008
lea eax, [ebp - 0x138]
push eax
call fcn.00413c3e
call sub.KERNEL32.dll_GetLastError
push 0x42cc6c
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.00404f60
push esi
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x74]
call fcn.0040c750
add esp, 4
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 7
call fcn.00401630
push 0x435e84
lea eax, [ebp - 0x8c]
push eax
call fcn.00413c3e
push str.Incomplete_write.
lea ecx, [ebp - 0x2c]
call fcn.00404d30
push 0x42c974
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00404d30
push 0x42cc6c
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 9
call fcn.00404f60
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x74]
call fcn.0040c9a0
add esp, 8
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xb
call fcn.00401630
push 0x435e84
lea eax, [ebp - 0xa4]
push eax
call fcn.00413c3e
mov ecx, dword [ebp - 0x12c]
call fcn.00401650
push str.Cannot_write_file__x.
lea ecx, [ebp - 0xbc]
mov edi, eax
call fcn.00404d30
mov ecx, dword [ebp - 0x128]
mov byte [ebp - 4], 0xd
call fcn.00401830
mov edx, eax
lea ecx, [ebp - 0x108]
call fcn.004019e0
mov esi, eax
sub esp, 0x18
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0xbc]
mov ecx, esp
call fcn.00401550
push esi
mov edx, 0x42c914
lea ecx, [ebp - 0x120]
call fcn.00405830
add esp, 0x1c
push edi
push eax
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xf
call fcn.004016e0
push 0x435ff8
lea eax, [ebp - 0xd8]
push eax
call fcn.00413c3e
int3
Function at 0x40f0e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4257e6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x437008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
push 0xa8
mov dword [ebp - 0x10], 0
call fcn.00410a3c
mov edi, eax
mov dword [ebp - 0x18], edi
lea ecx, [edi + 0xc]
mov dword [edi], vtable.std::_Associated_state_bool_.0
push ecx
mov dword [edi + 4], 1
call fcn.0041217f
lea eax, [edi + 0x14]
push 2
push eax
call fcn.00412aa3
lea eax, [edi + 0x44]
push eax
call fcn.00412d18
mov byte [edi + 0x6c], 0
lea ecx, [edi + 0x80]
mov dword [edi + 0x70], 0
add esp, 0x14
mov word [edi + 0x74], 0
mov byte [edi + 0x76], 0
mov dword [edi + 0x78], 0
mov dword [edi], vtable.std::_Packaged_state_bool____cdecl___void__.0
mov dword [ecx + 0x24], 0
mov dword [ecx], vtable.._AV___Func_impl_no_alloc_V_lambda_1___BE___setupShowFolderPicker__A0x28b7acfd__YAHPB_W_Z__N__V_std__.0
mov eax, dword [esi]
mov dword [esi], 0
mov dword [ecx + 4], eax
mov dword [ecx + 0x24], ecx
mov dword [ebp - 0x2c], edi
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
mov byte [ebp - 0x24], 1
mov dword [ebx], 0
cmp ebx, eax
je 0x40f1c7
lea eax, [edi + 4]
lock inc dword [eax]
mov dword [ebx], edi
mov byte [ebx + 4], 0
mov byte [ebx + 4], 1
push 0xc
mov dword [ebp - 0x10], 3
call fcn.00410a3c
add esp, 4
lea edx, [ebp - 0x2c]
mov dword [eax], 0
cmp eax, edx
je 0x40f1f6
mov dword [eax], edi
mov dword [ebp - 0x2c], 0
mov byte [eax + 4], 0
mov byte [eax + 4], 0
mov byte [eax + 8], 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 7
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
push ecx
push 0
push eax
push 0x410490
push 0
push 0
call fcn.00417db9
add esp, 0x18
mov dword [ebp - 0x20], eax
test eax, eax
je 0x40f260
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x40f26e
push ecx
push eax
call fcn.00413310
add esp, 8
test eax, eax
jne 0x40f275
lea ecx, [ebp - 0x2c]
call fcn.0040fc40
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x1c], 0
call fcn.00413265
push 1
call fcn.00413265
push eax
call fcn.00413238
int3
Function at 0x4115d6
Capabilities:
Parse pe header

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

Function at 0x41af06
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x428b70
push 0x428b68
push str.FlsAlloc
push 0x1f
call fcn.0041ae01
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41af3a
push dword [ebp + 8]
mov ecx, esi
call dword [0x426248]
call esi
jmp 0x41af40
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41af84
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x428b80
push 0x428b78
push str.FlsGetValue
push 0x21
call fcn.0041ae01
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41afbb
push dword [ebp + 8]
mov ecx, esi
call dword [0x426248]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41afc3
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x428b88
push 0x428b80
push str.FlsSetValue
push 0x22
call fcn.0041ae01
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41affd
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x426248]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x41b4f8
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x437008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41b543
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041b693
test al, al
jne 0x41b53d
sub edx, 2
cmp edx, edi
jne 0x41b523
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41b565
lea eax, [edi + 2]
cmp edx, eax
je 0x41b565
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041b444
add esp, 0x10
jmp 0x41b65f
push esi
lea ecx, [ebp - 0x255]
call fcn.0041b693
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41b5a8
push dword [ebp - 0x25c]
jmp 0x41b555
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41b5e5
cmp word [ebp - 0x226], 0
je 0x41b606
cmp word [ebp - 0x226], ax
jne 0x41b5e5
cmp word [ebp - 0x224], 0
je 0x41b606
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041b444
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41b652
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41b5bf
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41b63a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41b65f
push 0x41b274
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041fdf0
add esp, 0x10
jmp 0x41b62f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410a2e
leave
ret
Function at 0x41e236
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x41e249
xor eax, eax
jmp 0x41e2ec
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
jmp 0x41e288
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x41e2ea
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0041e1e6
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x41e2e8
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x41e2ec
jmp 0x41e27f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x423870
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42389d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42389d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret