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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + 0xb]
mov eax, ecx
test edx, edx
jns 0x607a2d
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
test edx, edx
js 0x607d19
sete cl
test eax, eax
setne ch
or ch, cl
je 0x607d19
mov ecx, edx
cmp edx, 4
jb switch.0x00607a72
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja case.default.0x607a72
jmp dword [edx*4 + 0x78d868]
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
jmp case.0x607a72.2
Function at 0x6084c0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0xc]
movsx ebx, byte [edx + 0xb]
test ebx, ebx
jns 0x6084dc
mov ebx, dword [edx + 4]
mov edx, dword [edx]
test ebx, ebx
js 0x608847
sete al
test edx, edx
setne cl
or cl, al
je 0x608847
mov eax, ebx
mov dword [ebp - 0x20], edx
mov ecx, edx
mov edx, ebx
cmp ebx, 4
jb switch.0x00608536
mov edx, ebx
mov ecx, dword [ebp - 0x20]
mov eax, ebx
nop dword [eax]
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x608510
jmp dword [edx*4 + 0x78d958]
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
jmp case.0x608536.2
Function at 0x608920
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov eax, esi
mov dword [ebp - 0x18], ecx
mov edx, esi
mov dword [ebp - 0x14], esi
cmp esi, 4
jb switch.0x00608970
mov eax, dword [ebp - 0x14]
mov edx, eax
mov ecx, dword [ebp - 0x18]
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x60894a
jmp dword [edx*4 + 0x78d968]
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov edi, dword [ebx + 4]
xor ecx, ecx
test edi, edi
je 0x608a8c
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov esi, eax
shr esi, 0xf
xor esi, eax
mov edx, edi
shr edx, 1
and edx, 0x55555555
mov eax, edi
sub eax, edx
mov edx, eax
and edx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x20], eax
cmp eax, 1
jbe 0x608aa0
mov edx, esi
cmp esi, edi
jb 0x6089fa
mov eax, esi
xor edx, edx
div edi
mov eax, dword [ebx]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x608a8c
mov ebx, dword [eax]
test ebx, ebx
je 0x608a8c
mov dword [ebp - 0x10], edx
lea eax, [edi - 1]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x608a38
movsx ecx, byte [ebx + 0x13]
test ecx, ecx
js 0x608a5c
lea eax, [ebx + 8]
jmp 0x608a62
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
jmp case.0x608970.2
cmp dword [ebp - 0x20], 1
mov ecx, dword [ebp - 0x10]
jbe 0x608a9b
cmp eax, edi
jb 0x608a4b
xor edx, edx
div edi
mov eax, edx
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
jne 0x608a58
mov ebx, dword [ebx]
test ebx, ebx
jne 0x608a16
xor ecx, ecx
jmp 0x608a8c
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
test ecx, ecx
js 0x608aaa
sete dl
test eax, eax
setne dh
or dh, dl
je 0x608aaa
mov edx, dword [ebp - 0x14]
cmp edx, ecx
jne 0x608a52
push edx
push eax
push dword [ebp - 0x18]
call fcn.00652bcd
add esp, 0xc
test eax, eax
jne 0x608a52
mov ecx, ebx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 8
and eax, dword [ebp - 0x1c]
jmp 0x608a4e
lea edx, [edi - 1]
and edx, esi
jmp 0x6089fa
ud2
Function at 0x6136a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x578730
lea eax, [ebp - 0x14]
push 0
push eax
push 0x578580
push 0x7c0640
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x61371a
xor esi, esi
cmp dword [0x7c0644], 0
jne 0x613706
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x7c0648]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x613706
mov eax, dword [ebp + 8]
mov esi, dword [edi + eax*4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650d60
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00665b29
int3
Function at 0x62fea0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x10
mov esi, ecx
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [esp + 8], eax
mov byte [ecx], 0
mov eax, dword [0x7ad2c4]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
lea ecx, [eax + 0xf4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 0xf4]
mov dword [eax + 0xf4], esi
mov ecx, dword [ebp + 8]
mov dword [esi + 8], edx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi + 0x30], 0
xorps xmm0, xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x38], eax
mov eax, dword [0x750f80]
movzx eax, byte [eax + 0x80]
test al, al
setne byte [esi + 0x20]
jne 0x62ff39
mov ecx, dword [esp + 8]
xor ecx, ebp
call fcn.00650d60
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea edi, [esi + 0x10]
mov ebx, esp
push ebx
call fcn.005d5d00
movsd xmm0, qword [ebx]
movsd qword [edi], xmm0
jmp 0x62ff22
Function at 0x6511e8
Capabilities:
Parse pe header

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

