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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 2
jne 0x4373be
movzx ecx, word [ebp + 8]
sar ecx, 8
push ecx
mov ecx, dword [ebp - 4]
call fcn.0043728c
movzx edx, byte [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.0043728c
jmp 0x43748d
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 1
jne 0x4373e9
movzx ecx, byte [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0043728c
movzx edx, word [ebp + 8]
sar edx, 8
push edx
mov ecx, dword [ebp - 4]
call fcn.0043728c
jmp 0x43748d
movzx eax, word [ebp + 8]
cmp eax, 0x7f
jg 0x437404
movzx ecx, byte [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0043728c
jmp 0x342cfc16
cmp al, 0xac
add dl, cl
mov byte es:[0x7d76d111], al
arpl word [edx + eax*4 - 0x45e2780e], bx
sub al, 0x51
adc dl, byte [esi + 0x16aba34c]
insb byte es:[edi], dx
lodsb al, byte [esi]
pop esp
cld
stosd dword es:[edi], eax
pop ss
pushfd
xor ah, byte [esp + ebp*4]
lodsb al, byte [esi]
popfd
push ds
std
inc ebx
lodsb al, byte [esi]
jle 0x43740e
movsb byte es:[edi], byte ds:[esi]
daa
dec ecx
add eax, 0x12246223
jnp 0x437426
cmp dword [0xd26dfa9d], eax
int 0xae
xor edx, ebp
sal dword [esi], 0xa6
and esp, ecx
jno 0x43748b
ljmp 0x71e1:0x23a636c1
inc edx
push edi
inc ecx
mov ah, 0xd6
insb byte es:[edi], dx
adc esi, dword [ebx]
sbb byte [edx - 0x43], 0x74
mov al, byte [0xcad1d6fc]
std
sar byte [edx], 1
movsb byte es:[edi], byte [esi]
popal
int 0x90
jl 0x437495
imul dword [ebx - 0x346e771f]
xlatb
xchg ebp, eax
and esi, dword [ebp - 0x70]
inc ebp
test ebp, edi
not dword [0x44593bdb]
aam 0x9a
xor al, 0x6c
stc
stosd dword es:[edi], eax
and esp, ecx
ret
pop ebx
and eax, 0xffffffb3
loopne 0x437442
dec esp
loop 0x4374d1
add ebx, ebp
pushal
in al, dx
xlatb
and eax, 0xa4d135a7
pop esp
inc edx
adc al, 0xce
sub al, 0xa2
je 0x43752b
mov esi, 0x122bb12
and al, byte [ecx]
loope 0x4374dc
cli
sbb al, 0x22
xor cl, cl
scasd eax, dword es:[edi]
add byte [esi - 0x738f28af], ah
les ebp, [esi + 0x3092c39c]
and bh, 0xd6
fistp dword [edx - 0x2597daf7]
cmp byte [esp + edi*8 - 0x4f6deb49], al
leave
dec edx
jecxz 0x43757e
push edx
and byte [edx], 0x97
inc eax
and dh, byte [esi - 0x438b0504]
fiadd dword [esi + ebx*4 - 0x57]
invalid
int1
fcom qword [edx + 0x1e64fe33]
Function at 0x44ea1c
Capabilities:
Encode data using xor

Disassembly:
push ebp
inc edi
stc
xchg edi, eax
aad 0x25
cld
xor esp, eax
push ecx
xor dword [ecx + 0x49d6a0b2], 0x64
add al, 0x75
fdiv qword [edi - 2]
movsb byte es:[edi], byte [esi]
xchg ebp, eax
xchg edi, eax
xchg byte [0x5192e199], ah
adc byte [edx + 0x17], 0xf8
bound eax, qword [ecx]
sub dl, dh
add dword [edx], ebp
salc
nop
xor dl, byte [ecx]
jecxz 0x44e9df
rol byte [edx + edi*8 - 0x3f], 1
mov ah, 0xc6
push ebx
add dword [edx + ebx*4], 0x8196b53c
inc ebx
adc dword [ebx + 0x2b], esi
sub edx, dword [edx - 0x9d92a79]
cmp bl, al
or byte [0x560cf500], dl
sub edx, dword [edx - 0x9d92a79]
cmp bl, al
or byte [0x560cf500], dl
rcl dword [ebx - 0x22d948ef], 0xc7
pop ebx
mov dh, 0x13
mov eax, dword [0xf42b9025]
dec ebp
movsb byte es:[edi], byte [esi]
and eax, 0x3b73967
inc edi
xor eax, 0xda65e55e
sbb esp, dword [ecx - 0x199c0ec0]
dec ebx
out 0x26, eax
add byte [ebx + 0x6d], ch
lcall 0x8d60, 0x3530e743
xor eax, 0x53ad25e7
ja 0x44ea65
xor dword [edi + 0x78211199], esi
add dl, byte [edx + 0x7355b50d]
jle 0x44ea03
js 0x44ea69
xchg edx, eax
or eax, 0x7e7355b5
mov ch, 0x55
jae 0x44eaeb
xchg ebp, eax
pop edx
mov esi, es
xor byte [ecx + 0x62f743a3], ah
adc al, 0x12
loopne 0x44ea5e
cmpsb byte [esi], byte es:[edi]
add dword [ebx], eax
bound esp, qword [ebp - 0x1f]
mov dh, 0xd2
sahf
xchg edx, esp
clc
pop edi
sar byte [edi], 0x15
daa
sbb byte [edi], dh
aaa
nop
frstor dword [edi - 0x1d]
xchg esp, eax
pop ecx
pop ecx
mov ds, esp
inc ebx
and cl, dh
aaa
xchg edx, eax
adc eax, 0xd3b86b3f
xchg esi, eax
mov cl, 0xe3
push edi
mov dh, 0x4f
movsd dword es:[edi], dword [esi]
and dword [eax + 0x6b078537], edi
sar byte [eax - 1], cl
pop ebp
out dx, al
sbb ebp, ecx
xor al, 0xc0
arpl word [esi], si
wait
mov edx, 0x4e5b4bb2
or bl, 0x92
jbe 0x44eacb
or al, 0xc5
pop ss
leave
lcall 0xd532, 0x576767b2
mov dl, 0x67
push edi
xor dl, ch
out dx, al
sbb cl, al
out dx, al
xchg ecx, eax
mov word [esi + 0x4e1565da], ss
add al, 0x45
inc eax
jnp 0x44eb1b
xchg edx, esp
jbe 0x44eaac
mov bl, 0xa5
push ss
cmc
aaa
test dword [edi - 0x50], eax
xchg dword [edx - 0x36], edx
test dword [ebp - 0x68], esp
test eax, 0xd6ff6d64
rol dword [0xbec6ba17], 0x26
xchg dword [ebp + 0x63], esp
cwde
jae 0x44eacd
push ds
pop ebp
mov al, byte [0x385774fd]
mov dh, byte [eax - 0x10]
invalid
pop eax
dec edi
mov esi, 0x47700407
or al, 0x65
xchg byte [ebx + 0x790ca4c1], al
das
mov dword [0x905d5dd5], eax
push edi
jmp 0x925b098e
Function at 0x46865c
Capabilities:
Encode data using xor

Disassembly:
push edi
lea esi, [edx - 0x1e50b1ca]
stc
invalid
xchg byte [esi + ecx], ah
in eax, dx
xor esp, dword [ebx*4 + 0x5d31a4b9]
out dx, eax
insd dword es:[edi], dx
jl 0x468642
outsb dx, byte [esi]
mov dh, byte [edx - 0x24511a73]
cli
push cs
call [ebp - 0x16]
xchg edi, eax
sahf
cmp eax, 0xa6a1774a
les ecx, [edi]
push 0x79
insb byte es:[edi], dx
jmp 0x4686b2
push ds
jge 0x4686bd
cmp eax, 0x70dba9a3
fld qword [eax]
pop esp
dec ebp
mov esi, 0x7735b95b
lodsd eax, dword [esi]
sbb dword [eax - 0x7c], ebp
out dx, al
cdq
mov ebp, 0x29108a9c
cdq
sub al, 0x5e
dec ecx
mov esi, 0x12acc103
fbstp tbyte [esi - 0x72]
mov ecx, 0xd5ef12b1
mov esi, 0x2d95ca4c
pop esi
out dx, al
fild qword [edi - 9]
popfd
rep movsd dword es:[edi], dword [esi]
test byte [eax + edx*4], bl
mov word [0xc540860f], es
lahf
sub eax, 0x61b1f83c
popfd
stosd dword es:[edi], eax
clc
xchg ah, bl
mov dword [0xdc6d012d], eax
out dx, eax
in eax, dx
loope 0x468717
inc esi
push 0x8ee616ed
jmp dword [edi]
rol dword [ebp - 0x43], 1
ficom word [ebp + 0x609d6ea9]
or dword [esi], ecx
imul ebp, dword [edi + ebp*2], 0x69ef4cec
jecxz 0x46875c
push edx
push es
push eax
pop ebx
cmp esp, 0x60
jnp 0x468753
fsub qword [eax - 0xdaee2af]
fxch st(4)
test edx, ebx
int3
cmp byte [esp + edi - 0x533e3681], bh
lahf
ror dword [ecx + 0x623e00ee], cl
sub eax, 0xea09032d
mov esi, ebp
add byte [esi], bh
bound ebp, qword [0xea09032d]
pushfd
cld
aad 0xb8
dec esp
fistp word [edx - 0x25eb611e]
bound ebx, qword [edx - 0x3c]
in eax, 0xfc
invalid
Function at 0x47ee7c
Capabilities:
Encode data using xor

Disassembly:
cmpsb byte [esi], byte es:[edi]
outsb dx, byte [esi]
mov bl, byte es:[eax]
cmp al, 0
pop ebx
and byte [eax - 0x255d165], ch
mov dl, 0xfe
lcall 0x62fd, 0xa3e30112
add bh, ch
mov bl, 0xc2
add byte [ebx + esi*2 + 0x79e773f3], bl
inc edx
lodsb al, byte [esi]
push ebx
lodsb al, byte [esi]
mov dword [0x1f452aa1], eax
outsb dx, byte [esi]
adc ah, byte [edi - 0x593de0fa]
pop edi
mov bl, 0x43
popal
fisub word [ecx + 0x2df5a462]
movsb byte es:[edi], byte [esi]
cmc
sub eax, 0xd118cb5
lodsd eax, dword [esi]
imul byte [ebx + 0x6582f0ba]
lea eax, [eax]
inc edx
cmp dword [ecx], 0x1d
movsb byte es:[edi], byte [esi]
cmc
sub eax, 0xd118cb5
lodsd eax, dword [esi]
imul byte [ebx + 0x6582f0ba]
lea eax, [eax]
inc edx
cmp dword [ecx], 0x1d
cmp dword [esi], 0xffffffe4
aas
out 0x94, al
ror byte [edx], cl
xor esi, ecx
cmp edx, ebp
loope 0x47ee41
xchg ebx, eax
xor dword [eax - 0x48], esp
loope 0x47eeb3
inc edx
sal byte cs:[edx - 0x58754cb9], cl
xlatb
aad 0x80
pop edi
pop eax
cmp ebp, dword [ebp + 0x22a55ee8]
inc esi
lodsd eax, dword [esi]
call 0x466a9417
shl cl, cl
clc
lea esp, [edx - 0x56]
sti
out dx, eax
inc edx
xor dh, byte ss:[esi - 0x146e7170]
mov dl, 0x9d
outsd dx, dword [esi]
stc
dec ebp
sub al, 0x22
jle 0x47ef19
mov ah, 0x82
stosd dword es:[edi], eax
pop ds
dec eax
in eax, 0x28
fidiv word [ebx]
aam 0xee
and ch, byte [edi + 0x7abc1ee3]
sub ebp, edi
mov byte [0x4e864eb6], al
mov byte [0xacdeac9b], al
and byte [ecx + edi*2 - 0x52], dh
and eax, 0x2aab2351
push esi
les ebx, [edi]
out dx, al
and byte [ecx + 0x58], 0x91
mov al, byte [0xb5d07473]
inc eax
adc eax, 0xbdbd731a
inc ecx
xchg esi, eax
bound esi, qword [esi + 0x10]
mov dword [ebp + edi*4 + 0x53], ecx
jecxz 0x47ef6a
sbb dh, byte [ebx - 0x43]
mov ebp, 0x76629641
adc byte [ecx - 0x1cac42b4], cl
push esp
sbb ax, 0xf28a
salc
salc
and byte [esi - 0x52d9b1bb], cl
push esp
add edx, dword [edx + 0x5420a5]
stosd dword es:[edi], eax
adc edi, edx
jnp 0x47ef07
mov bl, 0x1b
jbe 0x47eebb
push edx
call 0x4795af29
push edx
mov esi, 0x411aab43
jge 0x47ef4a
jb 0x47ef19
invalid
invalid
into
bound eax, qword [ebp + 0x17]
pop edi
dec edi
out dx, al
pop esp
enter 0xffffffffffffc718, 0x7f
aas
sbb esp, dword [edi + ebx*8 - 0x3f]
salc
xor byte [esi - 0x6385232a], cl
dec ebx
stosb byte es:[edi], al
mov eax, dword [0x4be338ee]
or bh, byte [edi]
sub dword [esi + 7], edi
add al, byte gs:[eax + 0x2b]
push eax
push ebp
inc ebx
aas
jne 0x47ef64
push edx
push 0xfffffffffffffffa
mov dh, 0x4e
ljmp 0x5a43
Function at 0x4937ec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 2
jne 0x49381e
movzx ecx, word [ebp + 8]
sar ecx, 8
push ecx
mov ecx, dword [ebp - 4]
call fcn.004936ec
movzx edx, byte [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.004936ec
jmp 0x4938ed
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 1
jne 0x493849
movzx ecx, byte [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004936ec
movzx edx, word [ebp + 8]
sar edx, 8
push edx
mov ecx, dword [ebp - 4]
call fcn.004936ec
jmp 0x4938ed
movzx eax, word [ebp + 8]
cmp eax, 0x7f
pop es
pop esi
fimul dword [esi + 0x6a]
jg 0x493860
pcmpgtw mm5, qword [ebx + 0x55]
and byte [edx + 0x30], bh
xor eax, 0x37aeca2f
dec esp
into
invalid
retf 0x37ae
push ecx
pop ebx
push eax
mov esi, 0xab5e42a3

Function at 0x49e07a
Capabilities:
Encode data using xor

Disassembly:
lcall 0x6934, 0x7aec8a9c
push cs
aas
sub eax, 0xc02f572
jp 0x49e0ac
dec edi
jb 0x49e099
jnp 0x49e0b4
push ebx
pop ebp
push ds
inc ecx
or al, 0x88
out 0x3f, eax
cmpsd dword [esi], dword es:[edi]
sub dword [esi + 0x70], ebx
jns 0x49e04d
cwde
xchg esi, eax
fnstsw word [esi - 0x54df9948]
xlatb
shl al, cl
aad 0x12
adc dh, byte [0x12291c0f]
push 0xf2b407c7
inc eax
jnp 0x49e0aa
not dword [ecx]
leave
adc esp, dword [edi + 0x14]
test eax, 0x6bb31e13
inc eax
fucomp st(4)
out 0x87, eax
jle 0x49e060
invalid
push 0xffffffffffffffd5
fst dword [esp + ecx - 0x552f0633]
js 0x49e05c
fisub word [ebx]
cmpsd dword es:[si], dword es:[di]
je 0x49e0e3
mov bh, byte [eax - 0x69]
mov dl, 0x56
push cs
push ecx
fidivr dword [ecx + 0x6985e935]
mov cl, 0x24
invalid
aaa
out 0x9e, al
test eax, 0xcdffe926
lds ecx, [ebp - 1]
invalid

Function at 0x4ae904
Capabilities:
Encode data using xor

Disassembly:
call 0xab8bcac5
sar byte [edx - 0x6a], 0x90
xor byte [ebx + 0x3abc1b08], bl
mov esp, 0x90387b38
wait
and edi, dword [edx + 0x41]
mov al, 0x11
xor ebx, dword [bp + di]
jno 0x4ae913
insd dword es:[edi], dx
retf 0xe7c0
Function at 0x4bae23
Capabilities:
Check os version
Query environment variable

Disassembly:
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4bae52
cmp dword [ebp - 0x88], 2
jne 0x4bae52
cmp dword [ebp - 0x94], 5
jb 0x4bae52
push 1
pop eax
jmp 0x4baf54
lea eax, [ebp - 0x122c]
push 0x1090
push eax
push str.__MSVCRT_HEAP_SELECT
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4baf41
xor ebx, ebx
lea ecx, [ebp - 0x122c]
cmp byte [ebp - 0x122c], bl
je 0x4bae94
mov al, byte [ecx]
cmp al, 0x61
jl 0x4bae8f
cmp al, 0x7a
jg 0x4bae8f
sub al, 0x20
mov byte [ecx], al
inc ecx
cmp byte [ecx], bl
jne 0x4bae81
lea eax, [ebp - 0x122c]
push 0x16
push eax
push str.__GLOBAL_HEAP_SELECTED
call fcn.004bcdc0
add esp, 0xc
test eax, eax
jne 0x4baeb6
lea eax, [ebp - 0x122c]
jmp 0x4baeff
lea eax, [ebp - 0x19c]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [ebp - 0x19c], bl
lea ecx, [ebp - 0x19c]
je 0x4baeea
mov al, byte [ecx]
cmp al, 0x61
jl 0x4baee5
cmp al, 0x7a
jg 0x4baee5
sub al, 0x20
mov byte [ecx], al
inc ecx
cmp byte [ecx], bl
jne 0x4baed7
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x122c]
push eax
call fcn.004bcd40
pop ecx
pop ecx
cmp eax, ebx
je 0x4baf41
push 0x2c
push eax
call fcn.004bcc80
pop ecx
cmp eax, ebx
pop ecx
je 0x4baf41
inc eax
mov ecx, eax
cmp byte [eax], bl
je 0x4baf26
cmp byte [ecx], 0x3b
jne 0x4baf21
mov byte [ecx], bl
jmp 0x4baf22
inc ecx
cmp byte [ecx], bl
jne 0x4baf18
push 0xa
push ebx
push eax
call fcn.004bca52
add esp, 0xc
cmp eax, 2
je 0x4baf54
cmp eax, 3
je 0x4baf54
cmp eax, 1
je 0x4baf54
lea eax, [ebp - 4]
push eax
call fcn.004bade2
cmp byte [ebp - 4], 6
pop ecx
sbb eax, eax
add eax, 3
pop ebx
leave
ret
Function at 0x429128
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00428fa7

Function at 0x42e72f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042e3dd

Function at 0x414dd5
Capabilities:
Encode data using xor

Disassembly:
xor dword [ebx], edx
dec ecx
sub ecx, esi
add ecx, ecx
add ebx, 4
sub ecx, 0xc80525e0
add ecx, edi
add edi, edi
cmp ebx, eax
jne fcn.00414dd5
sub edi, 0xcc5cb137
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40a873
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40a882
pop dword [ebp - 0x50]
mov eax, 0x1271e62c
add eax, 0xedcec256
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x37eeb
push 0
mov eax, 0xa0402ed3
sub eax, 0x9fff4dfb
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0xb10da2ea
add ecx, 0x4ef29ff6
mov edi, eax
mov ebx, 0xf42d6534
add ebx, 0xc13d690
add ebx, dword [ebp - 0x50]
mov edx, 0x9e34d3a2
xor dword [ebp - 0x30], ecx
mov esi, dword [ebx]
xor dword [ebp - 0x30], 0x97e902fc
add esi, edx
sub dword [ebp - 4], eax
mov dword [edi], esi
add edi, 4
add ebx, 0x3186675c
add ebx, 0xce7998a8
loop 0x40a8db
add eax, 0xa7915fcd
sub eax, 0xa790617a
mov ebx, eax
add eax, 0xd1bf296f
add eax, 0x2e40d696
mov ecx, 0x685df799
sub ecx, 0x681df799
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x100346a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100512d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x100346d0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10034700
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x10034700
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x100347fa
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10034729
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1003475d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 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]
test eax, eax
js 0x100347fa
cmp eax, 1
jle 0x100347bb
cmp eax, 3
jne 0x100347fa
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.10010790
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100347d9
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100347fa
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x100347fa
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
Function at 0x100396b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100412f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100512d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1005128c]
cmp eax, 0xffffffff
jne 0x100396e6
xor ebx, ebx
jmp 0x100396ef
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1003972f
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003976e
test esi, esi
jne 0x10039772
push 0x10038230
push 0x10052ad8
call fcn.10010790
mov eax, dword [0x1005128c]
add esp, 8
cmp eax, 0xffffffff
je 0x1003972f
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003975c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003975c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100397b4
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1003979d
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x10039772
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10039700
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100397d9
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x100397d9
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.10010790
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x100397c0
jmp 0x10039700
Function at 0x401411
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, esp
push ebx
push ebp
sub esp, 0x150
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp], 0
mov dword [esi - 0x134], 0
mov dword [esi - 0x130], 0
call ebp
push edx
mov dword [esi - 0x124], eax
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esi - 0x118], 6
push ecx
push ecx
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [esi - 0x110], 0
mov dword [esi - 0x114], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push edx
push edx
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [esi - 0x11c], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push ecx
push ecx
mov dword [esp], 0
mov dword [esi - 0x120], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push eax
lea eax, [esi - 0x134]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassW]
push eax
mov dword [esp], 0
call ebp
push edx
lea ebp, [esi - 0x10c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push ecx
push ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1a
mov dword [esp], 0
call dword [sym.imp.SHELL32.DLL_SHGetFolderPathA]
sub esp, 0x14
mov dword [esp], ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 0xffffffe4
mov ebp, eax
call ebx
mov dword [esp], ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 5]
push ebp
lea esp, [esi - 8]
pop ebp
pop ebx
pop esi
ret

Function at 0x40162e
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
add esp, 0xffffff5c
mov dword [ebp - 0x88], 1
call fcn.00401411
or eax, eax
jne 0x4016c8
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x402132
add eax, 0xffbfe930
mov dword [esp], 0x4016d0
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0xfffffff0
cmp dword [ebp - 0x8c], 0
je 0x4016c8
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.00401382
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.004015b7
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b400
mov dword [esp], 0x40300c
call fcn.00401e35
xor eax, eax
mov ecx, dword [ebp - 4]
leave
ret