joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fd0d0
Capabilities:
Set environment variable

Disassembly:
sub esp, 4
cmp dword [esp + 8], 0
push ebx
push esi
push edi
push ebp
je 0x4fd30e
mov edx, dword [esp + 0x18]
push 0x3d
push edx
call fcn.004f2f20
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x4fd30e
cmp ebp, dword [esp + 0x18]
je 0x4fd30e
cmp byte [ebp + 1], 1
sbb eax, eax
mov ecx, dword [0x50a2cc]
neg eax
mov dword [esp + 0x10], eax
cmp dword [0x50a2d0], ecx
jne 0x4fd12d
push ecx
call fcn.004fd380
add esp, 4
mov dword [0x50a2cc], eax
cmp dword [0x50a2cc], 0
jne 0x4fd1dd
cmp dword [esp + 0x1c], 0
je 0x4fd164
cmp dword [0x50a2d4], 0
je 0x4fd164
call fcn.004fc940
test eax, eax
je 0x4fd1dd
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [esp + 0x10], 0
je 0x4fd175
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x50a2cc], 0
jne 0x4fd1a9
push 4
call fcn.004f3af0
add esp, 4
mov dword [0x50a2cc], eax
test eax, eax
jne 0x4fd19e
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, dword [0x50a2cc]
mov dword [eax], 0
cmp dword [0x50a2d4], 0
jne 0x4fd1dd
push 4
call fcn.004f3af0
add esp, 4
mov dword [0x50a2d4], eax
test eax, eax
jne 0x4fd1d2
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, dword [0x50a2d4]
mov dword [eax], 0
mov esi, dword [0x50a2cc]
sub ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x18]
push ebp
push edx
call fcn.004fd320
add esp, 8
mov edi, eax
test edi, edi
jl 0x4fd245
cmp dword [esi], 0
je 0x4fd245
cmp dword [esp + 0x10], 0
je 0x4fd23c
lea ebx, [esi + edi*4]
mov eax, dword [ebx]
push eax
call fcn.004f3760
add esp, 4
cmp dword [ebx], 0
je 0x4fd229
mov eax, dword [ebx + 4]
add ebx, 4
inc edi
mov dword [ebx - 4], eax
cmp dword [ebx], 0
jne 0x4fd21a
shl edi, 2
push edi
push esi
call fcn.004f38f0
add esp, 8
test eax, eax
je 0x4fd28d
jmp 0x4fd288
mov edx, dword [esp + 0x18]
mov dword [esi + edi*4], edx
jmp 0x4fd28d
cmp dword [esp + 0x10], 0
jne 0x4fd304
test edi, edi
jge 0x4fd256
neg edi
lea eax, [edi*4 + 8]
push eax
push esi
call fcn.004f38f0
add esp, 8
test eax, eax
jne 0x4fd278
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
lea ecx, [eax + edi*4]
mov edx, dword [esp + 0x18]
mov dword [ecx], edx
mov dword [ecx + 4], 0
mov dword [0x50a2cc], eax
cmp dword [esp + 0x1c], 0
je 0x4fd2fa
mov edi, dword [esp + 0x18]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.004f3af0
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x4fd2fa
mov edi, dword [esp + 0x18]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x10], 1
sbb eax, eax
lea ecx, [ebp + ebx]
mov byte [ecx], 0
lea ecx, [ecx + 1]
and eax, ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push ebx
call fcn.004f3760
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x4fd920
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x94
mov eax, dword [0x50bd3c]
test eax, eax
jle 0x4fd983
dec eax
mov dword [0x50bd3c], eax
jne 0x4fd983
call fcn.004fdeec
mov dword [esp], 0x94
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 2
je 0x4fd963
push str.Library_not_freed_..._call_microsoft_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4fd96f
mov eax, dword [0x50bd38]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x50bd38], 0
mov dword [0x50bd34], 0x4fdbcc
add esp, 0x94
ret
Function at 0x4036f0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x48d400
mov eax, dword fs:[0]
push eax
push ebp
push esi
push edi
mov eax, dword [0x4d6394]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
mov dword [edi], 0x4b724c
mov dword [esp + 0x18], 4
mov ecx, dword [edi + 0xf8]
push edi
push fcn.00403a60
add ecx, 0x8c
call fcn.0040b940
mov ecx, dword [edi + 0x100]
push edi
push 0x403cc0
add ecx, 0x8c
call fcn.0040b940
mov ecx, dword [edi + 0x114]
push edi
push 0x407080
add ecx, 0x8c
call fcn.0040b940
mov ecx, dword [edi + 0xfc]
push edi
push fcn.004070a0
add ecx, 0x8c
call fcn.0040b940
mov ecx, dword [edi + 0x118]
push edi
push 0x409ab0
add ecx, 0x8c
call fcn.0040b940
mov ebp, 8
cmp dword [edi + 0x1a4], ebp
jb 0x4037ad
mov eax, dword [edi + 0x190]
jmp 0x4037b3
lea eax, [edi + 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [edi + 0x2d8]
push eax
call fcn.0040bf50
lea esi, [edi + 0x1e0]
call fcn.0040ea40
cmp dword [edi + 0x1dc], ebp
jb 0x4037e8
mov eax, dword [edi + 0x1c8]
push eax
call fcn.00472191
add esp, 4
xor esi, esi
xor eax, eax
mov dword [edi + 0x1dc], 7
mov dword [edi + 0x1d8], esi
mov word [edi + 0x1c8], ax
cmp dword [edi + 0x1c0], ebp
jb 0x40381a
mov eax, dword [edi + 0x1ac]
push eax
call fcn.00472191
add esp, 4
xor ecx, ecx
mov dword [edi + 0x1c0], 7
mov dword [edi + 0x1bc], esi
mov word [edi + 0x1ac], cx
cmp dword [edi + 0x1a4], ebp
jb 0x40384a
mov eax, dword [edi + 0x190]
push eax
call fcn.00472191
add esp, 4
xor edx, edx
mov dword [edi + 0x1a4], 7
mov dword [edi + 0x1a0], esi
mov ecx, edi
mov word [edi + 0x190], dx
mov dword [esp + 0x18], 0xffffffff
call fcn.0041b530
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 4
Function at 0x4090e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x488b80
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4d6394]
xor eax, esp
mov dword [esp + 0x78], eax
push esi
push edi
mov eax, dword [0x4d6394]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [esp + 0x98]
xor edi, edi
mov dword [esp + 0x90], edi
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x70], cx
add eax, 0x1a8
push edi
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], edi
call fcn.0040c280
push 0xd
mov eax, 0x4b6104
lea ecx, [esp + 0x6c]
mov byte [esp + 0x94], 1
call fcn.0040c1a0
cmp dword [esp + 0xb0], edi
jbe 0x409193
push 2
mov eax, 0x4b62b4
lea ecx, [esp + 0x6c]
call fcn.0040c1a0
push edi
lea edx, [esp + 0xa0]
push edx
or eax, 0xffffffff
lea esi, [esp + 0x70]
call fcn.0040c0e0
push 0x40
lea eax, [esp + 0x24]
push edi
push eax
call fcn.00474dd0
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x80], 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], 0x44
jae 0x4091cf
lea eax, [esp + 0x6c]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x4091f8
push eax
call esi
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x409213
push 0xbb8
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [esp + 0xc]
push eax
call esi
cmp dword [esp + 0x80], 8
jb 0x40922a
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00472191
add esp, 4
xor edx, edx
cmp dword [esp + 0xb4], 8
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], edi
mov word [esp + 0x6c], dx
jb 0x40925a
mov eax, dword [esp + 0xa0]
push eax
call fcn.00472191
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0047219c
add esp, 0x88
ret 0x20
Function at 0x4110b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4892c6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4d6394]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x4d6394]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
push 0x206
xor edi, edi
lea ecx, [esp + 0x4e]
xor eax, eax
push edi
push ecx
mov word [esp + 0x54], ax
call fcn.00474dd0
add esp, 0xc
push 0x104
lea edx, [esp + 0x4c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov word [esp + 0x30], ax
lea eax, [esp + 0x48]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
lea edx, [eax + 2]
jmp 0x411140
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x411140
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x4c]
lea esi, [esp + 0x30]
call fcn.0040c9f0
push 1
mov ebx, esi
mov dword [esp + 0x260], edi
call fcn.0040c410
mov ecx, dword [esp + 0x40]
sub ecx, eax
lea edx, [eax + 1]
mov eax, esi
dec ecx
push eax
lea esi, [esp + 0x14]
call fcn.0040b8f0
push 0xffffffffffffffff
push edi
mov ecx, ebx
mov byte [esp + 0x264], 1
call fcn.0040c280
mov esi, 8
cmp dword [esp + 0x28], esi
jb 0x4111ad
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00472191
add esp, 4
push 0x4b7614
mov ebx, 2
xor eax, eax
lea edx, [esp + 0x30]
call fcn.0040c330
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov edi, edx
cmp dword [esp + 0x44], esi
jb 0x4111df
mov eax, dword [esp + 0x30]
push eax
call fcn.00472191
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0047219c
add esp, 0x250
ret

Function at 0x4115d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4d6394]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x218]
push ebx
push esi
mov esi, edx
lea edx, [esp + 8]
push edx
push 0xf003f
xor ebx, ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411674
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.00474dd0
mov ecx, dword [esp + 0x14]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push edi
push ecx
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411669
lea ebx, [eax + 1]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411650
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
call fcn.0040c9f0
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x218]
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0047219c
add esp, 0x214
ret
Function at 0x411c90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x489188
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4d6394]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov eax, dword [0x4d6394]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x9c]
mov esi, ecx
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x70], cx
push ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
call fcn.0040c280
mov dword [esp + 0x94], 0
cmp dword [esi + 0x14], 0
jbe 0x411d28
push 3
mov eax, 0x4b786c
lea ecx, [esp + 0x6c]
call fcn.0040c1a0
push 0
push esi
or eax, 0xffffffff
lea esi, [esp + 0x70]
call fcn.0040c0e0
push 0x40
lea edx, [esp + 0x24]
push 0
push edx
call fcn.00474dd0
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x80], 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], 0x44
jae 0x411d69
lea eax, [esp + 0x6c]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x411d9b
push eax
call ebx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x411db3
push 0x64
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [esp + 0xc]
push eax
call ebx
cmp dword [esp + 0x80], 8
jb 0x411dca
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00472191
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0047219c
add esp, 0x8c
ret

Function at 0x417d00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
test ebx, ebx
jne 0x417d22
push 0x1d0
push str..PictureResource.cpp
push str.stream
call fcn.00472730
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x417d6f
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x417d6f
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, dword [ebx]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esi + 8]
push eax
mov ecx, ebx
call edx
pop edi
pop esi
mov eax, 1
pop ebx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x41b310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41b327
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41b358
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x41b354
cmp esi, eax
jae 0x41b358
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x41b344
cmp esi, eax
jb 0x41b35e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x41bf60
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 4]
mov esi, ecx
cmp eax, 0x100
je 0x41bf7d
cmp eax, 0x104
jne 0x41c042
mov eax, dword [edi]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x1c]
call eax
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x41bf9f
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp dword [edi], eax
jne 0x41c003
cmp dword [edi + 8], 0x1b
jne 0x41bfbb
mov edx, dword [esi]
mov eax, dword [edx + 0x110]
mov ecx, esi
call eax
pop edi
mov eax, 1
pop esi
ret 4
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
push 0xa4
call ebx
push 0xa5
movzx ebp, ax
call ebx
test ebp, 0x8000
pop ebp
movzx eax, ax
pop ebx
jne 0x41bfe8
test eax, 0x8000
je 0x41c003
cmp dword [edi + 8], 0x73
jne 0x41c003
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
push 1
mov ecx, esi
call eax
pop edi
mov eax, 1
pop esi
ret 4
mov ecx, dword [edi]
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
push ecx
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x41c042
mov ecx, dword [edi + 8]
mov edx, dword [edi]
push edi
push ecx
push 0x87
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x41c042
cmp dword [edi + 8], 9
jne 0x41c042
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
mov dword [edi], eax
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x45a3cf
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
movsx ebx, ax
push esi
shr eax, 0x10
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cwde
mov esi, ecx
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 8], eax
xor eax, eax
push eax
push 0x41a
push dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
call edi
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x419
push dword [esi + 4]
call edi
push dword [ebp - 8]
lea eax, [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x45a4e3
push eax
push eax
push 0x401
push dword [esi + 4]
call edi
push 0
push 0
push 0x402
push dword [esi + 4]
mov dword [ebp - 4], eax
call edi
sub ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ebx
fild dword [ebp - 8]
mov dword [ebp - 8], ecx
fild dword [ebp - 8]
inc eax
sub eax, dword [ebp - 4]
fdivp st(1)
mov dword [ebp - 8], eax
fld1
fsub st(1)
fld qword [0x4be670]
fmul st(1), st(0)
fld st(2)
fmulp st(1)
fsubp st(1)
fild dword [ebp - 8]
fmulp st(2)
fild dword [ebp - 4]
faddp st(2)
faddp st(1)
call fcn.00486d70
push eax
push 1
push 0x405
push dword [esi + 4]
mov dword [ebp - 8], eax
call edi
call fcn.0045a977
push dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
call ebx
movzx ecx, word [ebp - 8]
push dword [esi + 4]
shl ecx, 0x10
or ecx, 4
push ecx
push 0x114
push eax
call edi
push dword [esi + 4]
call ebx
push dword [esi + 4]
push 8
push 0x114
push eax
call edi
xor eax, eax
jmp 0x45a4ea
mov edx, esi
call fcn.0045ad06
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5e5a92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x5e5b67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x5e5b31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x5e5b5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005e5b71
test eax, eax
je 0x5e5b67
add ebx, 0x14
jmp 0x5e5b3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x5e5b71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x5e5ddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x5e5ddd
mov eax, 1
test eax, eax
je 0x5e5ddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x5e5ddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x5e5dd3
mov ebx, eax
and eax, 0x80000000
jne 0x5e5d4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x5e5ddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x5e5ddd
mov eax, 1
test eax, eax
je 0x5e5ddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x5e5ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x5e5ca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x5e5ddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x5e5b67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x5e5ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x5e5ca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x5e5e9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x5e5fee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x5e5fee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.005e5ff8
test eax, eax
je 0x5e5fee
add ebx, 0x28
dec ecx
jne 0x5e5fc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x5e609e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x5e60c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x5e612e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x5e60e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x5e612e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x5e6105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x5e612e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x5e6123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x5e612e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x5e616b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10