joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446960
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 4]
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and eax, 0x4000000
test eax, 0xffffffff
jne 0x44697f
jmp 0x44698c
mov eax, dword [ebp - 4]
or eax, 0x200
mov dword [ebp - 4], eax
mov esi, esi
mov eax, dword [ebp + 8]
and eax, 0x20000000
test eax, 0xffffffff
jne 0x4469a0
jmp 0x446a01
mov eax, dword [ebp + 8]
and eax, 0x40000000
test eax, 0xffffffff
jne 0x4469b1
jmp 0x4469d8
mov eax, dword [ebp + 8]
and eax, 0x80000000
test eax, 0xffffffff
jne 0x4469c2
jmp 0x4469cd
mov eax, dword [ebp - 4]
or eax, 0x40
mov dword [ebp - 4], eax
jmp 0x4469d6
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
jmp 0x4469ff
mov eax, dword [ebp + 8]
and eax, 0x80000000
test eax, 0xffffffff
jne 0x4469e9
jmp 0x4469f6
mov eax, dword [ebp - 4]
or eax, 0x80
mov dword [ebp - 4], eax
jmp 0x4469ff
mov eax, dword [ebp - 4]
or eax, 0x10
mov dword [ebp - 4], eax
jmp 0x446a5e
mov eax, dword [ebp + 8]
and eax, 0x40000000
test eax, 0xffffffff
jne 0x446a12
jmp 0x446a39
mov eax, dword [ebp + 8]
and eax, 0x80000000
test eax, 0xffffffff
jne 0x446a23
jmp 0x446a2e
mov eax, dword [ebp - 4]
or eax, 4
mov dword [ebp - 4], eax
jmp 0x446a37
mov eax, dword [ebp - 4]
or eax, 2
mov dword [ebp - 4], eax
jmp 0x446a5e
mov eax, dword [ebp + 8]
and eax, 0x80000000
test eax, 0xffffffff
jne 0x446a4a
jmp 0x446a55
mov eax, dword [ebp - 4]
or eax, 8
mov dword [ebp - 4], eax
jmp 0x446a5e
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x4481d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 0xc], cl
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.kernel32.dll_GetLocaleInfoW
mov dword [ebp - 0x1c], eax
cmp eax, 2
jle 0x44827a
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x448296
mov dword [ebp - 0x20], 0xffffffff
lea esi, [esi]
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov dx, word [ebp + edx*2 - 0x18]
mov word [ebp - 0x24], dx
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
cmp dx, 0x20
jb 0x448296
sub dx, 0x20
je 0x448270
sub dx, 0x80
je 0x448270
sub dx, 0x1f62
jb 0x448296
sub dx, 1
jbe 0x448270
sub dx, 6
je 0x448270
sub dx, 0x26
jne 0x448296
nop
jmp 0x448270
cmp eax, dword [ebp - 0x20]
jg 0x448218
lea esi, [esi]
jmp 0x448296
cmp dword [ebp - 0x1c], 2
jne 0x44828a
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x448296
mov al, byte [ebp - 0xc]
call fcn.0040b7b0
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x448314
sub ax, 0x21
je 0x448328
sub ax, 0x17
je 0x448334
sub ax, 0x222
je 0x448340
sub ax, 0x392
je 0x448348
sub ax, 1
je 0x448350
sub ax, 0x1996
je 0x448358
sub ax, 1
je 0x448360
sub ax, 6
je 0x448368
sub ax, 0xb
je 0x448378
sub ax, 0x1b
je 0x448370
sub ax, 0x367
je 0x448380
jmp 0x448388
mov ax, word [ebp - 0x24]
call fcn.0040b850
mov byte [ebp - 0x10], al
jmp 0x448390
mov byte [ebp - 0x10], 0x20
jmp 0x448390
mov byte [ebp - 0x10], 0x2e
jmp 0x448390
mov byte [ebp - 0x10], 0x27
jmp 0x448390
mov byte [ebp - 0x10], 0x2c
jmp 0x448390
mov byte [ebp - 0x10], 0x27
jmp 0x448390
mov byte [ebp - 0x10], 0x20
jmp 0x448390
mov byte [ebp - 0x10], 0x20
jmp 0x448390
mov byte [ebp - 0x10], 0x20
jmp 0x448390
mov byte [ebp - 0x10], 0x20
jmp 0x448390
mov byte [ebp - 0x10], 0x2d
jmp 0x448390
mov byte [ebp - 0x10], 0x27
jmp 0x448390
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x10], al
mov esi, esi
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4550e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.004550d0
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x4551f0
mov al, byte [ebp - 0x110]
test al, al
je 0x4551b9
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404fd0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00409440
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a260
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x754530
call fcn.0046efd0
mov edx, 0x45514a
mov ecx, ebp
call fcn.00414920
jmp 0x4551f0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x754530
call fcn.0046efd0
mov edx, 0x4551b9
mov ecx, ebp
call fcn.00414920
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x4552b4
mov al, byte [ebp - 0x110]
test al, al
je 0x45527d
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404fd0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00409440
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a260
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x754530
call fcn.0046efd0
mov edx, 0x45520e
mov ecx, ebp
call fcn.00414920
jmp 0x4552b4
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x754530
call fcn.0046efd0
mov edx, 0x45527d
mov ecx, ebp
call fcn.00414920
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.00454a70
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004550d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45514a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.004550d0
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x4551f0
mov al, byte [ebp - 0x110]
test al, al
je 0x4551b9
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404fd0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00409440
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a260
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x754530
call fcn.0046efd0
mov edx, 0x45514a
mov ecx, ebp
call fcn.00414920
jmp 0x4551f0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x754530
call fcn.0046efd0
mov edx, 0x4551b9
mov ecx, ebp
call fcn.00414920
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x4552b4
mov al, byte [ebp - 0x110]
test al, al
je 0x45527d
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404fd0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00409440
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a260
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x754530
call fcn.0046efd0
mov edx, 0x45520e
mov ecx, ebp
call fcn.00414920
jmp 0x4552b4
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x754530
call fcn.0046efd0
mov edx, 0x45527d
mov ecx, ebp
call fcn.00414920
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.00454a70
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004550d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4551b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.004550d0
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x4551f0
mov al, byte [ebp - 0x110]
test al, al
je 0x4551b9
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404fd0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00409440
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a260
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x754530
call fcn.0046efd0
mov edx, 0x45514a
mov ecx, ebp
call fcn.00414920
jmp 0x4551f0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x754530
call fcn.0046efd0
mov edx, 0x4551b9
mov ecx, ebp
call fcn.00414920
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x4552b4
mov al, byte [ebp - 0x110]
test al, al
je 0x45527d
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404fd0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00409440
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a260
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x754530
call fcn.0046efd0
mov edx, 0x45520e
mov ecx, ebp
call fcn.00414920
jmp 0x4552b4
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x754530
call fcn.0046efd0
mov edx, 0x45527d
mov ecx, ebp
call fcn.00414920
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.00454a70
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004550d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x458480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, 0x755238
call fcn.0040d6e0
test al, al
je 0x458566
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.00458580
xor eax, eax
push fcn.00458470
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0xc4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x18]
mov byte [edx + 0x18], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1a]
mov byte [edx + 0x1a], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1b]
mov byte [edx + 0x1b], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1c]
mov byte [edx + 0x1c], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 8]
add eax, 0x30
call fcn.00408bc0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
call fcn.00457690
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
call fcn.004571e0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
call dword [ecx + 0xb0]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00458470
jmp 0x458571
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0045b0d0
mov esp, ebp
pop ebp
ret

Function at 0x45a400
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push dword [ebx + 4]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x45a41c
mov dword [ebx + 0xc], 0
mov esi, esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4650c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc20]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc10], 0
xor eax, eax
push fcn.004650b0
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xfffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xc10]
call fcn.00408bc0
lea eax, [ebp - 0xc10]
call fcn.00403d40
lea eax, [ebp - 0xc1c]
push eax
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x465120
mov eax, 0x7a22f0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc18], eax
cmp eax, 0xc00
jbe 0x4651ca
mov edx, dword [ebp - 0xc18]
lea eax, [ebp - 0xc0c]
call fcn.00410170
xor eax, eax
push fcn.004650a0
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0xc0c]
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x46517c
mov eax, 0x7a22f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4651b8
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x759f2c
push eax
push dword [ebp - 0xc0c]
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4651b8
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004650a0
jmp 0x465228
lea eax, [ebp - 0xc08]
push eax
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x4651ec
mov eax, 0x7a22f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x465228
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x759f2c
push eax
lea eax, [ebp - 0xc08]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x465228
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov esi, esi
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004650b0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x470540
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x26c]
push ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 8], dl
mov bl, cl
mov edx, 0x75ae98
lea eax, [ebp - 0x268]
call fcn.0040eef0
xor eax, eax
push fcn.00470520
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
jne 0x470583
mov eax, 0x7a22f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x4705cb
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x47059f
clc
jmp 0x4705a6
bt dword [0x75a400], eax
jb 0x4705bf
mov eax, ebp
call fcn.00470670
test al, al
je 0x4705bf
mov byte [ebp - 0x26c], 1
jmp 0x470650
mov byte [ebp - 0x26c], 0
jmp 0x470650
mov eax, esi
and eax, 0x10
movzx edx, byte [ebp - 8]
cmp eax, dword [edx*4 + 0x725fb0]
sete byte [ebp - 0x26c]
mov al, bl
and al, byte [ebp - 0x26c]
je 0x470650
and esi, 0x400
je 0x470650
lea ebx, [ebp - 0x268]
mov edx, 0x75ae98
mov eax, ebx
call fcn.0040efb0
mov edx, ebx
mov eax, dword [ebp - 4]
xor cl, cl
call fcn.004701e0
test eax, eax
je 0x470624
sub eax, 1
je 0x47063c
jmp 0x470648
mov dl, byte [ebp - 8]
mov eax, dword [ebp - 0x268]
xor cl, cl
call fcn.00470540
mov byte [ebp - 0x26c], al
jmp 0x470650
mov byte [ebp - 0x26c], 1
jmp 0x470650
mov byte [ebp - 0x26c], 0
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00470520
mov al, byte [ebp - 0x26c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x470860
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
test eax, eax
jne 0x47086c
mov eax, 0x7a22f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esp, ebp
pop ebp
ret

Function at 0x4709b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
xor eax, eax
push fcn.004709a0
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x470a20
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.0040bbf0
cmp ebx, 1
jle 0x470a10
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
xor dx, dx
call fcn.0040b280
jmp 0x470a2b
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00408bc0
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004709a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x470e30
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00470e20
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x7a3b4c]
xor edx, edx
call fcn.00408bc0
mov dword [ebx*4 + 0x7a3b6c], 0xffffffff
cmp ebx, 7
jl 0x470e58
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push esi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x470ee4
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.004095b0
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.00466ca0
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x470ee4
push 4
push ebx
push esi
mov eax, 0x470d00
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x470d90
push eax
call sub.kernel32.dll_EnumCalendarInfoA
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00470e20
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x471530
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x14]
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00471500
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.0040b4b0
call sub.kernel32.dll_GetEnvironmentStringsW
mov edi, eax
mov esi, edi
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0046c980
jmp 0x471608
lea edx, [ebp - 4]
mov eax, esi
call fcn.0040b3e0
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x3d
call fcn.0040bfd0
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx - 1]
mov eax, dword [ebp - 4]
mov edx, 1
call fcn.0040bd70
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0046c980
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040bbb0
test eax, eax
jne 0x4715f8
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4715e6
mov eax, dword [eax - 4]
sub eax, ebx
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
call fcn.0040bd70
jmp 0x47160f
mov eax, esi
call fcn.004049a0
shl eax, 1
add eax, esi
add eax, 2
mov esi, eax
cmp word [esi], 0
jne 0x471590
push edi
call sub.kernel32.dll_FreeEnvironmentStringsW
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00471500
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x471640
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x7a3bb0], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x7a3a10], eax
mov eax, dword [ebp - 0x90]
mov dword [0x7a3a20], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x7a3a30], eax
mov eax, dword [ebp - 0x88]
mov dword [0x7a3a40], eax
mov edx, 0x7a3a51
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.004037b0
lea eax, [ebp - 0x80]
call fcn.00404980
mov byte [0x7a3a50], al
mov eax, 0x75a4d0
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x7a3bc0], eax
test eax, eax
je 0x4716e0
mov eax, 0x75a4dc
push eax
push dword [0x7a3bc0]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7a3bb0], eax
nop
cmp dword [0x7a3a20], 6
jae 0x4716f4
mov dword [0x725870], 0
nop
cmp dword [0x7a3a20], 6
jb 0x471710
cmp dword [0x7a3a30], 1
jb 0x471710
mov dword [0x725880], 2
mov esp, ebp
pop ebp
ret
Function at 0x4acb80
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov eax, 0xffffffff
mov esi, esi
add eax, 1
mov ecx, eax
mov ebx, 0xffffffff
lea esi, [esi]
add ebx, 1
mov edx, ecx
and edx, 1
cmp edx, 1
jne 0x4acbb3
mov edx, ecx
shr edx, 1
xor edx, 0xedb88320
mov ecx, edx
jmp 0x4acbb5
shr ecx, 1
cmp ebx, 7
jl 0x4acb98
mov dword [eax*4 + 0x7a41c0], ecx
cmp eax, 0xff
jl 0x4acb88
pop ebx
ret

Function at 0x4acbd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esi, [ecx - 1]
test esi, esi
jl 0x4acc04
mov edi, 0xffffffff
nop
add edi, 1
mov cl, al
xor cl, byte [edx]
and ecx, 0xff
mov ebx, ecx
mov ecx, eax
shr ecx, 8
xor ecx, dword [ebx*4 + 0x7a41c0]
mov eax, ecx
add edx, 1
cmp esi, edi
jg 0x4acbe0
pop edi
pop esi
pop ebx
ret