joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404e06
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
xor eax, eax
mov dword [ebp - 0x20], ecx
mov ebx, 0x2710
mov dword [ebp - 0x1c], eax
push esi
mov ecx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0x1388
call fcn.0040ebd3
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x404f5f
push edi
mov ecx, ebx
call fcn.0040ebd3
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
jne 0x404e54
lea ecx, [ebp - 4]
jmp 0x404f00
mov ecx, esi
call fcn.0040ed63
mov ecx, esi
test eax, eax
je 0x404e6b
xor edx, edx
mov byte [ecx], dl
inc ecx
sub eax, 1
jne 0x404e63
mov ecx, edi
call fcn.0040ed63
xor edx, edx
mov ecx, edi
test eax, eax
je 0x404e82
mov byte [ecx], dl
inc ecx
sub eax, 1
jne 0x404e7a
push dword [ebp - 0x20]
push dword [ebp - 0xc]
push esi
push 0x401334
push edx
push 0x40126c
call dword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
lea ecx, [edx - 2]
cmp eax, ecx
jne 0x404ee7
add edx, 0x64
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], edx
add ebx, 0xc8
call fcn.0040eb2f
mov ecx, ebx
call fcn.0040ebd3
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x404ef5
lea ecx, [ebp - 8]
call fcn.0040eb2f
mov ecx, ebx
call fcn.0040ebd3
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x404ef5
xor edx, edx
jmp 0x404e82
call fcn.0040f178
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
jne 0x404f07
lea ecx, [ebp - 4]
call fcn.0040eb2f
lea ecx, [ebp - 8]
call fcn.0040eb2f
jmp 0x404f7b
cmp dword [ebp - 0x18], 0
jbe 0x404f4c
mov ecx, dword [ebp - 0x14]
mov edx, ecx
mov ax, word [esi + ecx*2]
mov word [edi + edx*2], ax
xor eax, eax
inc edx
cmp word [esi + ecx*2], ax
jne 0x404f43
xor edx, edx
mov dword [ebp - 0x10], eax
push edx
mov edx, edi
mov ecx, ebx
call fcn.0040f1fd
mov ecx, edi
call fcn.0040e3f2
test eax, eax
je 0x404f63
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x18]
jb 0x404f12
lea ecx, [ebp - 4]
call fcn.0040eb2f
lea ecx, [ebp - 8]
call fcn.0040eb2f
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
lea ecx, [ebp - 4]
call fcn.0040eb2f
lea ecx, [ebp - 8]
call fcn.0040eb2f
lea ecx, [ebp - 0x1c]
call fcn.0040f1de
xor eax, eax
jmp 0x404f5e
Function at 0x40a28c
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov edi, 0x1388
mov ecx, 0x2710
jmp 0x40a2ce
push ebx
push edi
push esi
push 0x401104
push dword [ebp + 8]
push 0x40126c
call dword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
lea ecx, [edi - 2]
cmp eax, ecx
jne 0x40a2f3
lea ecx, [ebp - 4]
add edi, 0x64
call fcn.0040eb2f
lea ecx, [edi + edi]
call fcn.0040ebd3
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x40a2a3
push 8
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
call fcn.0040d6a5
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
mov ecx, esi
call fcn.0040e3f2
mov ecx, 0xfe
cmp eax, ecx
ja 0x40a31a
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, esi
call fcn.0040e35d
lea ecx, [ebp - 4]
call fcn.0040eb2f
xor eax, eax
jmp 0x40a2ec
lea ecx, [ebp - 4]
call fcn.0040eb2f
mov ecx, 0xe80
call fcn.0040d995
mov ecx, eax
call fcn.0040d5bd
jmp 0x40a2e9
Function at 0x40eb2f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov bh, 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0040e89b
insb byte es:[edi], dx
mul byte [eax - 0x57ba721f]
push eax
call fcn.0040e8ab
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0040e860
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x40eb89
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
adc ebp, eax
ret 0xfffc
call ebp
cmp bl, byte [ebp + 0xe]
lea eax, [ebp - 0x40]
push eax
call fcn.0040e8ab
push eax
push esi
push dword [ebp + 8]
call fcn.0040e860
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0040e89b
dec ebx
sbb byte [eax], dl
sti
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0040e8ab
push eax
push esi
push dword [ebp + 8]
call fcn.0040e860
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
invalid
inc ebp
popfd

Function at 0x40f168
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
add byte [eax - 0x3335b], al
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
mov ebp, 0xfffffccd

Function at 0x40f178
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ebp, 0xfffffccd
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
invalid
test dword [edi - 4], eax
invalid
Function at 0x40f571
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [eax - 1]
jne 0x40f564
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
push 0xfffffc
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
push 0xfffffc
je 0x40f58f
cmp dword [ebp - 0x398], 0
je 0x40f759
cmp dword [ebp + 0xc], 1
je 0x40f759
cmp dword [ebp + 0xc], 8
invalid
invalid
mov byte [ecx], al
je 0x40f58f
cmp dword [ebp - 0x398], 0
je 0x40f759
cmp dword [ebp + 0xc], 1
je 0x40f759
cmp dword [ebp + 0xc], 8
invalid
invalid
mov byte [ecx], al

Function at 0x40f78f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0040e879
or byte [eax + 0x2ff845c6], ah
mov al, byte [0x2ff845c6]
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21

Function at 0x411a64
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x411e90
call fcn.00411d28
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x411ac4
cmp eax, 0xffffffff
je 0x411ac4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x411abd
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x411abd
cmp edx, 0x10000000
jae 0x411abd
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x411aba
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x411b30
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x411b6e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x411b66
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x411b70
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x411b56
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x411c40
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x411c71
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x411c71
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x411c71
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1001f370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009a161
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x100b3040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [edx]
xorps xmm0, xmm0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x64], 0
mov dword [ecx + 0x68], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x7c], 0
mov dword [ecx + 0x80], 0
mov dword [ecx + 0x84], 0
movups xmmword [ecx + 0x90], xmm0
mov dword [ecx + 0xa0], 0
mov dword [ecx + 0xa4], 0xf
mov dword [ebp - 0x10], ecx
mov byte [ecx + 0x90], 0
mov dword [ebp - 4], 0
movups xmmword [ecx + 0xa8], xmm0
mov dword [ecx + 0xb8], 0
mov dword [ecx + 0xbc], 0xf
mov byte [ecx + 0xa8], 0
mov byte [ebp - 4], 1
mov word [ecx + 0xc1], 0
mov byte [ecx + 0xc3], 0
mov dword [ecx + 0xc0], 0
mov dword [ecx + 0x400], 0
mov dword [ecx + 0x404], 0
mov dword [ecx + 0x408], 0
mov dword [ecx + 0x40c], 0
mov dword [ecx + 0x410], 0
mov dword [ecx + 0x414], 0
mov dword [ecx + 0x418], 0
mov dword [ecx + 0x41c], 0
mov byte [ecx + 0x420], 0
push eax
mov byte [ecx + 0x3424], 0
mov dword [ecx + 0x3428], 0
mov dword [ecx + 0x342c], 0
mov dword [ecx + 0x3430], 0
mov dword [ecx + 0x3434], 0
mov dword [ecx + 0x3438], 0
mov dword [ecx + 0x343c], 0
mov byte [ecx + 0x344d], 0
mov byte [ecx + 0x3458], 0
mov byte [ecx + 0x3744], 0
mov dword [ecx + 0x3748], 0
mov dword [ecx + 0x374c], 0
mov dword [ecx + 0x3750], 0
mov dword [ecx + 0x3754], 0
mov dword [ecx + 0x3758], 0
mov dword [ecx + 0x375c], 0
mov byte [ecx + 0x3764], 0
mov dword [ecx + 0x3774], 0
mov byte [ecx + 0x377a], 0
mov dword [ecx + 0x377c], 0
mov dword [ecx + 0x3780], 0
call fcn.10016110
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001f8e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x10], eax
mov ebx, ecx
dec eax
push edi
mov edi, edx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0xc]
mov esi, edi
sar eax, 1
mov ecx, edi
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp edi, eax
jge 0x1001f93e
nop dword [eax]
lea esi, [ecx + ecx]
push dword [ebx + esi*4 + 4]
push dword [ebx + esi*4 + 8]
call fcn.100196b0
movzx ecx, al
xor ecx, 1
inc ecx
add ecx, esi
mov eax, dword [ebx + ecx*4]
mov dword [ebx + edi*4], eax
mov edi, ecx
mov eax, dword [ebp - 0xc]
cmp ecx, eax
jl 0x1001f910
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, ecx
cmp ecx, eax
jne 0x1001f955
mov eax, dword [ebp - 0x10]
test al, 1
jne 0x1001f955
mov eax, dword [ebx + eax*4 - 4]
mov edi, dword [ebp - 0x14]
mov dword [ebx + ecx*4], eax
cmp esi, edi
jge 0x1001f9a0
nop dword [eax]
push dword [edx]
lea esi, [edi - 1]
sar esi, 1
push dword [ebx + esi*4]
call fcn.100196b0
test al, al
je 0x1001f991
mov eax, dword [ebx + esi*4]
mov edx, dword [ebp - 4]
mov dword [ebx + edi*4], eax
mov edi, esi
cmp dword [ebp - 8], esi
jl 0x1001f960
mov eax, edx
mov eax, dword [eax]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10026560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100b3040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1002661c
cmp byte [esi + 0x3d], 0
je 0x1002661c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1002660a
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 0x100265d1
sub eax, 1
je 0x100265d5
sub eax, 2
jne 0x1002660a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100976fc
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100265f3
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 0x1002660a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100976fc
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100976fc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100976fc
mov esp, ebp
pop ebp
ret
Function at 0x100296d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x100c54b0], 0
push ebx
push esi
push edi
je 0x1002985e
mov ecx, dword [0x10218e44]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1002985e
mov ecx, dword [0x10218ecc]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x1002985e
mov eax, dword [ecx + 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
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10029730
xor edx, edx
test ecx, ecx
je 0x10029759
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10029740
cmp edi, 0x5ff56dc5
je 0x10029768
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x1002985e
mov ecx, dword [ebp - 4]
jmp 0x10029714
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x1002985e
mov edx, dword [edi + 0x88]
test edx, edx
je 0x1002985e
movss xmm1, dword [0x100a9cd8]
xor ebx, ebx
cmp edx, 4
jl 0x1002982b
mov ecx, dword [edi + 0x7c]
lea esi, [edx - 4]
shr esi, 2
add ecx, 0x1078
inc esi
lea ebx, [esi*4]
movss xmm0, dword [ecx - 0xc60]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100297cc
mov dword [ecx - 0xc60], 0x7f7fffff
movss xmm0, dword [ecx - 0x840]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100297e7
mov dword [ecx - 0x840], 0x7f7fffff
movss xmm0, dword [ecx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10029802
mov dword [ecx - 0x420], 0x7f7fffff
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10029815
mov dword [ecx], 0x7f7fffff
add ecx, 0x1080
sub esi, 1
jne 0x100297b1
cmp ebx, edx
jl 0x1002982f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jle 0x1002985e
imul ecx, ebx, 0x420
add ecx, 0x418
add ecx, dword [edi + 0x7c]
sub edx, ebx
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10029853
mov dword [ecx], 0x7f7fffff
add ecx, 0x420
sub edx, 1
jne 0x10029840
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10029be0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1021e010]
sub esp, 0xc
push ebx
push esi
push edi
test al, 1
jne 0x10029c61
or eax, 1
mov dword [0x1021e010], eax
mov ebx, dword [0x10218e40]
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x10029c59
nop word [eax + eax]
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10029c20
xor edx, edx
test ecx, ecx
je 0x10029c4d
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10029c30
cmp esi, 0xa9bf35
je 0x10029ce3
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10029c10
mov eax, dword [0x1021e010]
xor ebx, ebx
mov dword [0x1021e008], ebx
test al, 2
jne 0x10029ccd
or eax, 2
mov dword [0x1021e010], eax
mov ecx, dword [0x10218e40]
mov ebx, dword [ecx + 0x30]
test ebx, ebx
je 0x10029cc5
nop word [eax + eax]
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10029c90
xor edx, edx
test ecx, ecx
je 0x10029cb9
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10029ca0
cmp esi, 0xe5abc68c
je 0x10029ced
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10029c80
mov eax, dword [0x1021e010]
xor ebx, ebx
mov dword [0x1021e000], ebx
test al, 4
jne 0x10029d38
or eax, 4
mov dword [0x1021e010], eax
mov eax, dword [0x10218e40]
mov ebx, dword [eax + 0x30]
jmp 0x10029d2c
mov eax, dword [0x1021e010]
jmp 0x10029c5b
mov eax, dword [0x1021e010]
jmp 0x10029cc7
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [edi + ecx], 0
jne 0x10029d00
xor edx, edx
test ecx, ecx
je 0x10029d29
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10029d10
cmp esi, 0xadc3dc05
je 0x10029d30
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10029cf4
mov dword [0x1021dff4], ebx
jmp 0x10029d3e
mov ebx, dword [0x1021dff4]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1021e000]
fstp dword [ebp - 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
call dword [ebp - 4]
mov ecx, dword [0x1021e008]
fstp dword [ebp - 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
call dword [ebp - 4]
movss xmm0, dword [ebp - 8]
sub esp, 8
divss xmm0, dword [ebp - 0xc]
fstp dword [ebp - 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
add esp, 8
fstp dword [0x100b6964]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002b620
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, dword [0x1021dffc]
push ebx
push esi
push edi
test al, 1
jne 0x1002b688
or eax, 1
mov dword [0x1021dffc], eax
mov eax, dword [0x10218e40]
mov ecx, dword [eax + 0x30]
jmp 0x1002b67c
mov edi, dword [ecx + 0xc]
mov ebx, 0x811c9dc5
xor edx, edx
nop word [eax + eax]
inc edx
cmp byte [edi + edx], 0
jne 0x1002b650
xor esi, esi
test edx, edx
je 0x1002b679
nop dword [eax]
movsx eax, byte [edi + esi]
inc esi
xor eax, ebx
imul ebx, eax, 0x1000193
cmp esi, edx
jb 0x1002b660
cmp ebx, 0xe6a08fc9
je 0x1002b680
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x1002b640
mov dword [0x1021e00c], ecx
jmp 0x1002b68e
mov ecx, dword [0x1021e00c]
cmp byte [0x100c4f88], 0
je case.default.0x1002b6a9
mov eax, dword [0x100c503c]
cmp eax, 0x12
ja case.default.0x1002b6a9
jmp dword [eax*4 + 0x1002b7e0]
mov eax, dword [ecx]
push str.cs_tibet
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.embassy
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.italy
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_cs15_daylight01_hdr
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_csgo_cloudy01
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_csgo_night02
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_csgo_night02b
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_csgo_night_flat
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_day02_05_hdr
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_day02_05
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_l4d_rural02_ldr
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.vertigo_hdr
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.vertigoblue_hdr
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.vertigo
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.vietnam
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_dust
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.jungle
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.nukeblank
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.office
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret