joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b160
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x475078
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4eec64]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x4eec64]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor eax, eax
cmp dword [0x4f1bb0], eax
je 0x44b392
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, 2
or edi, 0xffffffff
push 0x1796
mov word [esp + 0x34], ax
mov dword [esp + 0x38], edi
call sub.WSOCK32.dll_htons
cmp dword [0x4f1bb0], 0
mov word [esp + 0x32], ax
je 0x44b390
mov ecx, 0x19c8
sub ecx, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fdiv qword [0x482b78]
fst qword [esp + 0x14]
fldz
fcom st(1)
fnstsw ax
fld1
test ah, 0x41
jne 0x44b212
fstp st(2)
fstp st(1)
fstp qword [esp + 0x14]
jmp 0x44b227
fstp st(1)
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x44b225
fstp qword [esp + 0x14]
jmp 0x44b227
fstp st(0)
push 0
lea ecx, [esp + 0x10]
call fcn.00419ff0
push 0
push 0x18
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], 0
call fcn.0041a060
lea ecx, [esp + 0xc]
call fcn.0041a150
fld qword [0x47e208]
mov eax, dword [esp + 0x10]
fld qword [esp + 0x14]
mov dword [eax], 0x4adc0104
fcom st(1)
add eax, 4
mov edx, 2
mov word [eax], dx
mov ecx, 0x101
mov word [eax + 2], cx
fnstsw ax
mov edx, dword [esp + 0x10]
mov dword [edx + 0x10], edi
mov esi, dword [esp + 0x10]
add esi, 0x14
test ah, 5
jp 0x44b29b
fstp st(1)
fmul qword [0x482b70]
fadd st(0), st(0)
jmp 0x44b2a9
fsubrp st(1)
fmul qword [0x482b68]
fadd qword [0x482b70]
fstp qword [esp + 0x14]
fld qword [ebp + 0xc]
fld qword [0x482b60]
call fcn.0045c2b0
fld1
fld st(0)
fld qword [esp + 0x14]
fsub st(1), st(0)
fxch st(1)
fmul st(3)
fst qword [esp + 0x14]
fxch st(3)
fmulp st(1)
fdiv qword [0x482b58]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x44b2e4
fstp st(0)
fld st(0)
fxch st(2)
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x44b2f5
fstp qword [esp + 0x14]
jmp 0x44b2f7
fstp st(0)
fld qword [0x482b50]
call fcn.0045c2b0
fmul qword [0x490170]
fstp qword [esp + 0x1c]
fld qword [esp + 0x14]
fld qword [0x482b50]
call fcn.0045c2b0
fmul qword [0x490170]
fstp qword [esp + 0x24]
fld qword [esp + 0x1c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp dword [esp + 0x1c]
mov al, byte [esp + 0x1c]
fld qword [esp + 0x24]
fstp dword [esp + 0x14]
mov byte [esi + 1], al
fld dword [esp + 0x14]
fistp dword [esp + 0x1c]
mov cl, byte [esp + 0x1c]
push 0x10
lea edx, [esp + 0x34]
push edx
mov byte [esi + 2], cl
mov byte [esi + 3], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4f1bb0]
push 0
push eax
push ecx
push edx
call sub.WSOCK32.dll_sendto
mov dword [esp + 0x50], edi
lea ecx, [esp + 0xc]
cmp eax, edi
jne 0x44b38b
call fcn.0041a030
mov eax, edi
jmp 0x44b392
call fcn.0041a030
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0045c0ce
mov esp, ebp
pop ebp
ret
Function at 0x44b3b0
Capabilities:
Get token membership

Disassembly:
sub esp, 0x58
mov eax, dword [0x4eec64]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x5c]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0x44
test eax, eax
je 0x44b3f1
lea ecx, [esp + 4]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x44b426
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0x1a
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x44b426
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x44b426
xor esi, esi
jmp 0x44b42e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 4]
test eax, eax
je 0x44b445
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 4], 0
test esi, esi
je 0x44b45c
push 0x493418
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], esi
call fcn.0045c4fa
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 8]
pop esi
xor ecx, esp
call fcn.0045c0ce
add esp, 0x58
ret

Function at 0x44b4a0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44b4c1
or eax, 0xffffffff
add esp, 0x14
ret
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0x80020003
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
dec eax
add esp, 0x14
ret
Function at 0x452540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x475fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4eec64]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov al, byte [esp + 0x34]
push 1
mov byte [ecx + 0x1c0], al
movsx esi, al
push 4
lea eax, [esp + 0x3c]
push eax
push str.ImplicitMode
push 0x482ce8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], esi
call fcn.0044bce0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], esi
call fcn.00449f10
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0044a0c0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 4

Function at 0x452d60
Capabilities:
Get geographical location
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x476028
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push esi
push edi
mov eax, dword [0x4eec64]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
fld dword [esi + 0x100]
push 1
fmul qword [0x490320]
push 4
fnstcw word [esp + 0x16]
lea ecx, [esp + 0x18]
movzx eax, word [esp + 0x16]
or eax, 0xc00
mov dword [esp + 0x18], eax
push ecx
fldcw word [esp + 0x1c]
push str.Latitude
push 0x482ce8
lea ecx, [esp + 0x64]
fistp qword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
fldcw word [esp + 0x22]
call fcn.0044bce0
push 1
push 4
lea ecx, [esp + 0x3c]
fld dword [esi + 0x104]
mov dword [esp + 0x7c], 0
fmul qword [0x490320]
fnstcw word [esp + 0x16]
movzx eax, word [esp + 0x16]
or eax, 0xc00
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
fldcw word [esp + 0x18]
push eax
push str.Longitude
push 0x482ce8
fistp qword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x24], edx
fldcw word [esp + 0x22]
call fcn.0044bce0
mov ecx, dword [esi + 0xfc]
push 1
push 4
lea edx, [esp + 0x18]
push edx
lea edi, [esi + 0xfc]
push str.ZipCode
mov dword [esp + 0x20], ecx
push 0x482ce8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 1
call fcn.0044bce0
fld dword [esi + 0x100]
fmul qword [0x490320]
lea ecx, [esp + 0x10]
fnstcw word [esp + 0xe]
push ecx
movzx eax, word [esp + 0x12]
or eax, 0xc00
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x54]
fldcw word [esp + 0x14]
mov byte [esp + 0x78], 2
fistp qword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
fldcw word [esp + 0x12]
call fcn.00449f10
fld dword [esi + 0x104]
fmul qword [0x490320]
fnstcw word [esp + 0xe]
movzx eax, word [esp + 0xe]
or eax, 0xc00
mov dword [esp + 0x10], eax
fldcw word [esp + 0x10]
fistp qword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x10], edx
fldcw word [esp + 0xe]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x38]
call fcn.00449f10
push edi
lea ecx, [esp + 0x1c]
call fcn.00449f10
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 1
call fcn.0044a0c0
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 0
call fcn.0044a0c0
lea ecx, [esp + 0x50]
mov dword [esp + 0x74], 0xffffffff
call fcn.0044a0c0
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x6c
ret
Function at 0x455c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4763c8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
mov eax, dword [0x4eec64]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
push 0x6d
lea ecx, [esp + 0x10]
mov byte [esi + 0xe5], 1
call fcn.00419bd0
fldz
xor ebx, ebx
fst dword [esp + 0x3c]
fstp dword [esp + 0x38]
mov dword [esp + 0xc], vtable.GetLocation.0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov eax, dword [esi + 0xfc]
mov ecx, dword [esi + 0x100]
mov edx, dword [esi + 0x104]
mov dword [esp + 0x28], eax
mov eax, dword [esi]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x14]
mov ecx, esi
mov dword [esp + 0x50], ebx
call edx
mov eax, dword [eax + 0x58]
push eax
lea ecx, [esp + 0x10]
call fcn.00418ab0
test eax, eax
je 0x455d00
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0xfc], eax
mov dword [esi + 0x100], ecx
mov ecx, esi
mov dword [esi + 0x104], edx
call fcn.00452d60
mov ecx, esi
call fcn.00454580
fld dword [0x482a30]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.0041d600
push str.flux_settings
call fcn.0040e990
add esp, 4
test al, al
je 0x455d00
push str.flux_done
call fcn.0040e960
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esi + 0xe5], bl
mov dword [esp + 0x50], 0xffffffff
call fcn.004512a0
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x48
ret
Function at 0x456070
Capabilities:
Check mutex on windows
Get geographical location

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x28]
push 0x104
push 0x4f4700
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [esp + 0x30]
mov ecx, str._unlockwingamma
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4560b5
test dl, dl
je 0x4560b1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4560b5
add eax, 2
add ecx, 2
test dl, dl
jne 0x456095
xor eax, eax
jmp 0x4560ba
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4560cd
call fcn.0044b520
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret 0x10
mov ecx, str._adminlockwingamma
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4560f4
test dl, dl
je 0x4560f0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4560f4
add eax, 2
add ecx, 2
test dl, dl
jne 0x4560d4
xor eax, eax
jmp 0x4560f9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x456156
mov ecx, str._lockwingamma
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x456124
test dl, dl
je 0x456120
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x456124
add eax, 2
add ecx, 2
test dl, dl
jne 0x456104
xor eax, eax
jmp 0x456129
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x456165
call fcn.0044b810
test al, al
je 0x45622b
push str.Back_to_normal_
push 0
push str.Return_to_Windows_default_color_settings_
call fcn.004039d0
add esp, 0xc
test al, al
je 0x45622b
call fcn.0044b6c0
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret 0x10
call fcn.0044b950
push 0x483578
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x4f1bac], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x456207
cmp eax, 5
je 0x456207
push 1
push edi
call fcn.004030b0
push str.noshow
push esi
call fcn.0045baf0
add esp, 0x10
test eax, eax
sete al
mov byte [esp + 0x28], al
test al, al
jne 0x4561de
push 0
push str.Longitude
lea ecx, [esp + 0x10]
call fcn.0044c070
lea ecx, [esp + 8]
call fcn.00449fd0
test eax, eax
jne 0x4561d5
mov byte [esp + 0x28], 1
lea ecx, [esp + 8]
call fcn.0044a0c0
mov eax, dword [esp + 0x28]
push eax
call fcn.00455d30
mov ecx, dword [0x4f1bac]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00403310
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret 0x10
push 0x483568
push str.ytWindow
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x45622b
push 0
push 0
push 0x464
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret 0x10
Function at 0x458860
Capabilities:
Terminate process

Disassembly:
push ecx
push 0
push str.Progman
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x458877
or eax, 0xffffffff
pop ecx
ret
lea ecx, [esp]
push ecx
push eax
mov dword [esp + 8], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp]
test eax, eax
je 0x4588b4
push esi
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4588ac
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ecx
ret

Function at 0x4593b0
Capabilities:
Read file on windows

Disassembly:
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x4593dc
mov edx, dword [esp + 4]
mov eax, dword [edx + 4]
test eax, eax
je 0x4593dc
push esi
mov esi, dword [edx]
push ecx
push esi
push 1
push eax
call fcn.0045e149
add esp, 0x10
cmp eax, esi
pop esi
jne 0x4593dc
xor eax, eax
ret 4
mov eax, 2
ret 4

Function at 0x45c0ce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4eec64]
jne 0x45c0d8
repz ret
jmp fcn.00462b0c

Function at 0x45ef52
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x45ef83
call fcn.0045f4f3
mov dword [eax], esi
call fcn.0045f4e0
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004652e2
add esp, 0x14
or eax, 0xffffffff
jmp 0x45efbe
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x45efa0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045f506
pop ecx
jmp 0x45ef7e
test byte [ebp + 0xc], 0x80
je 0x45efab
and eax, 0xfffffffe
jmp 0x45efae
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x45ef91
xor eax, eax
pop esi
pop ebp
ret
Function at 0x46dc48
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.0046244a
and dword [ebp - 4], 0
cmp dword [0x4f4474], 0
mov ebx, eax
jne 0x46dcf9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46ddaa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x48a918
push edi
call esi
test eax, eax
je 0x46ddaa
push eax
call fcn.004623d8
mov dword [esp], 0x48a908
push edi
mov dword [0x4f4474], eax
call esi
push eax
call fcn.004623d8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4f4478], eax
call esi
push eax
call fcn.004623d8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4f447c], eax
call esi
push eax
call fcn.004623d8
pop ecx
mov dword [0x4f4484], eax
test eax, eax
je 0x46dcf9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004623d8
pop ecx
mov dword [0x4f4480], eax
mov eax, dword [0x4f4480]
cmp eax, ebx
je 0x46dd51
cmp dword [0x4f4484], ebx
je 0x46dd51
push eax
call fcn.00462453
push dword [0x4f4484]
mov esi, eax
call fcn.00462453
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46dd51
test edi, edi
je 0x46dd51
call esi
test eax, eax
je 0x46dd48
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46dd48
test byte [ebp - 0xc], 1
jne 0x46dd51
or dword [ebp + 0x10], 0x200000
jmp 0x46dd8a
mov eax, dword [0x4f4478]
cmp eax, ebx
je 0x46dd8a
push eax
call fcn.00462453
pop ecx
test eax, eax
je 0x46dd8a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46dd8a
mov eax, dword [0x4f447c]
cmp eax, ebx
je 0x46dd8a
push eax
call fcn.00462453
pop ecx
test eax, eax
je 0x46dd8a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4f4474]
call fcn.00462453
pop ecx
test eax, eax
je 0x46ddaa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46ddac
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x474a23
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4f45ec], 0
push esi
jne 0x474996
call fcn.004748bc
test eax, eax
je 0x4749d9
mov eax, dword [0x4f45ec]
cmp eax, 1
jne 0x4749b7
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4749d9
pop esi
ret
push eax
call dword [0x4f45f4]
test eax, eax
jne 0x474a21
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 0x4749dd
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4f45ec]
call dword [0x4f45f4]
mov edi, eax
test edi, edi
je 0x474a02
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x474a1e
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4f45ec]
call dword [0x4f45f0]
add edi, 0x10
cmp edi, esi
jb 0x474a0a
mov eax, edi
pop edi
pop esi
ret
jmp 0x474983
Function at 0x100077e5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10007824
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10007824
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10007824
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10007824
cmp dword [ecx + 0x74], 0xe
jbe 0x10007824
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000bcd8
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 0x1000bd75
push ebx
push esi
call fcn.1000bca1
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.1000bc37
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000bd22
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000bd74
push edi
push eax
call fcn.100086d0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000bd42
call fcn.10008680
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000bd73
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000bc37
add esp, 0x20
test eax, eax
jne 0x1000bd61
push edi
call fcn.10008680
jmp 0x1000bd69
push ebx
call fcn.10008680
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 0x10013b60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10013b8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10013b8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130