Function at 0x65fe95
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0066002c
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x660004
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x660004
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x65ffb9
jg 0x65fef1
test eax, eax
je 0x65ffaf
push 1
push 0x1000
call fcn.00546650
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x65ff14
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x65ffa6
push 0x8000
push ebx
call fcn.00665c0d
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x65ff3d
jg 0x65ff38
cmp ecx, 0x1000
jb 0x65ff3d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00669e0d
add esp, 0x10
cmp eax, 0xffffffff
je 0x65ff82
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x65ff38
jl 0x65ff69
test ecx, ecx
jne 0x65ff2a
push dword [ebp - 0xc]
push ebx
call fcn.00665c0d
push esi
call fcn.005464a0
add esp, 0xc
xor ebx, ebx
jmp 0x660012
cmp byte [edi + 0x24], 0
je 0x65ff99
cmp dword [edi + 0x20], 5
jne 0x65ff99
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x65ffa4
mov ebx, dword [edi + 0x18]
jmp 0x65ffa6
xor ebx, ebx
push esi
call fcn.005464a0
pop ecx
jmp 0x660012
test ecx, ecx
jg 0x65ff7b
jl 0x65ffb9
test eax, eax
jae 0x65ff7b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00664c9d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x65ffd9
cmp byte [edi + 0x1c], 0
je 0x65ff7b
jmp 0x66000a
push ebx
call fcn.006639bd
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x65ff7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x660012
cmp byte [edi + 0x1c], 0
je 0x66000f
mov ebx, dword [edi + 0x18]
jmp 0x660012
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00664c9d
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x663316
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x728b08
push esi
call fcn.0066f4e7
pop ecx
pop ecx
test eax, eax
jne 0x663344
xor al, al
jmp 0x6633c1
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.006630a5
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x66337e
push dword [ebp - 0x210]
call fcn.005464a0
xor al, al
jmp 0x6633bf
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x663384
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x6633a4
push edx
call fcn.00663268
pop ecx
test al, al
je 0x66336f
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x6633b2
mov bl, 1
push dword [ebp - 0x210]
call fcn.005464a0
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00650d60
leave
ret
Function at 0x6656dc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x7adc70]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x66571c
cmp byte [ebx], 0xa
jne 0x66571c
or byte [edi + eax + 0x28], 4
jmp 0x665721
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x665820
mov dl, byte [eax]
cmp dl, 0x1a
je 0x665803
inc eax
cmp dl, 0xd
je 0x66574d
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x665773
cmp eax, ecx
jae 0x665781
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x665735
jmp 0x665820
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x6657fe
cmp dword [ebp - 0x10], 0
je 0x6657fe
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x7adc70]
test byte [eax + edi + 0x28], 0x48
je 0x6657d8
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x6657c3
mov byte [esi], dl
jmp 0x6657d4
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x7adc70]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x665820
cmp byte [ebp - 1], 0xa
jne 0x6657e7
cmp esi, ebx
jne 0x6657e7
mov byte [esi], 0xa
jmp 0x66581f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00664c9d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x665820
mov byte [esi], 0xd
jmp 0x66581f
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x7adc70]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x66581d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x665820
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x665829
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x7adc70]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x66586f
cmp word [ebx], dx
jne 0x66586f
or byte [eax + edi + 0x28], 4
jmp 0x665874
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x6659d7
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x6659b7
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x6658b5
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x6658eb
cmp eax, edx
jae 0x6658f9
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x665890
jmp 0x6659d7
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x6659b2
cmp dword [ebp - 0x18], 0
je 0x6659b2
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x7adc70]
test byte [eax + edi + 0x28], 0x48
je 0x665988
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x66594c
mov word [esi], cx
jmp 0x665983
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x7adc70]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x7adc70]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x7adc70]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x6659d7
pop eax
cmp word [ebp - 4], ax
jne 0x665998
cmp esi, ebx
jne 0x665998
mov word [esi], ax
jmp 0x6659d4
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00664c9d
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x6659d7
push 0xd
pop eax
jmp 0x665993
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x7adc70]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x6659d1
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x6659d7
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x66c41f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00651b20
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0066300e
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x66c461
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x66c5bd
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00678090
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x7adc70]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00664cfb
mov ecx, dword [esi*4 + 0x7adc70]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x66c5b6
cmp eax, dword [ecx + edi + 0x24]
jne 0x66c5b6
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x66c5b6
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00664cfb
add esp, 0x14
test edx, edx
jl 0x66c5b6
jg 0x66c52c
test eax, eax
jb 0x66c5b6
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x66c5b6
jl 0x66c546
cmp dword [ebp - 0x1008], eax
ja 0x66c5b6
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x66c564
test ebx, ebx
je 0x66c59d
cmp ecx, edi
jae 0x66c59d
mov al, byte [ecx]
cmp al, 0xd
jne 0x66c57e
lea eax, [edi - 1]
cmp ecx, eax
jae 0x66c58a
cmp byte [ecx + 1], 0xa
jne 0x66c58a
inc ecx
jmp 0x66c58a
movzx eax, al
movsx eax, byte [eax + 0x7a92f0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x66c564
cmp edx, ebx
jne 0x66c564
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x66c5bb
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00650d60
leave
ret

Function at 0x670ed0
Capabilities:
Parse pe header

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

Function at 0x671f96
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x729de8
push str.FlsAlloc
push 0x1f
call fcn.006724f2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x671fca
push dword [ebp + 8]
mov ecx, esi
call dword [0x7a29f4]
call esi
jmp 0x671fd0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x672014
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x729e0c
push str.FlsGetValue
push 0x21
call fcn.006724f2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x67204b
push dword [ebp + 8]
mov ecx, esi
call dword [0x7a29f4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x672053
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x729e20
push str.FlsSetValue
push 0x22
call fcn.006724f2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x67208d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x7a29f4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x675eb7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.006717ca
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.006717ca
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x675f2e
cmp word [ecx], dx
je 0x675f2e
mov eax, dword [0x72a7e4]
push edi
dec eax
push eax
push 0x72a6d0
call fcn.006760a7
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x675fa1
cmp word [eax], dx
je 0x675fa1
mov eax, dword [edi]
test eax, eax
je 0x675f52
cmp word [eax], dx
je 0x675f52
lea eax, [ebp - 0x10]
push eax
call fcn.00676108
jmp 0x675f5b
lea eax, [ebp - 0x10]
push eax
call fcn.00676403
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x675fcb
mov eax, dword [0x72a6cc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x72a3c0
call fcn.006760a7
add esp, 0xc
test al, al
je 0x675fcb
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x675f96
cmp word [eax], di
je 0x675f96
lea eax, [ebp - 0x10]
push eax
call fcn.00676108
pop ecx
jmp 0x675fcd
lea eax, [ebp - 0x10]
push eax
call fcn.00676403
jmp 0x675f93
mov eax, dword [edi]
test eax, eax
je 0x675fb8
cmp word [eax], dx
je 0x675fb8
lea eax, [ebp - 0x10]
push eax
call fcn.00676545
pop ecx
jmp 0x675fcb
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x676096
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00676637
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x676096
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x676096
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x676096
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x676023
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0067228c
test ebx, ebx
je 0x676091
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0067228c
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x676096
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x676096
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.006649b2
add esp, 0x10
xor eax, eax
inc eax
jmp 0x676098
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00650d60
leave
ret
Function at 0x67673d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.006717ca
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6767ac
cmp esi, dword [ebp - 4]
je 0x6767a7
cmp dword [ebp + 0xc], 0
je 0x6767a7
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x676784
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00676806
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x6767ae
xor eax, eax
inc eax
jmp 0x6767ae
xor eax, eax
pop edi
pop esi
leave
ret