joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e751f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
mov esi, 0xf003f
push eax
push esi
xor edi, edi
mov ebx, ecx
push edi
push str.software
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4e761d
push edi
lea eax, [ebp - 4]
push eax
push edi
push esi
push edi
push edi
push edi
push str.ShiQiang
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4e761d
push dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
lea eax, [eax*2 + 2]
push eax
push dword [ebx]
push 1
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.OnlyIdentifier1
push dword [ebp - 4]
call edi
mov eax, dword [ebx]
add eax, 0x208
push eax
call esi
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebx]
add eax, 0x208
push eax
push 1
push 0
push str.OnlyIdentifier2
push dword [ebp - 4]
call edi
mov eax, dword [ebx]
add eax, 0x410
push eax
call esi
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebx]
add eax, 0x410
push eax
push 1
push 0
push str.OnlyIdentifier3
push dword [ebp - 4]
call edi
mov eax, dword [ebx]
add eax, 0x618
push eax
call esi
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebx]
add eax, 0x618
push eax
push 1
push 0
push str.OnlyIdentifier4
push dword [ebp - 4]
call edi
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4eb52d
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x4ebd0f
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0xb7
mov eax, esi
setne dl
mov dword [esi + 4], edx
pop esi
pop ebp
ret 4

Function at 0x4ebddc
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push 0x5639f4
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
je 0x4ebe5c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5652c0
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x4ebe5b
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret
Function at 0x4ebf2c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
mov dword [ebp - 4], eax
lea edi, [eax + 0x210]
mov esi, dword [edi]
mov dword [ebp - 8], edi
cmp esi, dword [eax + 0x214]
je 0x4ebff9
lea edi, [esi + 0x28]
lea ecx, [ebx + 0xa8]
mov dword [ebp + 8], edi
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x526c70
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
sub edi, 0xffffff80
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x526c70
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x526c70
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x526c70
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0xa8]
push edi
push eax
call fcn.00507c00
mov edi, dword [ebp + 8]
pop ecx
pop ecx
test eax, eax
jne 0x4ebfd5
lea eax, [ebx + 0x28]
push edi
push eax
call fcn.00507c00
pop ecx
pop ecx
test eax, eax
je 0x4ec016
mov eax, 0x1b0
lea ecx, [ebx + 0xa8]
add edi, eax
add esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp + 8], edi
cmp esi, dword [eax + 0x214]
jne 0x4ebf5f
mov edi, dword [ebp - 8]
lea eax, [ebx + 0xa8]
push eax
call fcn.00508a20
pop ecx
test eax, eax
je 0x4ec016
push ebx
mov ecx, edi
call fcn.004ec958
mov al, 1
jmp 0x4ec018
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ec89b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5793bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, 0x114
push edi
push ebx
xor edi, edi
mov eax, dword [esi + 0x210]
mov dword [esi + 0x214], eax
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.004f1300
add esp, 0xc
mov dword [ebp - 0x118], ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x4ec8fc
mov ecx, esi
call fcn.004ec2f2
jmp 0x4ec911
mov ebx, edi
test edi, edi
jne 0x4ec911
mov ecx, esi
call fcn.004ec1cd
inc ebx
mov edi, eax
cmp ebx, 0xa
jl 0x4ec8fe
mov eax, dword [esi + 0x214]
mov ecx, 0x1b0
sub eax, dword [esi + 0x210]
cdq
idiv ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042774d
mov esp, ebp
pop ebp
ret

Function at 0x50d80c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0050d4cc

Function at 0x5119de
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0051185d

Function at 0x51c560
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x586480], ecx
inc eax
cmp eax, 0x100
jb 0x51c562
cmp eax, 0x800
jae 0x51c633
nop
mov edx, dword [eax*4 + 0x586080]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x586480]
mov dword [eax*4 + 0x586480], edx
inc eax
cmp eax, 0x800
jb 0x51c610
mov dword [0x586454], 0x51d3d0
call fcn.0051d200
mov ecx, dword [0x586454]
test eax, eax
mov edx, 0x51d470
cmove ecx, edx
mov dword [0x586454], ecx
ret
Function at 0x51d750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x51d770
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
lea edx, [ecx - 4]
push esi
mov esi, dword [ebp + 8]
push edi
or edi, 0xffffffff
add edx, esi
mov dword [ebp - 4], edx
add esi, ebx
mov dword [ebp + 0xc], esi
cmp esi, edx
jae 0x51d7a2
nop dword [eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x51d79f
inc esi
cmp esi, edx
jb 0x51d790
mov dword [ebp + 0xc], esi
mov ebx, esi
sub ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x51d8cc
cmp ecx, 3
jbe 0x51d7e2
xor eax, eax
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x10], edi
test cl, cl
je 0x51d820
cmp cl, 0xff
je 0x51d820
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x51d784
dec ecx
shl eax, cl
and eax, 7
je 0x51d7ba
movzx ecx, byte [eax + 0x56e31c]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x56e314], 0
mov cl, byte [edx + 4]
je 0x51d80a
test cl, cl
je 0x51d80a
cmp cl, 0xff
jne 0x51d7ba
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x51d784
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 0x10]
shl edi, 8
or edi, ecx
cmp dword [ebp + 0x18], 0
je 0x51d84e
lea edx, [edi + ebx]
add edx, esi
jmp 0x51d854
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x51d892
movzx edi, byte [eax + 0x56e31c]
mov ecx, 0x18
shl edi, 3
sub ecx, edi
mov dword [ebp - 0xc], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 8], edi
test cl, cl
je 0x51d87e
cmp cl, 0xff
jne 0x51d892
mov ecx, 0x20
mov edi, 1
sub ecx, dword [ebp - 0xc]
shl edi, cl
dec edi
xor edi, edx
jmp 0x51d841
mov esi, dword [ebp + 0xc]
mov ecx, edx
mov edi, dword [ebp - 0x10]
shr ecx, 0x18
and cl, 1
dec cl
mov byte [esi + 1], dl
not cl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [ebp - 4]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
mov esi, dword [ebp + 8]
add ebx, ecx
jmp 0x51d784
pop edi
pop esi
cmp ecx, 3
jbe 0x51d8e1
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0x14]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2a003f11
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5de8622d
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40b470
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4273d4]
jne 0x40b47a
repz ret
jmp fcn.0041167c

Function at 0x41732c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4273d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040e42f
and dword [ebp - 0x14], 0
cmp dword [0x52720c], 0
mov dword [ebp - 0x18], eax
jne 0x4173df
push 0x4037ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x417487
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4037e0
push ebx
call edi
test eax, eax
je 0x417487
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4037d0
push ebx
mov dword [0x52720c], eax
call edi
push eax
call esi
push 0x4037bc
push ebx
mov dword [0x527210], eax
call edi
push eax
call esi
push 0x4037a0
push ebx
mov dword [0x527214], eax
call edi
push eax
call esi
mov dword [0x52721c], eax
test eax, eax
je 0x4173df
push 0x403788
push ebx
call edi
push eax
call esi
mov dword [0x527218], eax
mov eax, dword [0x527218]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x417438
cmp dword [0x52721c], ecx
je 0x417438
push eax
call esi
push dword [0x52721c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x417438
test ebx, ebx
je 0x417438
call edi
test eax, eax
je 0x41742f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41742f
test byte [ebp - 8], 1
jne 0x417438
or dword [ebp + 0x10], 0x200000
jmp 0x41746b
mov eax, dword [0x527210]
cmp eax, dword [ebp - 0x18]
je 0x41746b
push eax
call esi
test eax, eax
je 0x41746b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41746b
mov eax, dword [0x527214]
cmp eax, dword [ebp - 0x18]
je 0x41746b
push eax
call esi
test eax, eax
je 0x41746b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x52720c]
call esi
test eax, eax
je 0x417487
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x417489
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b470
leave
ret
Function at 0x41f650
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.0041e800
cmp dword [0x8c7f90], 0x37
jne 0x41f6e1
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x40441c
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x404428
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x8c7f94]
mov edx, dword [0x8c4400]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x691fbd09
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x69970018]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x69970018]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x691fbdef
jmp 0x691fbeb5
jmp 0x691fbf7b
jmp 0x691fc041
jmp 0x691fc107
jmp 0x691fc1cd
jmp 0x691fc293
jmp 0x691fc359
jmp 0x691fc41f
jmp 0x691fc4e5
jmp 0x691fc5ab
jmp 0x691fc671
jmp 0x691fc737
jmp 0x691fc7fd
jmp 0x691fc8c3
jmp 0x691fc989
jmp 0x691fca4f
jmp 0x691fcb15
mov dword [ebp - 0x14], 0
jmp 0x691fcbe2
jmp 0x691fcca8
jmp 0x691fcd6e
jmp 0x691fce34
jmp 0x691fcefa
jmp 0x691fcfc0
jmp 0x691fd086
jmp 0x691fd14c
jmp 0x691fd212
jmp 0x691fd2d8
jmp 0x691fd39e
jmp 0x691fd464
jmp 0x691fd52a
jmp 0x691fd5f0
jmp 0x691fd6b6
jmp 0x691fd77c
jmp 0x691fd842
jmp 0x691fd908
mov dword [ebp - 0x18], 0
jmp 0x691fd9d5
jmp 0x691fda9b
jmp 0x691fdb61
jmp 0x691fdc27
jmp 0x691fdced
jmp 0x691fddb3
jmp 0x691fde79
jmp 0x691fdf3f
jmp 0x691fe005
jmp 0x691fe0cb
jmp 0x691fe191
jmp 0x691fe257
jmp 0x691fe31d
jmp 0x691fe3e3
jmp 0x691fe4a9
jmp 0x691fe56f
jmp 0x691fe635
jmp 0x691fe6fb
mov dword [ebp - 0x10], 0
jmp 0x691fe7c8
jmp 0x691fe88e
jmp 0x691fe954
jmp 0x691fea1a
jmp 0x691feae0
jmp 0x691feba6
jmp 0x691fec6c
jmp 0x691fed32
jmp 0x691fedf8
jmp 0x691feebe
jmp 0x691fef84
jmp 0x691ff04a
jmp 0x691ff110
jmp 0x691ff1d6
jmp 0x691ff29c
jmp 0x691ff362
jmp 0x691ff428
jmp 0x691ff4ee
mov dword [ebp - 0x10], 0
jmp 0x69203ade
jmp 0x691ff5c0
jmp 0x691ff686
jmp 0x691ff74c
jmp 0x691ff812
jmp 0x691ff8d8
jmp 0x691ff99e
jmp 0x691ffa64
jmp 0x691ffb2a
jmp 0x691ffbf0
jmp 0x691ffcb6
jmp 0x691ffd7c
jmp 0x691ffe42
jmp 0x691fff08
jmp 0x691fffce
jmp 0x69200094
jmp 0x6920015a
jmp 0x69200220
jmp 0x692002e6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x69970014]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x692003bd
jmp 0x69200483
jmp 0x69200549
jmp 0x6920060f
jmp 0x692006d5
jmp 0x6920079b
jmp 0x69200861
jmp 0x69200927
jmp 0x692009ed
jmp 0x69200ab3
jmp 0x69200b79
jmp 0x69200c3f
jmp 0x69200d05
jmp 0x69200dcb
jmp 0x69200e91
jmp 0x69200f57
jmp 0x6920101d
jmp 0x692010e3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [0x6997001c]
add eax, edx
mov dword [ebp - 0x18], eax
jmp 0x692011ba
jmp 0x69201280
jmp 0x69201346
jmp 0x6920140c
jmp 0x692014d2
jmp 0x69201598
jmp 0x6920165e
jmp 0x69201724
jmp 0x692017ea
jmp 0x692018b0
jmp 0x69201976
jmp 0x69201a3c
jmp 0x69201b02
jmp 0x69201bc8
jmp 0x69201c8e
jmp 0x69201d54
jmp 0x69201e1a
jmp 0x69201ee0
mov eax, dword [0x69970008]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [esp], edx
call eax
jmp fcn.69201fc4
mov eax, dword [0x69970018]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x691ff4fa
nop
leave
ret
Function at 0x426985
Capabilities:
Parse pe header

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

Function at 0x42b3af
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x4e21f4
push str.FlsAlloc
push 0x1f
call fcn.0042b19a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42b3e3
push dword [ebp + 8]
mov ecx, esi
call dword [0x4e1668]
call esi
jmp 0x42b3e9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42b42d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x4e2218
push str.FlsGetValue
push 0x21
call fcn.0042b19a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42b464
push dword [ebp + 8]
mov ecx, esi
call dword [0x4e1668]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42b46c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x4e222c
push str.FlsSetValue
push 0x22
call fcn.0042b19a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42b4a6
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4e1668]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x42bad7
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042ba59
Function at 0x42d10d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42d1aa
push ebx
push esi
call fcn.0042d0d6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042d06a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42d157
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42d1a9
push edi
push eax
call fcn.0042a0b6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42d177
call fcn.0042a07c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42d1a8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042d06a
add esp, 0x20
test eax, eax
jne 0x42d196
push edi
call fcn.0042a07c
jmp 0x42d19e
push ebx
call fcn.0042a07c
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x42d1ad
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x42d1be
pop esi
ret
push ebx
push edi
push esi
call fcn.0042d0d6
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0042a0b6
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x42d1e6
push ebx
push esi
push edi
call fcn.00439170
add esp, 0xc
push 0
call fcn.0042a07c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x42d940
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042d45b

Function at 0x430a16
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042ab35
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x430a85
cmp esi, dword [ebp - 4]
je 0x430a80
cmp dword [ebp + 0xc], 0
je 0x430a80
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x430a5d
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00430568
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x430a87
xor eax, eax
inc eax
jmp 0x430a87
xor eax, eax
pop edi
pop esi
leave
ret