joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4612b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494a48
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4c9070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00404a20
mov ecx, eax
test ecx, ecx
jne 0x4612ed
push 0x80004005
call fcn.00404ad0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
call fcn.00404a20
mov ecx, eax
test ecx, ecx
jne 0x461314
push 0x80004005
call fcn.00404ad0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 1
call fcn.00404a20
mov ecx, eax
test ecx, ecx
jne 0x46133b
push 0x80004005
call fcn.00404ad0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4613ed
call fcn.004603c0
mov ebx, eax
test ebx, ebx
je 0x4613ed
cmp dword [ebx + 4], 0
jge 0x461371
mov ebx, 1
jmp 0x4613ef
cmp dword [ebx + 8], 0
je 0x4613ed
call fcn.004088e0
add eax, 0x200
lea ecx, [ebp - 0x14]
push eax
call fcn.00404750
mov esi, dword [ebp - 0x14]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x4613ed
dec eax
lea ecx, [ebp - 0x14]
push eax
call fcn.00403230
cmp ax, 0x5c
je 0x4613b4
push 0x4a1b6c
lea ecx, [ebp - 0x14]
call fcn.00403140
mov esi, dword [ebp - 0x14]
push dword [ebx + 8]
lea ecx, [ebp - 0x18]
call fcn.00404750
lea ecx, [ebp - 0x18]
call fcn.0045fe30
lea ecx, [ebp - 0x18]
call fcn.0045c4c0
lea ecx, [ebp - 0x28]
call fcn.004257e0
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x28]
mov ebx, eax
call fcn.00425770
jmp 0x4613ef
xor ebx, ebx
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46140d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x461428
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x461444
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
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 4
Function at 0x464ef0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 1
push 2
mov ecx, dword [esi + 0x39c]
call dword [sym.imp.DuiLib.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int__bool_]
xorps xmm0, xmm0
movups xmmword [esi + 0x418], xmm0
mov ecx, dword [esi + 0x3d8]
push 1
push 1
mov eax, dword [ecx]
call dword [eax + 0x154]
mov ecx, esi
call fcn.00466dc0
mov ecx, 0x4d1720
call fcn.00458cd0
test eax, eax
je 0x464fe7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4d1720]
mov ecx, 0xbb8
cmp ecx, eax
sbb ecx, ecx
inc ecx
cmp eax, 0xbb8
jbe 0x464f6c
mov ecx, dword [0x4d229c]
xor eax, eax
cmp dword [0x4d2298], eax
cmove ecx, eax
mov dword [0x4d229c], ecx
test ecx, ecx
je 0x464fe7
push 0
push 0
push esi
push 0x464510
push 0
push 0
mov dword [esi + 0x430], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x42c], eax
test eax, eax
je 0x464fee
push 0
push 0x4ccd48
push 0x4cc648
push 0
push str.chk_sel_all_vir
push dword [esi + 0x3c8]
lea ecx, [esi + 0x30]
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindSubControlByName_class_DuiLib::CControlUI___wchar_t_const__const]
push eax
call fcn.0048e49a
add esp, 0x14
test eax, eax
je 0x464fd3
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0xe0]
push 0
push 0x32
push 0x101
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
ret
or dword [esi + 0x428], 2
pop esi
ret
Function at 0x469b80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x469ca1
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
cmp esi, 5
jne 0x469bd5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x469bcf
push 9
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, ebx
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov dword [ebx], 0
push ecx
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push ecx
lea ecx, [edi + 0x388]
call fcn.00469af0
test eax, eax
jne 0x469bc1
push eax
push ebx
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call fcn.0040e850
test eax, eax
jne 0x469bc1
cmp esi, 1
jne 0x469c21
sub esp, 0x10
mov ecx, edi
call fcn.00467e30
mov dword [ebx], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 2
jne 0x469c52
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
sub esp, 0xc
mov ecx, edi
call fcn.00468190
cmp dword [esp + 0xc], 0
mov dword [ebx], eax
je 0x469ca1
lea eax, [esi - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x18
jne 0x469c73
sub esp, 8
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.00468220
mov dword [ebx], eax
lea eax, [esi - 0x17]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x113
jne 0x469ca1
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
push ecx
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004682f0
cmp dword [esp + 0xc], 0
mov dword [ebx], eax
jne 0x469bc1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x482316
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00481c84

Function at 0x482321
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00481ebf
Function at 0x44b6d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov cl, byte [0x65f042]
mov al, byte [0x65f041]
or cl, 0x10
push ebx
shr cl, 3
and ecx, 0xff
mov bl, byte [0x65f04b]
mov dword [esp + 4], ecx

Function at 0x4a2819
Capabilities:
Encode data using xor

Disassembly:
invalid
jnp 0x4a283b
pop esp
or ecx, ebx
inc ebx
jns 0x4a2890
in al, dx
ret 0x63ea
push ecx
pushal
xchg ebx, eax
jb 0x4a280d
mov al, byte [0xf8e684d8]
push edi
mov dl, 0x40
invalid
cld
jo 0x4a2816
and eax, dword [edx + 0x67]
dec edx
xor eax, 0xe9beb9d3
in al, dx
lahf
movsb byte es:[edi], byte [esi]
adc al, 0x7e
cmp dword [ebx + 0x515d476a], ecx
pushfd
cmp dword [ecx - 0x40], esi
fdiv qword [edx + 0x2c80fe5f]
inc ebp
push ecx
inc edx
int1
push esp
mov cl, 0x29
inc esi
cmp eax, 0x5c46ea0c
mov al, 0x30
xor ah, bh
inc eax
sbb esp, dword [edi]
movsd dword es:[edi], dword [esi]
jnp 0x4a28cf
daa
shr dword [edi + esi], 1
aaa
outsd dx, dword [esi]
cmp edi, dword [eax - 0x5ecfa5eb]
sal eax, 0xa9
xor ebx, dword [ebx - 0x68]
fcom qword [ecx - 0x2d]
mov dl, 0x75
sub ch, 3
imul edx, dword [0xd2d40213], 0xa16210ee
rcr byte [edx + 0x1e02ff83], cl
arpl word [0x7f5866db], si
push ds
retf

Function at 0x520c90
Capabilities:
Encode data using xor

Disassembly:
or byte [eax - 0x58], ah
aam 0xb6
or byte [eax + 0x58689460], 0x56
pop eax
or dl, 0x80
xor eax, 0xfcbad1e0
neg eax
push ebx
stosd dword es:[edi], eax
stc
or eax, 0x4c3c5be6
xor byte [eax + 0x2b], cl
sub byte [ecx*2 + 0x1bf9ed22], cl
dec edi
or eax, 0x8f84d8d3
div dh
cmp eax, dword [ecx + 0x79b0c474]
pushal
sbb dl, byte [edx + 0x2a]
pushfd
sbb eax, 0x836d9833
pop ds
add eax, dword [ebx - 0x78]
jbe 0x520ce2
int1
shr byte [ebp + 0x40], cl
mov gs, eax
mov esi, 0x5828f048
mov eax, 0x78f704c0
mov edi, 0xa2d0a451
add al, 0x58
mov byte [ebx - 0x77b3c7d8], ch
mov byte [ecx], bh
sub al, 0x20
mov byte [ecx], bh
sub al, 0x20
push 0xc84de456
jno 0x520c73
in al, dx
js 0x520c2a
mov eax, 0x1873c43b
sub al, 0xe4
test dword [eax + 0x11], esp
sub al, 0x35
pop eax
test al, 0x88
xchg ebp, eax
nop
mov ah, 0x7b
cdq
mov al, byte [0x80b8d43d]
xchg ebp, eax
invalid
pop ecx
movsb byte es:[edi], byte [esi]
inc ebx
fdivp st(3)
cmp al, 0x11
insb byte es:[edi], dx
cld
mov al, 0x69
dec esp
mov esi, 0x8560586f
mov eax, dword [0x4a699329]
leave
lodsb al, byte [esi]
adc ch, ah
hlt
Function at 0x65797d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f3f8
cmp edx, dword [eax]
je 0x65799f
add eax, 8
inc ecx
cmp eax, 0x65f488
jl 0x657990
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f3f8]
jne 0x657acd
mov eax, dword [0xa5bdd4]
cmp eax, 1
je 0x657aa7
test eax, eax
jne 0x6579d0
cmp dword [0x65f324], 1
je 0x657aa7
cmp edx, 0xfc
je 0x657acd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x657a07
lea eax, [ebp - 0x1a4]
push 0x65c9f8
push eax
call fcn.00658360
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.006587f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x657a4a
lea eax, [ebp - 0x1a4]
push eax
call fcn.006587f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65c9f4
push edi
call fcn.0065a6c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65c9d8
push eax
call fcn.00658360
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00658370
lea eax, [ebp - 0xa0]
push 0x65c9d4
push eax
call fcn.00658370
push dword [esi + 0x65f3fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00658370
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65c9ac
push eax
call fcn.0065a634
add esp, 0x2c
pop edi
jmp 0x657acd
lea eax, [ebp + 8]
lea esi, [esi + 0x65f3fc]
push 0
push eax
push dword [esi]
call fcn.006587f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10038c10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x10038c3c
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 eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10038c64
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x10038c6a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x10038cf4
jg 0x10038c81
test esi, esi
je 0x10038cf4
test ecx, ecx
jl 0x10038cd7
jg 0x10038c8b
test eax, eax
je 0x10038cd7
cmp edi, ecx
jg 0x10038c9f
jl 0x10038c95
cmp esi, eax
jae 0x10038c9f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
add edx, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x10038cf4
jg 0x10038cda
test esi, esi
je 0x10038cf4
jmp 0x10038cda
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10038cf4
push eax
push esi
push 1
push edx
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 + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10038d10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x10038d3c
jl 0x10038d30
test ecx, ecx
jne 0x10038d3c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10038d55
push eax
push ecx
push esi
mov ecx, 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 esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x10038da3
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x10038da9
mov edi, dword [ebp - 4]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [ebp - 4], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x10038da9
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x10038e16
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x10038dd2
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x10038e04
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10038e16
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x10038de0
test edi, edi
je 0x10038e16
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100391a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100e2040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x100391d0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf676
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1003920c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1003920c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf676
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x100392e3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10039234
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 0x10039240
movsx eax, bl
jmp 0x10039278
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
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]
sub eax, 0
je 0x100392a2
sub eax, 1
je 0x100392a2
sub eax, 2
jne 0x100392e3
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
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
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf676
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100392c0
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 0x100392e3
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf676
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.100bf676
mov esp, ebp
pop ebp
ret 4
Function at 0x100395e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100e2040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1003969c
cmp byte [esi + 0x3d], 0
je 0x1003969c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1003968a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 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 0x10039651
sub eax, 1
je 0x10039655
sub eax, 2
jne 0x1003968a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf676
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10039673
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 0x1003968a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf676
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf676
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100bf676
mov esp, ebp
pop ebp
ret
Function at 0x1003bf70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x100f7208], 0
push ebx
push esi
push edi
je 0x1003c128
mov ecx, dword [0x10120f1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1003c128
mov esi, dword [0x10120fac]
xor ebx, ebx
mov dword [ebp - 4], esi
mov eax, dword [esi + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x1003c128
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp ebx, dword [esi + 0x28]
jl 0x1003bfd7
push 0x410
push str.C:Users_fitchDesktop_balenciagautlvector.h
push str.i___m_Size
call eax
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
cmp dword [esi + 0x24], 0xfffffffe
jne 0x1003bff1
push 0x272
push str.C:Users_fitchDesktop_balenciagautlvector.h
push str._IsReadOnly__
call eax
add esp, 0xc
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1003c007
xor edx, edx
test ecx, ecx
je 0x1003c02d
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003c014
cmp edi, 0x5ff56dc5
je 0x1003c03f
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x1003c128
mov esi, dword [ebp - 4]
jmp 0x1003bfb4
mov edi, dword [ebp - 4]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp ebx, dword [edi + 0x28]
jl 0x1003c061
push 0x410
push str.C:Users_fitchDesktop_balenciagautlvector.h
push str.i___m_Size
call esi
add esp, 0xc
cmp dword [edi + 0x24], 0xfffffffe
jne 0x1003c07b
push 0x272
push str.C:Users_fitchDesktop_balenciagautlvector.h
push str._IsReadOnly__
call esi
add esp, 0xc
mov eax, dword [edi + 0x1c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x1003c128
mov eax, dword [edi + 0x88]
mov dword [ebp - 8], eax
test eax, eax
je 0x1003c128
xor esi, esi
test eax, eax
jle 0x1003c128
xor edx, edx
mov dword [ebp - 4], edx
nop dword [eax]
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp esi, dword [edi + 0x88]
jl 0x1003c0d5
push 0x410
push str.C:Users_fitchDesktop_balenciagautlvector.h
push str.i___m_Size
call ebx
mov edx, dword [ebp - 4]
add esp, 0xc
cmp dword [edi + 0x84], 0xfffffffe
jne 0x1003c0f5
push 0x272
push str.C:Users_fitchDesktop_balenciagautlvector.h
push str._IsReadOnly__
call ebx
mov edx, dword [ebp - 4]
add esp, 0xc
mov ecx, dword [edi + 0x7c]
movss xmm0, dword [ecx + edx + 0x418]
ucomiss xmm0, dword [0x100d6240]
lahf
test ah, 0x44
jp 0x1003c119
mov dword [ecx + edx + 0x418], 0x7f7fffff
inc esi
add edx, 0x420
mov dword [ebp - 4], edx
cmp esi, dword [ebp - 8]
jl 0x1003c0b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003c180
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, 0x1011c060
push ebx
push esi
push edi
call fcn.1003af20
mov ecx, 0x10127f50
call fcn.1003f390
mov ecx, dword [0x10120f14]
test ecx, ecx
je 0x1003c1fa
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov ebx, eax
test ebx, ebx
je 0x1003c1fa
mov eax, dword [ebx + 0x14]
mov esi, 0x811c9dc5
mov edi, dword [ebx + 8]
mov dword [ebp - 8], eax
xor eax, eax
inc eax
cmp byte [edi + eax], 0
jne 0x1003c1c4
xor edx, edx
test eax, eax
je 0x1003c1e2
movsx ecx, byte [edi + edx]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, eax
jb 0x1003c1d1
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
call fcn.1003f240
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov ebx, dword [ebx + 0x10]
test ebx, ebx
jne 0x1003c1b4
mov ecx, dword [0x10120f1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10120f20]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [0x1011a1b0], eax
call fcn.100b4600
mov ecx, 0x10121cd8
call fcn.100a3570
mov ecx, 0x1011dd18
call fcn.1003f520
mov ecx, 0x1011a124
call fcn.1003f490
mov ecx, dword [0x10120f1c]
mov dword [0x1011a120], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
pop edi
pop esi
mov dword [0x10120f90], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1003f240
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2415
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100e2040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x14]
imul edi, ecx, 0x1000193
push edi
push esi
push eax
call fcn.10040960
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1003f36b
cmp dword [0x10127f58], 0xfffffff
jne 0x1003f2ca
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x10127f54
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x18], 0
call fcn.100bf692
mov ebx, eax
add esp, 4
mov eax, dword [esi]
mov dword [ebp - 0x18], ebx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [0x10127f58]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100d64e0]
mov eax, dword [0x10127f6c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100d64e0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x10127f50]
jbe 0x1003f360
call fcn.10040400
push edi
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10040960
mov ecx, dword [eax]
jmp 0x1003f363
mov ecx, dword [ebp - 0x14]
push ebx
push ecx
push edi
call fcn.10040480
add eax, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4