joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e069741
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 0x20]
push edi
test bl, 8
je 0x2e069781
cmp dword [esp + 0x20], 1
jge 0x2e069771
push 0
push 0x2e006d4a
push 0x7176667a
push 0x2e006d4a
call fcn.2e05d3bb
pop edi
or eax, 0xffffffff
pop ebx
ret 0x20
mov edi, dword [esp + 0x1c]
test bl, 1
je 0x2e0697c0
xor eax, eax
mov word [edi], ax
jmp 0x2e0697c3
cmp dword [esp + 0x20], 2
jge 0x2e0697a6
push 0
push 0x2e006d4a
push 0x64616c77
push 0x2e006d4a
call fcn.2e05d3bb
pop edi
or eax, 0xffffffff
pop ebx
ret 0x20
mov edi, dword [esp + 0x1c]
test bl, 1
je 0x2e0697bc
xor ecx, ecx
xor edx, edx
mov word [edi + 2], cx
mov word [edi], dx
jmp 0x2e0697c3
mov byte [edi + 1], 0
mov byte [edi], 0
push ebp
push esi
mov esi, dword [esp + 0x18]
push esi
call fcn.2e06b1ae
test eax, eax
jne 0x2e069805
mov ebp, dword [esp + 0x1c]
lea eax, [ebp + 1]
movzx ecx, ax
push 0xd9
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x2e069805
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x2e069805
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x2e06980f
pop esi
pop ebp
pop edi
or eax, 0xffffffff
pop ebx
ret 0x20
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push edx
push ebx
push ecx
movzx ecx, word [esp + 0x2c]
movzx edx, bp
push edi
shl edx, 0x10
or edx, ecx
push edx
mov edx, dword [esp + 0x28]
push eax
push esi
push edx
call fcn.2e0695f0
pop esi
pop ebp
pop edi
pop ebx
ret 0x20

Function at 0x2e069aca
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x2e0cab40
call fcn.2e046836
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx edx, word [eax]
mov ecx, 0x5a4d
cmp dx, cx
jne 0x2e069b08
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov esi, 0xe0
cmp word [ecx + 0x14], si
jne 0x2e069b08
add esi, 0x2b
cmp word [ecx + 0x18], si
jne 0x2e069b08
mov eax, dword [ecx + 0x50]
jmp 0x2e069b29
mov ecx, 0x4550
cmp dx, cx
jne 0x2e069b35
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x2e069b35
add ecx, 0x2b
cmp word [eax + 0x18], cx
jne 0x2e069b35
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x1c], eax
jmp 0x2e069b39
and dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.2e04687b
ret 4
Function at 0x2e06aaa5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x2e106da0], 0xffffffff
jne 0x2e06ab21
lea eax, [ebp - 4]
push eax
push 0x20019
push dword [0x2e106d98]
mov dword [0x2e106da0], 1
push SysReAllocString
call fcn.2e06246b
test eax, eax
jne 0x2e06ab21
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [0x2e106d9c]
mov dword [ebp - 8], 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e06ab18
cmp dword [ebp - 0xc], 4
jne 0x2e06ab18
cmp dword [ebp - 0x10], eax
je 0x2e06ab18
mov dword [0x2e106da0], 3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x2e106da0]
leave
ret

