joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453c17
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4883bd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 0
push 1
push eax
call fcn.004538d4
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
push str.isJavaPluginDisabled
lea ecx, [esp + 0x10]
mov byte [esp + 0xc], bl
call fcn.0040d21d
and dword [esp + 0x38], 0
push eax
push dword [esp + 0xc]
call fcn.00453f20
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.0040e7d9
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00465f42
mov esp, ebp
pop ebp
ret 4

Function at 0x453cb1
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4883bd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 0x1e
push 2
push eax
call fcn.004538d4
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
push str.isPreviousSecurityDecisionsExist
lea ecx, [esp + 0x10]
mov byte [esp + 0xc], bl
call fcn.0040d21d
and dword [esp + 0x38], 0
push eax
push dword [esp + 0xc]
call fcn.00453f20
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.0040e7d9
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00465f42
mov esp, ebp
pop ebp
ret 4

Function at 0x453d4c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4883bd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 0x1e
push 3
push eax
call fcn.004538d4
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
push str.doClearUserPreviousDecisions
lea ecx, [esp + 0x10]
mov byte [esp + 0xc], bl
call fcn.0040d21d
and dword [esp + 0x38], 0
push eax
push dword [esp + 0xc]
call fcn.00453f20
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.0040e7d9
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00465f42
mov esp, ebp
pop ebp
ret 4
Function at 0x453de7
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4883bd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 0
push 4
push eax
call fcn.004538d4
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
push str.doResetUserPreviousDecisions
lea ecx, [esp + 0x10]
mov byte [esp + 0xc], bl
call fcn.0040d21d
and dword [esp + 0x38], 0
push eax
push dword [esp + 0xc]
call fcn.00453f20
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.0040e7d9
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00465f42
mov esp, ebp
pop ebp
ret 4

Function at 0x453e82
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4883bd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push str.deployment.expiration.check.enabled_false
push 0
push 5
push eax
call fcn.004538d4
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
push str.turnOffSecurityBaselineCheck
lea ecx, [esp + 0x10]
mov byte [esp + 0xc], bl
call fcn.0040d21d
and dword [esp + 0x38], 0
push eax
push dword [esp + 0xc]
call fcn.00453f20
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.0040e7d9
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00465f42
mov esp, ebp
pop ebp
ret 4

Function at 0x454b15
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489fd3
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
jmp 0x454b5c
mov ecx, dword [edi + 8]
push dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 4]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 4]
mov al, byte [eax + 0xd]
test al, al
je 0x454b45
mov ebx, dword [edi + 4]
mov eax, ebx
lea esi, [esp + 0x14]
call fcn.0044d8d7
mov dword [esp + 0x28], ebx
and dword [esp + 0x38], 0
mov eax, dword [edi + 4]
mov byte [eax + 0xc], 1
mov eax, dword [esp + 0x28]
push 0
push dword [eax + 8]
call fcn.00450ccb
or dword [esp + 0x38], 0xffffffff
mov ecx, esi
call fcn.0044d921
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454c58
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489fb0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, edi
lea esi, [esp + 0xc]
call fcn.0044d8d7
mov dword [esp + 0x20], edi
and dword [esp + 0x30], 0
jmp 0x454cab
push 0xffffffffffffffff
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
call fcn.00450be8
mov al, byte [edi + 0xc]
test al, al
je 0x454c98
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0044d921
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x455582
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48b320
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], eax
call fcn.00455334
mov cl, byte [eax + 4]
mov esi, dword [eax]
xor ebx, ebx
mov byte [esp + 0x10], cl
mov dword [esp + 0x18], esi
mov byte [eax + 4], bl
mov dword [esp + 0x40], esi
mov byte [esp + 0x44], cl
mov dword [esp + 0x128], ebx
cmp byte [esp + 0x2c], bl
je 0x455607
push dword [esp + 0x28]
mov byte [esp + 0x30], bl
call fcn.0044ddc4
pop ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push 1
push esi
mov dword [esp + 0x28], ebx
call edi
mov esi, dword [esp + 0x14]
cmp esi, ebx
jne 0x45569c
mov ebx, str.GetTokenInformation__get_size__failed
lea esi, [esp + 0x54]
call fcn.00413bb6
push str.System_error
mov byte [esp + 0x12c], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, esi
mov ecx, edi
push eax
lea edi, [esp + 0x54]
call fcn.004552c0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x128], 2
push ecx
lea esi, [esp + 0x1c]
mov ecx, eax
mov dword [esp + 0x1c], str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_Security.cpp
mov dword [esp + 0x20], str.security::Sid::processOwnerUser
mov dword [esp + 0x24], 0x58
call fcn.00428300
mov dword [esp], 0x4ad6f0
lea eax, [esp + 0xf4]
push eax
call fcn.0046de80
lea eax, [esp + 0x30]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.00429580
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x12c], 3
push dword [esp + 0x18]
mov esi, dword [esp + 0x38]
push esi
push 1
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x455749
mov ebx, str.GetTokenInformation_failed
lea esi, [esp + 0x54]
call fcn.00413bb6
push str.System_error
mov byte [esp + 0x12c], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, esi
mov ecx, edi
push eax
lea edi, [esp + 0x54]
call fcn.004552c0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x128], 5
push ecx
lea esi, [esp + 0x1c]
mov ecx, eax
mov dword [esp + 0x1c], str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_Security.cpp
mov dword [esp + 0x20], str.security::Sid::processOwnerUser
mov dword [esp + 0x24], 0x5e
call fcn.00428300
mov dword [esp], 0x4ad6f0
lea eax, [esp + 0xf4]
jmp 0x455696
mov edx, dword [esi]
mov ecx, dword [esp + 0x24]
call fcn.004553f4
push esi
call fcn.00465f37
or dword [esp + 0x12c], 0xffffffff
pop ecx
cmp byte [esp + 0x10], bl
je 0x455773
push dword [esp + 0x18]
call fcn.0044ddc4
pop ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00465f42
mov esp, ebp
pop ebp
ret
Function at 0x45bfb8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4820bc
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
push ecx
lea esi, [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
call fcn.0040d1fc
mov byte [esp + 0x3c], bl
mov dword [esp + 0x70], ebx
jmp 0x45c065
lea edx, [esp + 0x20]
add edi, 0xfffffffc
mov ecx, dword [edi]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x20], edi
call dword [eax + 4]
mov esi, eax
lea edi, [esp + 0x20]
mov byte [esp + 0x70], 1
call fcn.0040e5e0
mov al, byte [esi + 0x1c]
push ebx
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x44], al
mov byte [esp + 0x78], bl
call fcn.0040e7d9
cmp byte [esp + 0x3c], bl
jne 0x45c06b
mov edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x14]
jne 0x45c01c
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
call fcn.0040d1fc
push ebx
push 1
lea ecx, [esp + 0x28]
call fcn.0040e7d9
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00465f42
mov esp, ebp
pop ebp
ret 8
Function at 0x45f0c8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x485130
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.0045bb48
mov cl, byte [eax + 4]
mov edi, dword [eax]
mov byte [esp + 0x10], cl
mov dword [esp + 0x1c], edi
mov byte [eax + 4], bl
mov dword [esp + 0x2c], edi
mov byte [esp + 0x30], cl
mov dword [esp + 0x50], ebx
cmp byte [esp + 0x18], bl
je 0x45f133
push dword [esp + 0x14]
mov byte [esp + 0x1c], bl
call fcn.0046460c
pop ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov esi, 0x100001
lea eax, [esp + 0x34]
mov byte [esp + 0x50], 1
call fcn.00437ffa
push edi
mov edi, dword [esp + 0x38]
dec esi
push esi
push 1
push edi
call fcn.0046d511
add esp, 0x10
mov dword [esp + 0x14], eax
cmp eax, esi
jbe 0x45f187
push 0xc8
lea esi, [esp + 0x20]
call fcn.00421930
push 0x4ad694
mov eax, esi
push eax
call fcn.0046de80
push dword [esp + 0x1c]
call fcn.0046d29f
pop ecx
test eax, eax
je 0x45f1ac
push 0x133
lea esi, [esp + 0x20]
call fcn.00421930
push 0x4ad694
mov eax, esi
jmp 0x45f181
push dword [esp + 0x1c]
call fcn.0046d277
pop ecx
test eax, eax
jne 0x45f1d1
push 0x13b
lea esi, [esp + 0x20]
call fcn.00421930
push 0x4ad694
mov eax, esi
jmp 0x45f181
mov esi, dword [esp + 0x14]
mov ecx, esi
mov eax, edi
call fcn.0045f094
lea eax, [edi + esi]
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp edi, eax
je 0x45f1ff
sub eax, edi
push eax
push edi
mov ecx, esi
call fcn.0040f37f
cmp edi, ebx
je 0x45f20a
push edi
call fcn.00465f37
pop ecx
cmp byte [esp + 0x10], bl
je 0x45f21a
push dword [esp + 0x1c]
call fcn.0046460c
pop ecx
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4607f6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, eax
xor ecx, ecx
cmp dword [ebp + 0x14], ecx
jl 0x460876
jg 0x460822
cmp esi, ecx
jbe 0x460876
cmp dword [ebp + 0x14], ecx
jg 0x460822
jl 0x46081e
cmp esi, 0x7fffffff
jae 0x460822
mov eax, esi
jmp 0x460827
mov eax, SysReAllocString
cmp dword [ebp + 8], 0xffffffff
mov dword [ebp - 4], ecx
je 0x460867
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x460851
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x460871
jmp 0x460867
mov eax, dword [ebp - 4]
test eax, eax
jle 0x460862
add ebx, eax
cdq
sub esi, eax
sbb dword [ebp + 0x14], edx
jmp 0x460802
cmp eax, 0xffffffff
jne 0x460871
call fcn.0046c440
cmp dword [eax], 4
je 0x460802
or eax, 0xffffffff
jmp 0x460878
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x464770
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4c6c80], 0
push esi
push edi
jne 0x4646e6
call fcn.00464652
test eax, eax
je 0x46472b
mov eax, dword [0x4c6c80]
cmp eax, 1
jne 0x464707
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x46472b
jmp 0x46476d
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x46476d
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x46472f
xor eax, eax
jmp 0x46476d
mov eax, dword [esi]
push dword [0x4c6c80]
call edi
mov edi, eax
test edi, edi
je 0x464751
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x46476d
lea edi, [esi + 0xff0]
push esi
push dword [0x4c6c80]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x464757
mov eax, esi
pop edi
pop esi
ret
jmp 0x4646d2

Function at 0x465f42
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c2660]
jne 0x465f4c
repz ret
jmp fcn.004706c7
Function at 0x474b3d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c2660]
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.004710c2
and dword [ebp - 0x14], 0
cmp dword [0x4c7c44], 0
mov dword [ebp - 0x18], eax
jne 0x474bf0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x474c98
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x474c98
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x494b48
push ebx
mov dword [0x4c7c44], eax
call edi
push eax
call esi
push 0x494b34
push ebx
mov dword [0x4c7c48], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c7c4c], eax
call edi
push eax
call esi
mov dword [0x4c7c54], eax
test eax, eax
je 0x474bf0
push 0x494b00
push ebx
call edi
push eax
call esi
mov dword [0x4c7c50], eax
mov eax, dword [0x4c7c50]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x474c49
cmp dword [0x4c7c54], ecx
je 0x474c49
push eax
call esi
push dword [0x4c7c54]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x474c49
test ebx, ebx
je 0x474c49
call edi
test eax, eax
je 0x474c40
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x474c40
test byte [ebp - 8], 1
jne 0x474c49
or dword [ebp + 0x10], 0x200000
jmp 0x474c7c
mov eax, dword [0x4c7c48]
cmp eax, dword [ebp - 0x18]
je 0x474c7c
push eax
call esi
test eax, eax
je 0x474c7c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x474c7c
mov eax, dword [0x4c7c4c]
cmp eax, dword [ebp - 0x18]
je 0x474c7c
push eax
call esi
test eax, eax
je 0x474c7c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c7c44]
call esi
test eax, eax
je 0x474c98
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x474c9a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00465f42
leave
ret

Function at 0x478d7b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax - 0x3a]
test dword [eax + 0x56fffffc], edi
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00478526
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004784db
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
invalid
invalid
Function at 0x480a8e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004681a7
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x480ac6
xor eax, eax
jmp 0x480af2
cmp esi, dword [ebp - 4]
je 0x480aef
cmp dword [ebp + 0xc], 0
je 0x480aef
push dword [edi + 0x9c]
call fcn.0048069c
push dword [edi + 0x9c]
mov esi, eax
call fcn.00465be2
pop ecx
pop ecx
cmp esi, eax
je 0x480ac2
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x416ef0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x416f12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x416f19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x416f08
mov eax, 1
add ebx, ebx
jne 0x416f2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x416f20
jne 0x416f3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416f20
xor ecx, ecx
sub eax, 3
jb 0x416f50
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x416fc2
mov ebp, eax
add ebx, ebx
jne 0x416f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416f68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416f8c
inc ecx
add ebx, ebx
jne 0x416f78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416f6d
jne 0x416f89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416f6d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416fac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416f9d
jmp 0x416f0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416fac
add edi, ecx
jmp 0x416f0e
pop esi
mov edi, esi
mov ecx, 0x70a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x416fca
cmp byte [edi], 0x12
jne 0x416fca
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 0x416fcf
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x41703e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416ffc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1707c]
or eax, eax
je 0x417038
mov dword [ebx], eax
add ebx, 4
jmp 0x417019
call dword [esi + 0x17084]
mov ebp, dword [esi + 0x17080]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x417072
sub esp, 0xffffff80
jmp 0x407c42
Function at 0x402f7c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x459008], 0x8088405
inc edx
mov dword [ebx + 0x459008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403658
Capabilities:
Query or enumerate registry value

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

Function at 0x4044e4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4c6048], 0
je 0x404545
cmp word [0x4c621c], 0xd7b2
jne 0x40450d
cmp dword [0x4c6224], 0
jbe 0x40450d
mov eax, 0x4c6218
call dword [0x4c6234]
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 0x40456c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x459030], 0
jne 0x404561
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret