joyce8/EMBER2024-capa huggingface dataset:
Function at 0x77a2f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x108000]
push edi
jmp 0x77a30a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x77a311
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77a300
mov eax, 1
add ebx, ebx
jne 0x77a323
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x77a334
jne 0x77a353
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77a353
dec eax
add ebx, ebx
jne 0x77a340
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x77a318
add ebx, ebx
jne 0x77a34f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x77a3a5
xor ecx, ecx
sub eax, 3
jb 0x77a36b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x77a3da
sar eax, 1
mov ebp, eax
jmp 0x77a376
add ebx, ebx
jne 0x77a376
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77a344
inc ecx
add ebx, ebx
jne 0x77a384
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77a344
add ebx, ebx
jne 0x77a391
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x77a386
jne 0x77a3a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x77a386
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x77a3c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x77a3b6
jmp 0x77a306
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x77a3c4
add edi, ecx
jmp 0x77a306
pop esi
mov edi, esi
mov ecx, 0x3c3a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x77a3e2
cmp byte [edi], 0x1e
jne 0x77a3e2
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 0x77a3e7
lea edi, [esi + 0x377000]
mov eax, dword [edi]
or eax, eax
je 0x77a45f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3d5684]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3d57a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x77a414
mov ecx, edi
jns 0x77a443
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 + 0x3d57b0]
or eax, eax
je 0x77a459
mov dword [ebx], eax
add ebx, 4
jmp 0x77a431
call dword [esi + 0x3d57ac]
mov ebp, dword [esi + 0x3d57b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x77a493
sub esp, 0xffffff80
jmp 0x489ec2
Function at 0x40aeb0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xc]
movzx eax, byte [edx]
test eax, eax
jle 0x40af5f
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 4], eax
jmp 0x40af57
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
test eax, eax
je 0x40af4c
mov eax, dword [esp]
lea edx, [eax + 6]
mov ebx, edx
mov eax, dword [esp]
movzx edx, word [eax]
dec edx
mov edi, edx
mov dword [esp + 8], 0
cmp edi, dword [esp + 8]
jl 0x40af4c
dec dword [esp + 8]
lea esi, [esi]
inc dword [esp + 8]
lea eax, [ebx + 6]
mov edx, dword [esp + 0xc]
call fcn.00406d50
test eax, eax
jne 0x40af3a
mov eax, dword [ebx]
add eax, dword [esp + 0x10]
mov esi, eax
jmp 0x40af64
lea edx, [ebx + 6]
inc edx
movzx eax, byte [ebx + 6]
add edx, eax
mov ebx, edx
cmp edi, dword [esp + 8]
jg 0x40af1c
mov eax, dword [esp + 4]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
jne 0x40aee8
mov esi, 0
mov eax, esi
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add esp, 0x20
ret

Function at 0x40ce30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x63bf10], eax
mov edx, 1
dec edx
nop
inc edx
mov eax, edx
dec eax
mov ecx, dword [eax*4 + 0x63bf10]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul eax, eax, 0x6c078965
add eax, edx
mov dword [edx*4 + 0x63bf10], eax
cmp edx, 0x26f
jl 0x40ce3c
mov dword [0x5d2df0], 0x270
ret
Function at 0x40ce70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub esp, 8
mov dword [esp], ebx
mov dword [esp + 4], esi
mov eax, dword [0x63b010]
cmp eax, dword [0x5d2b70]
je 0x40ce91
mov dword [0x5d2df0], 0x271
mov eax, dword [0x5d2df0]
cmp eax, 0x270
jl 0x40cfb9
mov eax, dword [0x5d2df0]
cmp eax, 0x271
jne 0x40cec8
mov eax, dword [0x63b010]
call fcn.0040ce30
mov eax, dword [0x63b010]
not eax
mov dword [0x63b010], eax
mov dword [0x5d2b70], eax
mov edx, 0
dec edx
mov esi, esi
inc edx
mov eax, edx
inc eax
mov eax, dword [eax*4 + 0x63bf10]
and eax, 0x7fffffff
mov ebx, dword [edx*4 + 0x63bf10]
and ebx, 0x80000000
or eax, ebx
mov ecx, eax
mov eax, edx
add eax, 0x18d
mov ebx, ecx
shr ebx, 1
mov esi, dword [eax*4 + 0x63bf10]
xor esi, ebx
mov eax, ecx
and eax, 1
mov eax, dword [eax*4 + 0x5d2e00]
xor esi, eax
mov dword [edx*4 + 0x63bf10], esi
cmp edx, 0xe2
jl 0x40ced0
mov edx, 0xe3
dec edx
inc edx
mov eax, edx
inc eax
mov eax, dword [eax*4 + 0x63bf10]
and eax, 0x7fffffff
mov ebx, dword [edx*4 + 0x63bf10]
and ebx, 0x80000000
or eax, ebx
mov ecx, eax
mov eax, edx
add eax, 0xffffff1d
mov ebx, ecx
shr ebx, 1
mov esi, dword [eax*4 + 0x63bf10]
xor esi, ebx
mov eax, ecx
and eax, 1
mov eax, dword [eax*4 + 0x5d2e00]
xor esi, eax
mov dword [edx*4 + 0x63bf10], esi
cmp edx, 0x26e
jl 0x40cf28
mov eax, dword [0x63c8cc]
and eax, 0x80000000
mov edx, dword [0x63bf10]
and edx, 0x7fffffff
or eax, edx
mov ecx, eax
shr eax, 1
mov edx, dword [0x63c540]
xor eax, edx
and ecx, 1
mov edx, dword [ecx*4 + 0x5d2e00]
xor eax, edx
mov dword [0x63c8cc], eax
mov dword [0x5d2df0], 0
mov eax, dword [0x5d2df0]
mov edx, dword [eax*4 + 0x63bf10]
inc dword [0x5d2df0]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov ebx, dword [esp]
mov esi, dword [esp + 4]
add esp, 8
ret

Function at 0x40f170
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ebx
mov dword [ebp - 4], esi
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, dword [0x5d2ea0]
cmp eax, 0xffffffff
jne 0x40f196
mov ax, 0xe2
call fcn.0040d550
push dword [0x5d2ea0]
call sub.kernel32.dll_TlsGetValue
mov esi, eax
test eax, eax
jne 0x40f1cf
push dword [0x5d2e90]
push 0x40
call sub.kernel32.dll_LocalAlloc
mov esi, eax
test eax, eax
jne 0x40f1c3
mov ax, 0xe2
call fcn.0040d550
push esi
push dword [0x5d2ea0]
call sub.kernel32.dll_TlsSetValue
push ebx
call sub.kernel32.dll_SetLastError
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
leave
ret
Function at 0x4108d0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x414], edi
mov bl, al
mov dword [ebp - 0x410], edx
mov esi, ecx
movzx eax, bl
test eax, eax
sete byte [ebp - 0x40c]
mov al, byte [ebp - 0x40c]
test al, al
jne 0x4109bc
movzx eax, bl
add eax, 0x40
mov byte [0x5d2ec0], al
lea eax, [ebp - 0x208]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
mov eax, 0x5d2ec0
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
test eax, eax
jne 0x4109bc
call sub.kernel32.dll_GetLastError
movzx edi, ax
mov edx, dword [0x63b020]
test edx, edx
je 0x410959
mov eax, dword [0x63bdf0]
call edx
jmp 0x41095e
mov eax, 0x63bdf4
mov dword [eax], edi
call fcn.00402d80
push 0x5d2ed0
movzx eax, bl
add eax, 0x40
and eax, 0xff
shl eax, 8
or eax, 1
mov word [ebp - 0x408], ax
lea ecx, [ebp - 0x408]
lea eax, [ebp - 0x308]
mov edx, 0xff
call fcn.00403f10
lea ecx, [ebp - 0x308]
mov edx, esi
mov eax, dword [ebp - 0x410]
call fcn.00403930
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
jmp 0x410a3b
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
mov al, byte [ebp - 0x40c]
test al, al
jne 0x4109e3
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
lea ecx, [ebp - 0x104]
lea eax, [ebp - 0x308]
mov edx, 0xff
call fcn.00403a50
lea ecx, [ebp - 0x308]
mov ebx, esi
mov edx, ebx
mov eax, dword [ebp - 0x410]
call fcn.00403930
mov al, byte [0x5d2b30]
test al, al
jne 0x410a3b
lea edx, [ebp - 0x308]
mov eax, dword [ebp - 0x410]
call fcn.00404ba0
lea ecx, [ebp - 0x308]
mov edx, ebx
mov eax, dword [ebp - 0x410]
call fcn.00403930
mov ebx, dword [ebp - 0x41c]
mov esi, dword [ebp - 0x418]
mov edi, dword [ebp - 0x414]
leave
ret
Function at 0x410eb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 0
mov dword [0x63bd30], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov eax, ebp
mov edx, 0
call fcn.004110a0
mov ecx, dword [ebp - 0x110]
inc ecx
mov eax, dword [0x63bd30]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.004036f0
call sub.kernel32.dll_GetCommandLineA
mov dword [0x5d2970], eax
mov ebx, dword [0x5d2970]
jmp 0x411051
inc ebx
movzx eax, byte [ebx]
dec eax
cmp eax, 0x20
jb 0x410f4c
mov al, byte [ebx]
test al, al
je 0x41105b
mov byte [ebp - 0x10c], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x410fbc
mov al, byte [ebx]
cmp al, 1
jb 0x410fb5
sub al, 0x20
jbe 0x410f88
sub al, 2
je 0x410f9a
jmp 0x410fb5
mov al, byte [ebp - 0x10c]
test al, al
je 0x410fc2
inc dword [ebp - 0x110]
jmp 0x410fbb
mov al, byte [ebx + 1]
cmp al, 0x22
je 0x410fb2
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x410fbb
inc ebx
jmp 0x410fbb
inc dword [ebp - 0x110]
inc ebx
mov al, byte [ebx]
test al, al
jne 0x410f78
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x41104b
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x114]
mov eax, ebp
call fcn.004110a0
mov byte [ebp - 0x10c], 0
mov ebx, edi
mov edx, dword [0x63bd30]
mov eax, dword [ebp - 0x114]
mov esi, dword [edx + eax*4]
jmp 0x411042
mov al, byte [ebx]
cmp al, 1
jb 0x41103c
sub al, 0x20
jbe 0x411010
sub al, 2
je 0x411021
jmp 0x41103c
mov al, byte [ebp - 0x10c]
test al, al
je 0x411048
mov al, byte [ebx]
mov byte [esi], al
inc esi
jmp 0x411041
mov al, byte [ebx + 1]
cmp al, 0x22
je 0x411039
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x411041
inc ebx
jmp 0x411041
mov al, byte [ebx]
mov byte [esi], al
inc esi
inc ebx
mov al, byte [ebx]
test al, al
jne 0x411000
mov byte [esi], 0
inc dword [ebp - 0x114]
mov al, byte [ebx]
test al, al
jne 0x410f4d
mov ebx, dword [ebp - 0x114]
mov dword [0x63bd20], ebx
mov edx, ebx
inc edx
shl edx, 2
mov eax, 0x63bd30
call fcn.0040ea60
mov eax, dword [0x63bd30]
mov dword [eax + ebx*4], 0
mov ebx, dword [ebp - 0x120]
mov esi, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x118]
leave
ret
Function at 0x4b1820
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov ebx, eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push esi
push edi
mov eax, ebx
mov edx, 0
call fcn.004b17c0
cmp edx, esi
jne 0x4b185a
cmp eax, edi
jne 0x4b185a
push ebx
call sub.kernel32.dll_SetEndOfFile
or eax, eax
setne al
jmp 0x4b185c
mov al, 0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
leave
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4b1975
mov eax, 0x63bde0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4b1988
and eax, 0x10
sete al
jmp 0x4b198a
mov al, 0
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4b19a5
mov eax, 0x63bde0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4b19b8
and eax, 0x10
seta al
jmp 0x4b19ba
mov al, 0
leave
ret

Function at 0x4b1c00
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4b1c15
mov eax, 0x63bde0
push eax
call sub.kernel32.dll_GetFileAttributesA
leave
ret

Function at 0x4b1c20
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
push edx
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4b1c39
mov eax, 0x63bde0
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
je 0x4b1c4a
mov ebx, 0
jmp 0x4b1c51
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
mov ebx, dword [ebp - 8]
leave
ret
Function at 0x4b2440
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x30]
mov eax, 1
call fcn.0040b8a0
call fcn.0040d8a0
push eax
test eax, eax
jne 0x4b2513
mov ebx, 1
dec ebx
nop
inc ebx
lea eax, [ebx*4 + 0x63d79c]
call fcn.00403d60
mov dword [ebx*4 + 0x63d79c], 0
mov dword [ebx*4 + 0x63d7bc], 0xffffffff
cmp ebx, 7
jl 0x4b2478
call sub.kernel32.dll_GetThreadLocale
mov ebx, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push ebx
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x4b2513
lea eax, [ebp - 0x38]
call fcn.00403d60
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
mov cl, 1
mov edx, 0xa
call fcn.00407740
mov eax, dword [ebp - 0x38]
mov edx, 1
call fcn.004a9fd0
mov esi, eax
sub eax, 3
cmp eax, 3
jae 0x4b2513
push 4
push esi
push ebx
mov eax, 0x4b22c0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push esi
push ebx
mov eax, 0x4b2380
push eax
call sub.kernel32.dll_EnumCalendarInfoA
call fcn.0040bb70
lea eax, [ebp - 0x38]
call fcn.00403d60
mov dword [ebp - 0x38], 0
pop eax
test eax, eax
je 0x4b2531
call fcn.0040bce0
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
leave
ret
Function at 0x4b2d40
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x30]
mov eax, 1
call fcn.0040b8a0
call fcn.0040d8a0
push eax
test eax, eax
jne 0x4b2e6d
mov ebx, dword [ebp - 8]
mov eax, ebx
call fcn.00403d60
mov dword [ebx], 0
call sub.kernel32.dll_GetEnvironmentStringsA
mov dword [ebp - 0x44], eax
mov esi, dword [ebp - 0x44]
jmp 0x4b2e5b
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004afbc0
mov edx, dword [ebp - 0xc]
mov al, 0x3d
call fcn.00407b70
mov ebx, eax
lea eax, [ebp - 0x38]
call fcn.00403d60
mov dword [ebp - 0x38], 0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00408160
mov edi, dword [ebp - 0x38]
lea eax, [ebp - 0x3c]
call fcn.00403d60
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x40]
call fcn.00403d60
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
dec ecx
mov eax, dword [ebp - 0xc]
mov edx, 1
call fcn.00407a20
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.004a95a0
mov eax, dword [ebp - 0x3c]
mov edx, edi
call fcn.00407810
test eax, eax
jne 0x4b2e4f
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4b2e3c
mov ecx, dword [ecx - 4]
sub ecx, ebx
mov eax, ebx
inc eax
mov edi, dword [ebp - 0xc]
mov edx, eax
mov eax, edi
call fcn.00407a20
jmp 0x4b2e65
mov eax, esi
call fcn.00403b10
add eax, esi
inc eax
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x4b2db0
push dword [ebp - 0x44]
call sub.kernel32.dll_FreeEnvironmentStringsA
call fcn.0040bb70
lea eax, [ebp - 0x40]
call fcn.00403d60
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x3c]
call fcn.00403d60
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x38]
call fcn.00403d60
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0xc]
call fcn.00403d60
mov dword [ebp - 0xc], 0
pop eax
test eax, eax
je 0x4b2eb8
call fcn.0040bce0
mov ebx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
leave
ret
Function at 0x4dc460
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x340], esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x34]
mov eax, 1
call fcn.0040b8a0
call fcn.0040d8a0
push eax
test eax, eax
jne 0x4dc618
mov ebx, dword [ebp - 4]
mov eax, ebx
call fcn.00403d60
mov dword [ebx], 0
mov ebx, dword [ebp - 8]
mov eax, ebx
call fcn.00403d60
mov dword [ebx], 0
call sub.kernel32.dll_GetUserDefaultLCID
mov ebx, eax
push 4
lea eax, [ebp - 0xc]
push eax
push 3
push ebx
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
je 0x4dc558
lea eax, [ebp - 0x3c]
call fcn.00403d60
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x23c]
push eax
push 3
push 0
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x33c]
mov edx, 0xff
call fcn.00404210
lea eax, [ebp - 0x33c]
mov ecx, 2
mov edx, 1
call fcn.004048c0
lea eax, [ebp - 0x23c]
lea edx, [ebp - 0x13c]
call fcn.00404c20
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x3c]
call fcn.00407660
mov eax, dword [ebp - 0x3c]
call fcn.00407340
mov esi, dword [ebp - 8]
mov eax, esi
call fcn.00403d60
mov eax, dword [ebp - 0x3c]
mov dword [esi], eax
push 4
lea eax, [ebp - 0xc]
push eax
push 7
push ebx
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
je 0x4dc618
lea eax, [ebp - 0x13c]
push eax
push 3
push 0
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x23c]
mov edx, 0xff
call fcn.00404210
lea eax, [ebp - 0x23c]
mov ecx, 2
mov edx, 1
call fcn.004048c0
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x10]
call fcn.00407660
lea eax, [ebp - 0x3c]
call fcn.00403d60
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xc]
mov cl, 0
mov edx, 3
call fcn.00407740
mov eax, dword [ebp - 0x3c]
mov edx, 0x5f30c8
call fcn.00407810
test eax, eax
jne 0x4dc5f2
mov ebx, 0x5f30d4
lea eax, [ebp - 0x10]
call fcn.00403d60
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, 0x5f30e0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov ecx, 2
call fcn.004074e0
call fcn.0040bb70
lea eax, [ebp - 0x3c]
call fcn.00403d60
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x10]
call fcn.00403d60
mov dword [ebp - 0x10], 0
pop eax
test eax, eax
je 0x4dc645
call fcn.0040bce0
mov ebx, dword [ebp - 0x344]
mov esi, dword [ebp - 0x340]
leave
ret
Function at 0x4ecc70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov ebx, ecx
mov ecx, edx
mov dword [esp], eax
dec ebx
mov esi, ebx
mov edi, 0
cmp esi, edi
jl 0x4eccb8
dec edi
nop
inc edi
mov al, byte [esp]
mov dl, byte [ecx]
xor dl, al
movzx eax, dl
mov ebx, eax
mov eax, dword [esp]
shr eax, 8
mov edx, dword [ebx*4 + 0x63df70]
xor eax, edx
mov dword [esp], eax
inc ecx
cmp esi, edi
jg 0x4ecc94
mov eax, dword [esp]
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x5114e1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x5114f4
xor eax, eax
jmp 0x511597
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
jmp 0x511533
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x511595
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00511491
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x511593
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x511597
jmp 0x51152a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x517650
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov esi, eax
mov eax, dword [esi + 0x14]
cmp eax, 0xca
jne 0x51768c
mov eax, esi
call fcn.0051be60
cmp byte [esi + 0x40], 0
je 0x517685
mov dword [esi + 0x14], 0xcf
mov bl, 1
jmp 0x51772a
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x51770b
mov eax, dword [esi + 0x184]
cmp byte [eax + 0x10], 0
je 0x517703
mov esi, esi
mov eax, dword [esi + 8]
test eax, eax
je 0x5176b8
mov eax, esi
mov edx, dword [esi + 8]
mov edx, dword [edx]
call edx
mov eax, esi
mov edx, dword [esi + 0x184]
mov edx, dword [edx]
call edx
mov edi, eax
test eax, eax
jne 0x5176ce
mov bl, 0
jmp 0x51772a
cmp edi, 2
je 0x517703
mov eax, dword [esi + 8]
test eax, eax
je 0x5176a8
cmp edi, 3
je 0x5176e4
cmp edi, 1
jne 0x5176a8
mov eax, dword [esi + 8]
inc dword [eax + 4]
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x5176a8
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x110]
add dword [edx + 8], eax
jmp 0x5176a8
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x517721
mov eax, dword [esi + 0x14]
cmp eax, 0xcc
je 0x517721
mov ecx, dword [esi + 0x14]
mov eax, esi
mov dl, 0x14
call fcn.00517af0
mov eax, esi
call fcn.00517740
mov bl, al
mov al, bl
mov ebx, dword [esp]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
add esp, 0xc
ret