Function at 0x2e06ba97
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
mov eax, dword [esi + 0x30]
xor edi, edi
cmp eax, ebx
je 0x2e06bab7
cmp eax, edi
jne 0x2e06bb0d
mov eax, dword [esi + 0x10]
lea edx, [ebp - 0xc]
push edx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 8], edi
ja 0x2e06bad4
cmp dword [ebp - 0xc], edi
jbe 0x2e06bb0a
push edi
push 0x64
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.2e053655
push dword [ebp - 8]
push dword [ebp - 0xc]
push edx
push eax
call fcn.2e04d062
cmp edx, edi
jb 0x2e06bb02
ja 0x2e06bafa
cmp eax, 0x64
jbe 0x2e06bb02
push 0x64
pop eax
mov dword [ebp - 0x10], edi
jmp 0x2e06bb05
mov dword [ebp - 0x10], edx
mov dword [esi + 0x34], eax
jmp 0x2e06bb0d
mov dword [esi + 0x34], edi
cmp dword [esi + 0x2c], ebx
jne 0x2e06bb45
cmp dword [ebp + 8], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x2e06bb29
call edi
sub eax, dword [esi + 0x38]
cmp eax, 0xfa
jb 0x2e06bb45
mov eax, dword [esi + 0x34]
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x14]
push ecx
push eax
call fcn.2e071a53
test eax, eax
je 0x2e06bb48
call edi
mov dword [esi + 0x38], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x2e06e039
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x38], edi
je 0x2e06e0a0
cmp dword [ebp + 0x14], 0x40000
jb 0x2e06e0a0
mov eax, dword [ebp + 0x10]
mov esi, dword [esi + 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 0xc], edi
push dword [ebp + 0xc]
mov dword [ebp - 8], edi
push dword [ebp + 8]
mov dword [ebp - 0x28], 0x2e022a88
push esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call fcn.2e06d8e7
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
add dword [eax], ecx
jmp 0x2e06e189
mov ecx, dword [ebp + 0x14]
mov eax, 0x10000
mov dword [ebp - 8], ecx
cmp ecx, eax
jb 0x2e06e0b2
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 0x18]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.2e06b579
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
push dword [ebp + 8]
call fcn.2e06b583
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
cmp dword [ecx + 4], edi
je 0x2e06e0e7
call fcn.2e071a96
mov dword [ebp - 4], eax
jmp 0x2e06e0ea
mov dword [ebp - 4], edi
cmp dword [ebp - 4], edi
jl 0x2e06e188
mov eax, dword [esi + 0x30]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 8]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esi + 0x38], edi
je 0x2e06e135
cmp eax, edi
jne 0x2e06e154
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x2e06e139
mov eax, dword [esi + 0x30]
push 1
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
cmp eax, edi
jne 0x2e06e154
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x2e06e14d
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x2e06e188
mov eax, dword [ebp - 0x10]
add dword [ebx], eax
add dword [ebp + 8], eax
adc dword [ebp + 0xc], edi
add dword [ebp + 0x10], eax
sub dword [ebp + 0x14], eax
je 0x2e06e188
cmp dword [ebp - 8], eax
jne 0x2e06e181
mov eax, 0x10000
cmp dword [ebp + 0x14], eax
jae 0x2e06e179
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
jmp 0x2e06e0b6
mov dword [ebp - 4], 0x8000ffff
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 0x18
Function at 0x2e06f8c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x14]
push esi
xor esi, esi
push edi
cmp eax, esi
jne 0x2e06f8da
mov edi, 0x80004003
jmp 0x2e06f9d5
push dword [ebp + 0xc]
mov dword [eax], esi
call fcn.2e06d6d4
test eax, eax
jne 0x2e06f8f2
mov edi, 0x80070057
jmp 0x2e06f9d5
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x2e06f921
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x2e06f917
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, esi
jne 0x2e06f9d5
cmp dword [ebp - 4], esi
jg 0x2e06f937
jl 0x2e06f92d
cmp dword [ebp - 8], esi
jae 0x2e06f937
mov edi, 0x8000ffff
jmp 0x2e06f9d5
push dword [ebp + 0x18]
push 0xa0
call fcn.2e06a9fd
pop ecx
pop ecx
cmp eax, esi
je 0x2e06f956
push dword [ebp + 0x18]
mov ecx, eax
call fcn.2e06efec
mov esi, eax
xor edi, edi
push ebx
mov ebx, esi
test esi, esi
jne 0x2e06f966
mov edi, 0x8007000e
jmp 0x2e06f9ca
movzx eax, word [ebp + 0xc]
push dword [ebp + 8]
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 0xc]
setne cl
and eax, 0x100000
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], ecx
mov eax, dword [ebp - 8]
mov dword [esi + 0x60], eax
mov eax, dword [ebp - 4]
lea ecx, [esi + 0x30]
mov dword [esi + 0x64], eax
call fcn.2e06e5cd
push dword [ebp + 0x10]
lea ecx, [esi + 0x94]
call fcn.2e06e68d
test dword [ebp + 0xc], 0x20000
jne 0x2e06f9c0
push 0xfa0
lea ecx, [esi + 0x40]
xor edi, edi
call fcn.2e06c77a
test eax, eax
je 0x2e06f95f
mov eax, dword [ebp + 0x14]
xor ebx, ebx
add esi, 8
mov dword [eax], esi
test ebx, ebx
je 0x2e06f9d4
push ebx
call fcn.2e06ba6d
pop ebx
mov eax, edi
pop edi
pop esi
leave
ret 0x14

Function at 0x2e071a53
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [0x2e1102f8]
push edi
call fcn.2e071a05
inc eax
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call esi
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edi, dword [0x2e1102f8]
mov ebx, eax
call fcn.2e071a05
dec eax
push eax
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8

Function at 0x2e071a96
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
sub eax, dword [esi + 0xc]
cmp eax, 0xfa
jb 0x2e071ad4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
lea eax, [esi + 0x10]
push eax
push dword [esi + 4]
call fcn.2e071a53
test eax, eax
jne 0x2e071aca
mov eax, 0x80004004
jmp 0x2e071ad6
call edi
mov dword [esi + 0xc], eax
mov dword [0x2e1102f4], eax
xor eax, eax
pop edi
pop esi
ret
Function at 0x2e072870
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x2e0d530c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x804]
push 0x7ff
push eax
call fcn.2e098452
add esp, 0x10
lea eax, [ebp - 0x804]
push eax
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.2e046266
leave
ret

Function at 0x2e075fec
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov esi, ecx
xor ecx, ecx
mov eax, 0x2e110784
inc ecx
lock xadd dword [eax], ecx
inc ecx
cmp ecx, 1
jne 0x2e07603d
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x28]
mov dword [0x2e110788], eax
mov ax, word [ebp - 0x30]
mov word [0x2e11078c], ax
mov eax, dword [ebp - 0x18]
mov dword [0x2e110790], eax
mov eax, dword [ebp - 0x40]
mov dword [0x2e110794], eax
mov eax, esi
pop esi
leave
ret

Function at 0x2e079ca6
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x2e079d06
cmp eax, edi
je 0x2e079d06
push edi
push edi
push edi
push 2
push edi
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, 0xffffffff
je 0x2e079d06
cmp eax, edi
je 0x2e079d06
push edi
push edi
push edi
push 4
push eax
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
inc eax
jmp 0x2e079d08
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x2e07b35b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x2e0d530c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x107]
push ebx
push eax
xor edi, edi
mov byte [ebp - 0x108], bl
call fcn.2e046a1a
add esp, 0xc
push ebx
push 0x2b
lea eax, [ebp - 0x108]
push eax
push ebx
mov byte [esi], bl
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x2e07b3c9
cmp byte [ebp - 0x108], bl
je 0x2e07b3c9
push dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push esi
push 0x2e023714
push eax
call fcn.2e07b294
mov edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e046266
leave
ret 8

Function at 0x2e07b3dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0xc], 0x16
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x2e07b471
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 8]
call esi
test eax, eax
jne 0x2e07b470
push edi
push dword [ebp - 4]
call fcn.2e0491a7
mov edi, eax
pop ecx
cmp edi, ebx
je 0x2e07b46f
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 8]
call esi
test eax, eax
jne 0x2e07b468
mov eax, dword [ebp - 4]
push edi
push dword [ebp + 0x18]
mov byte [eax + edi - 1], bl
push dword [ebp + 0x14]
call fcn.2e0490f0
add esp, 0xc
mov dword [ebp - 0xc], eax
push edi
call fcn.2e048c78
pop ecx
pop edi
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret 0x14
Function at 0x2e0835c2
Capabilities:
Check if file exists
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push 0x2e110918
mov dword [ebp - 4], 0x80004005
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp dword [0x2e110930], ebx
je 0x2e0835f0
mov dword [ebp - 4], 0x100001
jmp 0x2e083685
mov ecx, dword [ebp + 8]
cmp ecx, ebx
jne 0x2e083603
mov dword [ebp - 4], 0x8ff00003
jmp 0x2e083685
mov eax, dword [ecx]
mov dword [0x2e110814], eax
mov eax, dword [ecx]
push esi
push edi
cmp eax, ebx
jne 0x2e08369f
cmp dword [ecx + 4], ebx
je 0x2e08367e
mov eax, dword [ecx + 0x10]
mov dword [0x2e110914], eax
mov eax, dword [ecx + 8]
mov dword [str.fr_b.xr_b._fe], eax
mov eax, dword [ecx + 0xc]
push 1
push ebx
mov dword [0x2e107110], eax
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x2e110818], eax
cmp eax, ebx
jne 0x2e083698
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x2e08367e
cmp eax, 3
jbe 0x2e083677
cmp eax, 0x1f
je 0x2e083677
cmp eax, 0x7e
je 0x2e083677
cmp eax, 0xc1
je 0x2e083677
cmp eax, 0x3ee
je 0x2e083677
cmp eax, 0x485
jne 0x2e08367e
mov dword [ebp - 4], 0x8ff00004
call fcn.2e082fdf
pop edi
pop esi
push 0x2e110918
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 4]
pop ebx
leave
ret 4
mov ecx, 0x315
jmp 0x2e0836c8
cmp eax, 1
jne 0x2e083683
mov eax, dword [ecx + 0x14]
mov dword [0x2e110914], eax
mov eax, dword [ecx + 0xc]
mov dword [str.fr_b.xr_b._fe], eax
mov eax, dword [ecx + 0x10]
mov dword [0x2e107110], eax
mov eax, dword [ecx + 4]
mov dword [0x2e110818], eax
movzx ecx, word [ecx + 8]
cmp dword [str.fr_b.xr_b._fe], ebx
je 0x2e08367e
cmp dword [0x2e107110], ebx
je 0x2e08367e
movzx ecx, cx
push 0xa
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x2e08367e
push edi
push dword [0x2e110818]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp esi, 6
jb 0x2e08367e
push edi
push dword [0x2e110818]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x2e08367e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea ecx, [esi + eax]
mov dword [0x2e1108e0], ecx
mov cx, word [0x2e026f5c]
mov dword [0x2e1108dc], eax
cmp cx, word [eax]
jne 0x2e08367e
add eax, 2
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.2e0823ef
cmp esi, dword [ebp - 8]
jne 0x2e08367e
lea eax, [ebp + 8]
push eax
call fcn.2e0834da
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x2e08367e
call fcn.2e083206
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x2e08367e
push 7
pop ecx
xor eax, eax
mov edi, 0x2e110828
rep stosd dword es:[edi], eax
mov dword [ebp - 4], ebx
mov dword [0x2e110930], 1
jmp 0x2e083683
Function at 0x2e084f63
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x2e0d530c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x2e110918
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x220], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [esi + 0x1f], 2
jne 0x2e085178
mov eax, dword [esi + 0x14]
push edi
mov edi, 0x2e110954
cmp eax, ebx
je 0x2e084fb9
push eax
mov ecx, edi
call fcn.2e087335
mov dword [esi + 0x14], ebx
mov byte [esi + 0x1d], bl
push 8
lea eax, [ebp - 0x14]
push eax
push 0x1004
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x2e0850ba
lea eax, [ebp - 0x23c]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push 0x2e026f48
push ebx
call fcn.2e083341
cmp eax, ebx
mov dword [ebp - 0x218], eax
jl 0x2e0850ba
mov eax, dword [ebp - 0x238]
push 4
xor ecx, ecx
pop edx
mul edx
seto cl
mov dword [ebp - 0x220], 1
neg ecx
or eax, ecx
push eax
mov ecx, edi
call fcn.2e08730b
mov dword [esi + 0x14], eax
cmp eax, ebx
je 0x2e0850ca
mov dword [ebp - 0x21c], ebx
cmp dword [ebp - 0x238], ebx
jbe 0x2e08508e
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 0x23c]
push dword [eax + ecx*4]
call fcn.2e084b32
cmp eax, ebx
mov dword [ebp - 0x218], eax
jl 0x2e085073
movzx eax, byte [esi + 0x1d]
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp - 0x224]
mov dword [ecx + eax*4], edx
inc byte [esi + 0x1d]
jmp 0x2e08507a
cmp eax, 0x8007000e
je 0x2e0850a5
inc dword [ebp - 0x21c]
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0x238]
jb 0x2e085039
cmp byte [esi + 0x1d], bl
jne 0x2e085164
mov eax, dword [esi + 0x14]
mov byte [esi + 0x1d], 1
mov dword [eax], ebx
jmp 0x2e085164
push dword [esi + 0x14]
mov ecx, edi
call fcn.2e087335
mov dword [esi + 0x14], ebx
mov byte [esi + 0x1d], bl
jmp 0x2e085177
push 4
mov ecx, edi
call fcn.2e08730b
mov dword [esi + 0x14], eax
cmp eax, ebx
jne 0x2e0850d9
mov dword [ebp - 0x218], 0x8007000e
jmp 0x2e085177
mov byte [esi + 0x1d], 1
mov dword [eax], ebx
call fcn.2e087532
test al, al
je 0x2e085109
cmp dword [esi + 8], 0x1000
jne 0x2e085109
push 0x100
lea eax, [ebp - 0x214]
push eax
push 4
push dword [esi + 4]
call fcn.2e0874d5
jmp 0x2e085120
push 0x100
lea eax, [ebp - 0x214]
push eax
push 4
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, ebx
je 0x2e085164
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 0x21c], ebx
call fcn.2e083a9f
test eax, eax
je 0x2e085158
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call fcn.2e08717f
mov ecx, dword [esi + 0x14]
mov dword [ecx], eax
cmp dword [ebp - 0x218], 0x8007000e
je 0x2e085177
cmp dword [esi + 8], 0xc00
je 0x2e085171
or byte [esi + 0x1f], 2
mov dword [ebp - 0x218], ebx
pop edi
push 0x2e110918
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x220], ebx
pop esi
pop ebx
je 0x2e085199
lea eax, [ebp - 0x23c]
push eax
call fcn.2e0833ae
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x218]
xor ecx, ebp
call fcn.2e046266
leave
ret 4
Function at 0x2e08592a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x2e0d530c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x2e110930], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
jne 0x2e085953
mov edi, 0x8ff000ff
jmp 0x2e085998
test ebx, ebx
je 0x2e085993
call fcn.2e084f41
mov edi, eax
test edi, edi
jl 0x2e085998
push esi
call fcn.2e082691
mov esi, eax
test esi, esi
je 0x2e085993
test byte [esi + 0x1f], 4
jne 0x2e08598a
push esi
call fcn.2e0847bc
mov edi, eax
test edi, edi
jge 0x2e08598a
cmp edi, 0x8007000e
je 0x2e085998
xor edi, edi
mov eax, dword [ebp + 0xc]
dec eax
je 0x2e0859ab
dec eax
je 0x2e0859c3
mov edi, 0x80004005
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e046266
leave
ret 0xc
mov eax, dword [esi + 0x18]
test eax, eax
je 0x2e0859c3
cmp byte [esi + 0x1e], 0
jbe 0x2e0859c3
mov eax, dword [eax]
and eax, 0xff
mov dword [ebx], eax
jmp 0x2e085998
cmp dword [esi + 8], 0x1000
jne 0x2e0859ea
call fcn.2e087532
test al, al
je 0x2e0859ea
push 3
lea eax, [ebp - 0xc]
push eax
push 0x1009
push dword [esi + 4]
call fcn.2e0874d5
jmp 0x2e0859fe
push 3
lea eax, [ebp - 0xc]
push eax
push 0x1009
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x2e085993
lea eax, [ebp - 0xc]
push eax
call fcn.2e0839fe
push ebx
push eax
call fcn.2e084eeb
mov edi, eax
jmp 0x2e085998
Function at 0x2e087532
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x2e0d530c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x2e110967], 0
jne 0x2e08758c
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x2e087585
cmp dword [ebp - 0x110], 2
jne 0x2e087585
cmp dword [ebp - 0x11c], 6
jb 0x2e087585
call fcn.2e0873e8
mov byte [0x2e110966], al
mov byte [0x2e110967], 1
mov ecx, dword [ebp - 4]
mov al, byte [0x2e110966]
xor ecx, ebp
call fcn.2e046266
leave
ret

Function at 0x2e0875b1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x2e0d530c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x160], 0
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x164], ebx
call fcn.2e087532
test al, al
je 0x2e0875f8
push dword [ebp + 0x10]
push ebx
push 0x5c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 0x160], eax
jmp 0x2e087694
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
push 0x56
lea eax, [ebp - 0xb0]
push eax
push 0x59
push dword [ebp + 8]
call esi
push 0x56
mov edi, eax
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push dword [ebp + 8]
call esi
cmp edi, 1
jle 0x2e087692
cmp eax, 1
jle 0x2e087674
mov esi, dword [ebp + 0x10]
lea ebx, [eax + edi]
cmp ebx, esi
jg 0x2e087692
lea eax, [ebp - 0xb0]
push eax
push esi
push dword [ebp - 0x164]
call fcn.2e04f14b
mov eax, dword [ebp - 0x164]
push 0x2d
pop ecx
lea eax, [eax + edi*2]
mov word [eax - 2], cx
lea ecx, [ebp - 0x15c]
push ecx
sub esi, edi
push esi
push eax
call fcn.2e04f14b
add esp, 0x18
mov dword [ebp - 0x160], ebx
jmp 0x2e087692
cmp edi, dword [ebp + 0x10]
jg 0x2e087692
lea eax, [ebp - 0xb0]
push eax
push dword [ebp + 0x10]
push ebx
call fcn.2e04f14b
add esp, 0xc
mov dword [ebp - 0x160], edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x160]
xor ecx, ebp
pop ebx
call fcn.2e046266
leave
ret 0xc

Function at 0x2e08842b
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
cmp dword [ecx + 0x78], 8
jb 0x2e08843f
mov eax, dword [ecx + 0x64]
jmp 0x2e088442
lea eax, [ecx + 0x64]
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
push eax
push 0x2e027230
push dword [ecx + 0xc0]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
cmp edi, esi
jne 0x2e08849d
push 0x2e027204
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x7c
lea eax, [ebp - 0x21c]
push eax
call fcn.2e039f88
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x2e0c8a64
lea eax, [ebp - 0x110]
lea edi, [ebp - 0x110]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e045e33
push 4
lea eax, [ebp - 4]
push eax
push 0x4d
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x2e0884ca
push 0x2e0271e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x8b
jmp 0x2e088470
mov eax, edi
pop edi
pop esi
leave
ret