joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401454
Capabilities:
Check for time delay via gettickcount
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4321e1
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
xor ebx, ebx
cmp dword [0x449674], 0x400
push edi
jne 0x401515
push 0xf
pop esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x44], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401bf0
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401930
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.004015e0
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.0040193a
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401710
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401ab0
fstp st(0)
or dword [esp + 0x44], 0xffffffff
add esp, 8
cmp dword [esp + 0x2c], 0x10
jb 0x401509
push dword [esp + 0x18]
call fcn.00401960
pop ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
call esi
call esi
cmp edi, 0x206d51
jg 0x401532
inc edi
cmp edi, 0x4eed4
jl 0x40151d
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp esi, 0x2b2589
jg 0x40154c
inc esi
cmp esi, 0x118b1
jl 0x401534
xor esi, esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
cmp esi, 0x2afdec
jle 0x40156c
cmp dword [esp + 0x10], 0x787c7e45
jne 0x401575
inc esi
cmp esi, 0x42f7
jl 0x40154e
mov eax, dword [0x43cc8c]
mov dword [0x449674], eax
call fcn.0040124c
mov esi, 0x3078f
cmp dword [0x449674], 0x51f
jne 0x40159e
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
dec esi
jne 0x401589
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x403410
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4391c8]
jne 0x40341a
repz ret
jmp fcn.00407ffe
Function at 0x407c2b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040491b
and dword [ebp - 4], 0
cmp dword [0x43e62c], 0
mov ebx, eax
jne 0x407cdc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407d8d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407d8d
push eax
call fcn.004048a9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43e62c], eax
call esi
push eax
call fcn.004048a9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43e630], eax
call esi
push eax
call fcn.004048a9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43e634], eax
call esi
push eax
call fcn.004048a9
pop ecx
mov dword [0x43e63c], eax
test eax, eax
je 0x407cdc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004048a9
pop ecx
mov dword [0x43e638], eax
mov eax, dword [0x43e638]
cmp eax, ebx
je 0x407d34
cmp dword [0x43e63c], ebx
je 0x407d34
push eax
call fcn.00404924
push dword [0x43e63c]
mov esi, eax
call fcn.00404924
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407d34
test edi, edi
je 0x407d34
call esi
test eax, eax
je 0x407d2b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407d2b
test byte [ebp - 0xc], 1
jne 0x407d34
or dword [ebp + 0x10], 0x200000
jmp 0x407d6d
mov eax, dword [0x43e630]
cmp eax, ebx
je 0x407d6d
push eax
call fcn.00404924
pop ecx
test eax, eax
je 0x407d6d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407d6d
mov eax, dword [0x43e634]
cmp eax, ebx
je 0x407d6d
push eax
call fcn.00404924
pop ecx
test eax, eax
je 0x407d6d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43e62c]
call fcn.00404924
pop ecx
test eax, eax
je 0x407d8d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407d8f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402544
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402552
call dword [0x40d018]
or eax, eax
je 0x402553
ret
mov al, 1
jmp fcn.004025c4

Function at 0x40255c
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40256a
call dword [0x40d01c]
or eax, eax
jne 0x40256b
ret
mov al, 2
jmp fcn.004025c4

Function at 0x402574
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4025ac
test edx, edx
je 0x402596
push eax
mov eax, ecx
call dword [0x40d020]
pop ecx
or eax, eax
je 0x4025a5
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.004025c4
mov dword [eax], edx
mov eax, ecx
call dword [0x40d01c]
or eax, eax
jne 0x40258f
ret
mov al, 1
jmp fcn.004025c4
test edx, edx
je 0x4025c0
push eax
mov eax, edx
call dword [0x40d018]
pop ecx
or eax, eax
je 0x4025a5
mov dword [ecx], eax
ret

Function at 0x4025c4
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x40e004]
test ecx, ecx
je 0x4025d4
pop edx
call ecx
dec eax
mov al, byte [eax + 0x4025ed]
jns 0x4025e8
call fcn.00405628
mov eax, dword [eax + 4]
jmp fcn.0040328c

Function at 0x402608
Capabilities:
Terminate process

Disassembly:
push eax
push edx
push ecx
call fcn.00405628
cmp dword [eax + 4], 0
pop ecx
pop edx
pop eax
jne 0x40261d
ret
xor eax, eax
jmp fcn.004025c4

Function at 0x402820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4028b8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402898
xor eax, eax
push ebp
push 0x402891
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4028d4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402898
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x403160
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x40e49c
mov esi, 0x40e030
mov edi, 0x40e034
cmp byte [ebx + 0x24], 0
jne 0x40318f
cmp dword [edi], 0
je 0x40318f
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x40317e
cmp dword [0x40e038], 0
je 0x4031df
call fcn.004030dc
cmp byte [0x40e040], 0
je 0x4031bc
mov edx, 0x40d024
mov eax, 0x40e214
call fcn.00404e40
call fcn.00404dc3
jmp 0x4031d8
cmp byte [0x40d00c], 0
jne 0x4031d8
push 0
push 0x40d044
push 0x40d024
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x40e038], eax
cmp byte [ebx + 0x24], 2
jne 0x4031ef
cmp dword [esi], 0
jne 0x4031ef
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.00402f3c
cmp byte [ebx + 0x24], 1
jbe 0x4031ff
cmp dword [esi], 0
je 0x40321c
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x40321c
call fcn.004048c4
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 4]
je 0x40321c
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.00402f14
cmp byte [ebx + 0x24], 1
jne 0x40322a
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x403235
call fcn.0040312c
cmp dword [ebx], 0
jne 0x403242
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ExitProcess
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x4031df

Function at 0x403280
Capabilities:
Terminate process

Disassembly:
mov dword [0x40e030], eax
jmp fcn.00403160

Function at 0x40382c
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.004025c4
test edx, edx
je fcn.004037f0
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.004037f0
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x4037e8
ret

Function at 0x40387c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x4038bb
cmp al, 0xb
je 0x4038bb
cmp al, 0xc
je 0x4038c5
cmp al, 0xd
je 0x4038d8
cmp al, 0xe
je 0x4038f6
cmp al, 0xf
je 0x4038bb
cmp al, 0x11
je 0x4038bb
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.004025c4
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4038bb
jmp 0x40390a
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x4038c5
jmp 0x40390a
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.0040387c
dec edi
jg 0x4038db
pop ebp
jmp 0x40390a
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403850
dec edi
jg 0x4038f9
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403910
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.0040387c

Function at 0x403948
Capabilities:
Terminate process

Disassembly:
cmp ecx, 0
je 0x403a2e
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
jmp loc.00413bb8
ret

Function at 0x403a30
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00403948
Function at 0x403a3c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x403a68
mov edx, eax
add eax, esi
add edx, ebx
call fcn.00402650
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x403aa7
cmp cl, 0xb
je 0x403ab8
cmp cl, 0xc
je 0x403ac9
cmp cl, 0xd
je 0x403ada
cmp cl, 0xe
je 0x403afa
cmp cl, 0xf
je 0x403b13
cmp cl, 0x11
je 0x403b24
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.004025c4
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004032ec
mov eax, 4
jmp 0x403b35
mov edx, dword [esi + eax]
add eax, ebx
call fcn.0040382c
mov eax, 4
jmp 0x403b35
lea edx, [esi + eax]
add eax, ebx
call fcn.00403dd4
mov eax, 0x10
jmp 0x403b35
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.00403b58
pop eax
jmp 0x403b35
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.00403a3c
pop eax
jmp 0x403b35
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004049a4
mov eax, 4
jmp 0x403b35
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.0040442c
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x403a56
pop ecx
sub ecx, eax
jle 0x403b51
lea edx, [ebx + eax]
add eax, esi
call fcn.00402650
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403b58
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x14]
mov cl, byte [edi]
cmp cl, 0xa
je 0x403b9e
cmp cl, 0xb
je 0x403bb5
cmp cl, 0xc
je 0x403bc9
cmp cl, 0xd
je 0x403bdd
cmp cl, 0xe
je 0x403bfe
cmp cl, 0xf
je 0x403c1b
cmp cl, 0x11
je 0x403c2f
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.004025c4
mov eax, ebx
mov edx, dword [esi]
call fcn.004032ec
add ebx, 4
add esi, 4
dec ebp
jne 0x403b9e
jmp 0x403c43
mov eax, ebx
mov edx, dword [esi]
call fcn.0040382c
add ebx, 4
add esi, 4
dec ebp
jne 0x403bb5
jmp 0x403c43
mov eax, ebx
mov edx, esi
call fcn.00403dd4
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x403bc9
jmp 0x403c43
xor ecx, ecx
mov cl, byte [edi + 1]
lea edi, [edi + ecx + 2]
mov eax, ebx
mov edx, esi
mov ecx, dword [edi + 8]
push dword [edi + 4]
call fcn.00403b58
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x403be6
jmp 0x403c43
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.00403a3c
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x403bfe
jmp 0x403c43
mov eax, ebx
mov edx, dword [esi]
call fcn.004049a4
add ebx, 4
add esi, 4
dec ebp
jne 0x403c1b
jmp 0x403c43
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.0040442c
add ebx, 4
add esi, 4
dec ebp
jne 0x403c2f
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x403dd4
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.004025c4
cmp eax, edx
je 0x403e6c
cmp word [eax], 8
jb 0x403e0c
push eax
push edx
cmp word [eax], 0x100
je 0x403e02
cmp word [eax], 0x101
je 0x403dfa
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x403e0a
call dword [0x40e3e0]
jmp 0x403e0a
add eax, 8
call fcn.00403298
pop edx
pop eax
cmp word [edx], 8
jae 0x403e23
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x403e3e
cmp word [edx], 0x101
jne 0x403e58
push eax
call 0x403e12
pop eax
jmp dword [0x40e3e8]
mov edx, dword [edx + 8]
or edx, edx
je 0x403e4f
mov ecx, dword [edx - 8]
inc ecx
jle 0x403e4f
lock inc dword [edx - 8]
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x403d88
ret
Function at 0x40465c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404818
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4046bd
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404834
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40472f
xor eax, eax
push ebp
push 0x404728
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.004044b4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404711
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404854
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40472f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404810
cmp byte [ebp - 0xd], 0
jne 0x404771
cmp byte [ebp - 0x12], 0
je 0x404810
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40478a
dec ebx
cmp byte [ebx], 0x2e
je 0x404799
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404789
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404810
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4047c6
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404810
cmp byte [ebp - 0xd], 0
je 0x404810
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404810
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406c18
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406c51
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403380
jmp 0x406c5a
mov eax, ebx
mov edx, esi
call fcn.004032ec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x406c64
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406c85
mov al, byte [esp]
jmp 0x406c87
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x9e3c60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0xa14094]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.009f9f70
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x9e3caf
cmp dword [ebp + 0xc], 0
jne 0x9e3cb9
jmp 0x9e3d8a
cmp dword [ebp + 0x10], 0
je 0x9e3d0e
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
add eax, 2
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x218]
mov dx, word [ecx]
mov word [ebp - 0x21e], dx
add dword [ebp - 0x218], 2
cmp word [ebp - 0x21e], 0
jne 0x9e3cd7
mov eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x21c]
sar eax, 1
mov dword [ebp - 0x224], eax
jne 0x9e3d12
jmp 0x9e3d8a
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [0xa0a128]
mov edx, dword [ebp + 0x10]
push edx
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.009f872d
add esp, 0xc
push 0xa11668
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.009f81d4
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x9e3d5e
jmp 0x9e3d8a
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.009f8a4a
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.009f8482
add esp, 4
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.009f7f58
mov esp, ebp
pop ebp
ret
Function at 0x9e7100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x9e7135
cmp dword [ebp + 0xc], 0xa
jae 0x9e7146
mov dword [ebp - 0x10], 0xffffffff
jmp 0x9e721d
mov eax, dword [ebp + 0xc]
shl eax, 2
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 1
push ecx
call fcn.009f7fb6
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.009e7040
add esp, 0x14
test eax, eax
je 0x9e7216
push 0xa10834
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.009f81d4
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x9e71ab
mov dword [ebp - 0x10], 0xfffffffe
jmp 0x9e721d
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 1
mov edx, dword [ebp - 4]
push edx
call fcn.009f8389
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 8]
je 0x9e71d7
mov dword [ebp - 0x10], 0xfffffffe
jmp 0x9e721d
call dword [0xa0a12c]
xor edx, edx
mov ecx, 0x1f4
div ecx
mov dword [ebp - 0x20], edx
call dword [0xa0a12c]
xor edx, edx
mov ecx, 0x3e8
div ecx
add edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
push 1
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.009f8389
add esp, 0x10
jmp 0x9e721d
mov dword [ebp - 0x10], 0xfffffffd
cmp dword [ebp - 0x14], 0
je 0x9e722f
mov edx, dword [ebp - 0x14]
push edx
call fcn.009f8482
add esp, 4
cmp dword [ebp - 4], 0
je 0x9e7241
mov eax, dword [ebp - 4]
push eax
call fcn.009f8080
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x9ea930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x9ea940
xor eax, eax
jmp 0x9eaadd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x9eaa9e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0xa0fb78]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0xa0fb78]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0xa0fb78]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0xa0fb78]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0xa0fb78]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0xa0fb78]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0xa0fb78]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0xa0fb78]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x9ea949
cmp dword [ebp + 0x10], 0
je 0x9eaad7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0xa0fb78]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x9eaaa4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret