joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448f48
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x451d70], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x449022
cmp dword [0x451d6c], 0
jne 0x449022
cmp dword [0x451f50], 0
je 0x448fdc
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00448d18
add esp, 8
mov ebx, eax
test eax, eax
jne 0x448fc2
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00448d18
add esp, 8
mov ebx, eax
test eax, eax
jne 0x448fc2
lea ebx, [ebp - 0x84]
jmp 0x448fc3
inc ebx
call fcn.00448f04
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x44905d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x451d74
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00443d18
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x451d77
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x44905d
cmp dword [0x451d6c], 0
je 0x44903c
cmp dword [0x451d6c], 0xffffffff
je 0x44905d
push esi
call dword [0x451d6c]
pop ecx
mov eax, dword [0x451d70]
test eax, eax
je 0x44905d
cmp dword [0x451d70], 0xffffffff
je 0x44905d
cmp byte [eax], 0
je 0x44905d
push esi
push eax
call fcn.00448e68
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449858
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4549b0], 0
jne 0x4498d9
cmp dword [0x4549d0], 0
jne 0x449888
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4549d0], eax
test eax, eax
jne 0x449888
push str.GetEnvironmentStrings_failed
call fcn.00449074
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4549d0]
jmp 0x44989c
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00443d18
pop ecx
mov edi, eax
test eax, eax
jne 0x449894
lea edi, [ebp + 1]
push edi
call fcn.00443778
pop ecx
mov ebx, eax
mov dword [0x4549b4], ebx
test ebx, ebx
jne 0x4498c6
xor eax, eax
jmp 0x44999c
push edi
mov edx, dword [0x4549d0]
push edx
push ebx
call fcn.00443bc8
add esp, 0xc
jmp 0x4498f9
xor esi, esi
mov ebx, dword [0x4549b0]
jmp 0x4498f3
push eax
call fcn.00443d18
pop ecx
test eax, eax
jne 0x4498ef
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x4498e3
lea ebx, [esi + 4]
push 4
mov dword [0x4549b8], ebx
inc ebx
push ebx
call fcn.00443254
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x44991c
xor eax, eax
jmp 0x44999c
cmp dword [0x4549b0], 0
jne 0x44994d
xor esi, esi
mov ebx, dword [0x4549b4]
mov eax, dword [esp]
mov ebp, eax
jmp 0x44993e
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00443d18
pop ecx
mov edi, eax
test eax, eax
jne 0x449934
jmp 0x44997e
xor esi, esi
mov ebx, dword [0x4549b0]
mov eax, dword [esp]
mov edi, eax
jmp 0x449978
push eax
call fcn.00443d18
pop ecx
test eax, eax
je 0x44996d
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x449971
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x44995c
mov eax, dword [0x4549b0]
test eax, eax
je 0x44998e
push eax
call fcn.00443788
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4549b0], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x8d19d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x31b000]
push edi
jmp 0x8d19ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8d19f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8d19e0
mov eax, 1
add ebx, ebx
jne 0x8d1a03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8d1a14
jne 0x8d1a33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8d1a33
dec eax
add ebx, ebx
jne 0x8d1a20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8d19f8
add ebx, ebx
jne 0x8d1a2f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8d1a85
xor ecx, ecx
sub eax, 3
jb 0x8d1a4b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8d1aba
sar eax, 1
mov ebp, eax
jmp 0x8d1a56
add ebx, ebx
jne 0x8d1a56
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8d1a24
inc ecx
add ebx, ebx
jne 0x8d1a64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8d1a24
add ebx, ebx
jne 0x8d1a71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8d1a66
jne 0x8d1a82
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8d1a66
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8d1aa4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8d1a96
jmp 0x8d19e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8d1aa4
add edi, ecx
jmp 0x8d19e6
pop esi
mov edi, esi
mov ecx, 0xf4e4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8d1ac2
cmp byte [edi], 0x2e
jne 0x8d1ac2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x8d1ac7
lea edi, [esi + 0x4bd000]
mov eax, dword [edi]
or eax, eax
je 0x8d1b3f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4dc4cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4dc620]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8d1af4
mov ecx, edi
jns 0x8d1b23
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4dc624]
or eax, eax
je 0x8d1b39
mov dword [ebx], eax
add ebx, 4
jmp 0x8d1b11
call dword [esi + 0x4dc634]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x8d1b70
cmp al, 0xef
ja 0x8d1b63
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x8d1b45
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x8d1b52
mov ebp, dword [esi + 0x4dc628]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x8d1ba4
sub esp, 0xffffff80
jmp 0x4a888b
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7041561a
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x4ebe2152
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4010f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4263d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4269c2], 0
je 0x401113
cmp byte [ebp + 8], 0
je 0x401216
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWAREAdobeAdobe_AcrobatDCInstaller_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40120f
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40120f
cmp byte [0x4269c2], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 4
jne 0x40118d
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.bIsSingleClientApp
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40118d
cmp dword [ebp - 0xc], 4
jne 0x40118d
cmp dword [ebp - 8], eax
setne byte [0x4269c1]
cmp byte [0x4269c1], 0
je 0x401206
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.bIsSCAcroAppInstalled
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4011cd
cmp dword [ebp - 0xc], 4
jne 0x4011cd
cmp dword [ebp - 8], eax
setne byte [0x4269c0]
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.SCAPackageLevel
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401206
mov eax, dword [section..data]
cmp dword [ebp - 0xc], 4
cmove eax, dword [ebp - 8]
mov dword [section..data], eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [0x4269c2], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b330
mov esp, ebp
pop ebp
ret

Function at 0x402230
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4263d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov esi, dword [edi]
test esi, esi
je 0x4022af
mov dword [edi], 0
push 0
mov edx, 0x400000
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
cmp esi, edx
push eax
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x402298
test ecx, ecx
je 0x4022af
test esi, esi
je 0x4022af
mov ecx, dword [ebp - 0xc]
jmp 0x40225b
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b330
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b330
mov esp, ebp
pop ebp
ret
Function at 0x4031b4
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4031f0
movzx eax, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x403210
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00405158
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x4034a8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404ee8
test esi, esi
jne 0x4034de
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404fd8
jmp 0x4034fc
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040334c
mov edi, eax
test esi, esi
je 0x4034fc
cmp dword [ebx], 0
je 0x4034fc
dec esi
jmp 0x4034e5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403d7c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x5b0020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403e14
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403df4
xor eax, eax
push ebp
push 0x403ded
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 0x403e30
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 0x403df4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x5b0020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x5b0020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404c94
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5b604c], 0
je 0x404cf5
cmp word [0x5b6220], 0xd7b2
jne 0x404cbd
cmp dword [0x5b6228], 0
jbe 0x404cbd
mov eax, 0x5b621c
call dword [0x5b6238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404d1c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x5b0030], 0
jne 0x404d11
push 0
push 0x5b075c
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404e6c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x5b0034], 0
je 0x404e92
mov edx, esi
mov eax, ebx
call dword [0x5b0034]
jmp 0x404ea1
mov eax, 8
call fcn.00402f9c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x5b604d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404e34
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x406d70
Capabilities:
Get geographical location

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 0xf0019
push 0
push 0x406e94
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406ce7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406e94
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406ce7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406eb0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406d70
xor eax, eax
push ebp
push 0x406d69
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406aa0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406d4e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406ed0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406d4e
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406d70
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
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 0x406e8a
cmp byte [ebp - 0xd], 0
jne 0x406db7
cmp byte [ebp - 0x12], 0
je 0x406e8a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406dd0
dec ebx
cmp byte [ebx], 0x2e
je 0x406ddf
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406dcf
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406e8a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406e1c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406e8a
cmp byte [ebp - 0xd], 0
je 0x406e8a
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406e8a
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
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 0x4098dc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40992e
test eax, edx
je 0x409931
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x4098f1
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x409917
add ecx, 4
js 0x409907
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x409914
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x40993d
test edx, edx
jne 0x4098e4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40a8dc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00405378
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a8fa
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x40a91b
cmp ebx, 3
je 0x40a91b
cmp ebx, 0x7b
je 0x40a91b
mov eax, esi
call fcn.0040a89c
test al, al
jne 0x40a91f
xor eax, eax
jmp 0x40a921
mov al, 1
pop esi
pop ebx
ret

Function at 0x40e228
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 0x40e261
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404fd8
jmp 0x40e26a
mov eax, ebx
mov edx, esi
call fcn.00404f3c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40e274
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 0x40e296
movzx eax, byte [esp]
jmp 0x40e298
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40e928
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40e7a0
mov eax, dword [0x5b5034]
cmp byte [eax], 0
je 0x40e9a4
mov eax, dword [0x5b4b9c]
call fcn.00403664
call fcn.00403140
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040ad7c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40e9ec
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e9da
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x5b4ad8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5b87f8]
call fcn.00406a48
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40f2d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40f3a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404f80
lea eax, [ebp - 4]
call fcn.004053d0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405378
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40f390
mov eax, ebx
call fcn.00402f9c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40f389
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405378
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40f373
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40f3b8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40f373
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f390
mov eax, dword [ebp - 0x10]
call fcn.00402fb8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f3ad
lea eax, [ebp - 4]
call fcn.00404ee8
ret

Function at 0x429564
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4295b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004292a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4295cb
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4295d4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004292a0
dec esi
jne 0x4295f6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret