joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f908021
Capabilities:
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
mov eax, edx
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
push 4
mov ebx, ecx
mov dword [ebp - 0xc], eax
pop edi
push 1
mov ecx, eax
mov dword [ebp - 0x10], ebx
call fcn.4f9079a6
mov esi, eax
test esi, esi
je 0x4f908158
cmp dword [0x4f918814], 0
mov dword [esi + 0xc], ebx
je 0x4f908152
movzx eax, word [ebp + 0x18]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4f908079
mov dword [esi + 0x40], 1
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.4f908237
test eax, eax
je 0x4f908152
push esi
call sym.OLECLI32.dll_SetNetName
mov edi, eax
test edi, edi
je 0x4f9080f4
movzx ecx, word [0x4f918804]
push ecx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4f908152
movzx eax, word [0x4f918804]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x4f908152
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
test eax, eax
je 0x4f908152
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov word [esi + 0x5c], ax
test ax, ax
je 0x4f908152
mov ecx, esi
call fcn.4f90876c
mov edx, dword [ebp - 0xc]
lea ebx, [esi + 0x64]
mov ecx, dword [ebp - 0x10]
push 5
push dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.4f90b975
mov edi, eax
test edi, edi
jne 0x4f908152
mov ecx, esi
call fcn.4f907a3b
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebx]
test eax, eax
je 0x4f90812c
mov dword [eax + 0x34], esi
xor edx, edx
mov ecx, esi
call fcn.4f904682
test eax, eax
je 0x4f90815a
push 2
pop edx
push edx
mov ecx, esi
mov dword [esi + 0x4c], 0x18
call fcn.4f9085c1
call fcn.4f909287
jmp 0x4f90815a
push esi
call sym.OLECLI32.dll_OleDelete
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x4f908161
Capabilities:
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, word [0x4f9187f8]
and dword [ebp - 4], 0
push ebx
push esi
push edi
push 4
pop edi
mov esi, edx
mov ebx, ecx
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4f908197
push 0xb
pop eax
jmp 0x4f908230
mov edx, dword [ebp + 8]
mov ecx, esi
push 2
call fcn.4f9079a6
mov esi, eax
test esi, esi
je 0x4f90822e
cmp dword [0x4f918814], 0
mov dword [esi + 0xc], ebx
je 0x4f908228
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.4f908237
test eax, eax
je 0x4f908228
mov ecx, esi
call fcn.4f9083f3
movzx eax, word [0x4f9187ec]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
push 2
pop edx
mov ecx, eax
call fcn.4f90f50c
mov dword [esi + 0x70], eax
test eax, eax
je 0x4f908228
mov edx, dword [ebp - 8]
lea ebx, [esi + 0x64]
mov ecx, dword [ebp - 0xc]
push 5
push dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.4f90b975
mov edi, eax
test edi, edi
jne 0x4f908228
mov ecx, esi
call fcn.4f907a3b
mov ecx, dword [ebp + 0xc]
mov dword [ecx], esi
mov ecx, dword [ebx]
test ecx, ecx
je 0x4f90822e
mov dword [ecx + 0x34], esi
jmp 0x4f90822e
push esi
call sym.OLECLI32.dll_OleDelete
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], edi
cmp eax, 0xf
je 0x4f908717
cmp eax, 0xd
jne 0x4f9086ca
cmp dword [esi + 0xa0], edi
je 0x4f908717
mov eax, dword [esi + 0xa0]
dec eax
cmp eax, 7
ja case.default.0x4f9086d6
jmp dword [eax*4 + 0x4f90874c]
pop edi
pop esi
jmp fcn.4f906ddc
pop edi
pop esi
jmp fcn.4f909287
pop edi
pop esi
jmp fcn.4f908a67
pop edi
pop esi
jmp fcn.4f908dee
pop edi
pop esi
jmp fcn.4f909677
pop edi
pop esi
jmp fcn.4f909c8f
pop edi
pop esi
jmp fcn.4f90ab2f
pop edi
xor edx, edx
pop esi
jmp fcn.4f907615
mov eax, dword [esi + 0xac]
mov dword [esi + 0x98], 1
mov dword [esi + 0xa8], eax
call fcn.4f9085ff
cmp dword [esi + 0xb8], edi
je case.default.0x4f9086d6
mov dword [esi + 0xb8], edi
mov ecx, esi
pop edi
pop esi
jmp fcn.4f904c7c
pop edi
pop esi
ret
Function at 0x4f90bab2
Capabilities:
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4f918454]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x114], eax
mov ebx, edx
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x110], eax
movzx eax, word [0x4f918810]
push edi
push eax
mov dword [ebp - 0x118], ecx
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x4f90bb67
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x4f90bb67
cmp dword [ebp + 0x18], 1
jne 0x4f90bb36
push esi
mov esi, 0x106
lea ecx, [ebp - 0x10c]
mov edx, esi
call fcn.4f903b61
push 0x4f9019a8
mov edx, esi
lea ecx, [ebp - 0x10c]
call fcn.4f903b94
lea esi, [ebp - 0x10c]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x118]
mov edx, str.Package
push 2
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x110]
push dword [ebp - 0x114]
push ebx
push 0
push esi
call fcn.4f924efd
jmp 0x4f90bb6a
push 0xb
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.4f915360
leave
ret 0x14

Function at 0x4f90c3ff
Capabilities:
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
push 3
mov edi, edx
and dword [esi], 0
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
je 0x4f90c439
push dword [ebp + 0x10]
mov edx, ebx
mov ecx, eax
push dword [ebp + 8]
push edi
push 0
call fcn.4f90c05c
mov dword [esi], eax
test eax, eax
je 0x4f90c439
xor eax, eax
jmp 0x4f90c43c
push 4
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4f90c443
Capabilities:
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push 0x10
mov esi, ecx
mov dword [ebp - 4], edx
push 2
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4f90c4a8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4f90c4a1
mov ecx, dword [ebp - 4]
add esi, 0x3c
push edi
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
test ecx, ecx
je 0x4f90c486
mov dword [eax + 0xc], ecx
jmp 0x4f90c48d
mov eax, dword [ebp - 8]
and dword [eax + 0x48], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 3
call dword [sym.imp.USER32.dll_SetClipboardData]
xor eax, eax
jmp 0x4f90c4ab
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 4
pop eax
pop esi
pop ebx
leave
ret
Function at 0x4f90c550
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4f918454]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x100
mov dword [ebp - 0x10c], eax
cmp dword [esi + 0x10], 2
je 0x4f90c62d
push eax
lea eax, [ebp - 0x104]
push eax
movzx eax, word [esi + 0x3a]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
test eax, eax
jne 0x4f90c59d
push 7
pop eax
jmp 0x4f90c62f
cmp byte [ebp - 0x103], 0x3a
jne 0x4f90c63e
mov al, byte [ebp - 0x104]
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push 1
push eax
mov word [ebp - 0x107], 0x3a
call dword [sym.imp.USER32.dll_CharUpperBuffA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x4f90c647
cmp eax, 4
jne 0x4f90c63e
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MPR.dll_WNetGetConnectionA]
test eax, eax
jne 0x4f90c647
mov al, byte [ebp - 0x108]
mov byte [esi + 0x5e], al
movzx eax, word [esi + 0x5c]
test ax, ax
je 0x4f90c61c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov word [esi + 0x5c], ax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.4f915360
leave
ret 4
mov ecx, esi
call fcn.4f90cb85
jmp 0x4f90c62d
push 0x1b
jmp 0x4f90c597

Function at 0x4f90c7a0
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4f918454]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 0x100
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10c], eax
cmp byte [edi], 0
jne 0x4f90c7e2
push eax
movzx eax, word [esi + 0x5c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
test eax, eax
je 0x4f90c84c
mov word [ebp - 0x107], 0x3a
jmp 0x4f90c845
inc eax
mov dword [ebx], eax
add al, 0x41
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
jne 0x4f90c845
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x100
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MPR.dll_WNetGetConnectionA]
test eax, eax
jne 0x4f90c845
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4f90c85f
mov eax, dword [ebx]
cmp eax, 0x1a
jl 0x4f90c7ed
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.4f915360
leave
ret 0xc
mov al, byte [ebp - 0x108]
mov ecx, esi
mov byte [esi + 0x5e], al
call fcn.4f90c871
jmp 0x4f90c84e
Function at 0x4f90c950
Capabilities:
Connect network resource

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x4f918454]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
sub eax, 0x110
je 0x4f90caaf
sub eax, 1
jne 0x4f90cad0
mov ecx, dword [ebp + 0x10]
mov ebx, str.NetName
movzx eax, cx
sub eax, 1
je 0x4f90c9d8
sub eax, 1
je 0x4f90ca8b
sub eax, 0x1f4
jne 0x4f90cad0
shr ecx, 0x10
mov eax, 0x200
cmp cx, ax
jne 0x4f90cad0
push ebx
push esi
call dword [sym.imp.USER32.dll_GetPropA]
push eax
push 0
push 0xc
push 0x1f6
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x4f90cad0
push 3
lea eax, [ebp - 0xe8]
push eax
push 0x1f4
push esi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x1f5
push esi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
push ebx
push esi
call dword [sym.imp.USER32.dll_GetPropA]
lea ecx, [ebp - 0xe8]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.MPR.dll_WNetAddConnectionA]
mov edi, eax
test edi, edi
jne 0x4f90ca3e
push ebx
push esi
call dword [sym.imp.USER32.dll_RemovePropA]
movsx eax, byte [ebp - 0xe8]
push eax
push esi
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
inc eax
jmp 0x4f90cad2
push 0x40
lea eax, [ebp - 0x64]
push eax
push 0x258
push dword [0x4f919038]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x80
lea eax, [ebp - 0xe4]
push eax
push 0x259
push dword [0x4f919038]
call dword [sym.imp.USER32.dll_LoadStringA]
push 5
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xe4]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x4f90ca97
push ebx
push esi
call dword [sym.imp.USER32.dll_RemovePropA]
push 0
jmp 0x4f90ca2f
cmp edi, 0x55
jne 0x4f90caa3
mov ecx, esi
call fcn.4f90cae3
push 0x4f918812
push 0x1f5
jmp 0x4f90cac9
push edi
push str.NetName
push esi
call dword [sym.imp.USER32.dll_SetPropA]
mov ecx, esi
call fcn.4f90cae3
push edi
push 0x1f6
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.4f915360
leave
ret 0x10
Function at 0x4f90d190
Capabilities:
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
sub esp, 0xc
call fcn.4f905832
test eax, eax
jne 0x4f90d1ac
push 0x12
pop eax
jmp 0x4f90d30b
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
push edi
call fcn.4f903b14
test eax, eax
je 0x4f90d306
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.4f903b14
test eax, eax
je 0x4f90d306
mov edi, dword [ebp + 0x18]
xor edx, edx
inc edx
mov ecx, edi
call fcn.4f903b14
test eax, eax
je 0x4f90d306
mov esi, dword [ebp + 0x14]
xor edx, edx
mov ecx, esi
call fcn.4f903b14
test eax, eax
je 0x4f90d306
cmp byte [esi], 0
jne 0x4f90d207
push 0x1d
jmp 0x4f90d308
and dword [edi], 0
push 0xffffffffffffffff
push 0x4f901718
push 0xffffffffffffffff
push dword [ebp + 8]
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringA]
cmp eax, 2
je 0x4f90d22c
push 0xf
jmp 0x4f90d308
movzx eax, word [0x4f918810]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4f90d258
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 1
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edi
push esi
call fcn.4f90bab2
jmp 0x4f90d309
movzx eax, word [0x4f9187f4]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [0x4f918814], eax
test eax, eax
je 0x4f90d302
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4f90d302
mov ecx, eax
call fcn.4f90b688
push dword [0x4f918814]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 0x20]
mov eax, dword [ebp - 4]
push dword [ebp + 0x1c]
push edi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x4f90d2ba
call sym.OLECLI32.dll_DefCreateLinkFromClip
mov ecx, eax
jmp 0x4f90d2f7
imul eax, eax, 0x2c
mov dword [ebp - 0xc], eax
mov ecx, dword [eax + 0x4f918b08]
mov esi, dword [eax + 0x4f918b14]
mov dword [ebp - 8], ecx
mov ecx, esi
call dword [0x4f91a334]
call esi
mov ecx, eax
cmp ecx, 1
jle 0x4f90d2ef
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
dec eax
mov dword [edx + 0x4f918b08], eax
jmp 0x4f90d2f7
mov eax, dword [edi]
mov edx, dword [ebp - 4]
mov dword [eax + 0x20], edx
and dword [0x4f918814], 0
mov eax, ecx
jmp 0x4f90d309
push 0xb
jmp 0x4f90d308
push 0x10
pop eax
pop edi
pop esi
leave
ret 0x1c
Function at 0x4f90fa22
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f918454]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4f90fab7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4f90fab7
push eax
mov edx, 0x100
lea ecx, [ebp - 0x104]
call fcn.4f903b61
test eax, eax
js 0x4f90fab0
push 0x4f9019f0
mov edx, 0x100
lea ecx, [ebp - 0x104]
call fcn.4f903b94
test eax, eax
js 0x4f90fab0
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x104]
call fcn.4f9136e7
test eax, eax
jne 0x4f90fab0
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test ebx, ebx
je 0x4f90fac1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.4f915360
leave
ret
Function at 0x4f912602
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x10]
test esi, esi
je 0x4f9127c6
mov ax, word [edi + 2]
xor ecx, ecx
mov word [ebp - 0x20], ax
add esi, 0xa
mov al, byte [edi + 4]
mov bh, cl
mov byte [ebp - 0x1e], al
xor eax, eax
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x18], ax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov byte [ebp - 1], bh
jmp 0x4f91266f
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push dword [ebp + 8]
call fcn.4f911e1a
test eax, eax
js 0x4f91274c
lea eax, [ebp - 0x20]
mov ecx, edi
je 0x4f912723
push dword [ebp - 8]
push eax
call fcn.4f912573
mov esi, eax
push dword [edi + 0x14]
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
lea ecx, [ebp - 0x20]
call fcn.4f911f6e
mov bl, al
test bl, bl
jne 0x4f912643
mov esi, dword [ebp - 8]
mov dword [edi + 0x14], esi
xor edx, edx
test bh, bh
jne 0x4f9126b4
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
and dword [ebp - 0x14], edx
mov word [ebp - 0x18], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], eax
call fcn.4f911e81
mov edx, eax
mov ax, word [edi + 6]
lea ecx, [ebp - 0x34]
and dword [ebp - 0x28], 0
mov word [ebp - 0x34], ax
mov al, byte [edi + 8]
mov byte [ebp - 0x32], al
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov word [ebp - 0x2c], ax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
call fcn.4f911e81
mov ebx, dword [edi + 0x18]
add eax, edx
mov dword [ebp - 0xc], eax
mov edx, ebx
mov eax, dword [edi + 0x14]
sub edx, eax
cmp eax, ebx
sbb ecx, ecx
and ecx, edx
mov edx, dword [ebp - 0xc]
cmp ecx, edx
jb 0x4f9127c6
sub ebx, edx
lea ecx, [edx + esi]
sub ebx, esi
sub eax, esi
je 0x4f91277d
test ecx, ecx
jne 0x4f91275c
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0x16
call fcn.4f9158af
jmp 0x4f91277d
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 8]
push eax
call fcn.4f912442
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
jne 0x4f912745
mov al, 1
jmp 0x4f9127c8
mov bh, 1
mov byte [ebp - 1], bh
jmp 0x4f91274f
mov dword [ebp - 8], esi
test bl, bl
jne 0x4f91268d
jmp 0x4f91268a
test esi, esi
je 0x4f912710
cmp ebx, eax
jae 0x4f912772
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0x22
jmp 0x4f91271c
push eax
push esi
push ecx
call sub.msvcrt.dll_memmove
add esp, 0xc
mov eax, dword [edi + 0x14]
add eax, dword [ebp - 0xc]
cmp byte [ebp - 1], 0
mov dword [edi + 0x14], eax
jne 0x4f91279b
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.4f911ea5
jmp 0x4f9127ae
cmp byte [ebp - 0x1e], 0
je 0x4f9127ae
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
inc eax
push eax
call fcn.4f911e41
push dword [edi + 0x14]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x34]
call fcn.4f911ea5
mov byte [edi + 0x20], 1
jmp 0x4f91273e
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x4f9155a0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4f9155de
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4f9155d6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4f9155e0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4f9155c6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4f9156b0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x4f9156e1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4f9156e1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x4f9156e1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4f91f437
Capabilities:
Encode data using xor

Disassembly:
call 0x4f91f3b0
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x4f91f3e0
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x4f91f3fc
xor edx, 0
jmp 0x4f91f407
xor edx, edx
jmp 0x4f91f41e
jmp 0x4f91f42a
xor eax, eax
push 0x8427d7c0
call 0x4f91f437
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x4f91f473
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x4f91f44c
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x4f91f48a
add eax, 0
jno 0x4f91f48f
add esi, 0
ret 0x10
Function at 0x4f9201f8
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x4f92021a
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x4f9203bc
cmp edi, dword [ebp + 0x10]
jb 0x4f9203bc
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.4f91fce4
inc edi
jmp 0x4f9202a3
jmp 0x4f9202b0
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.4f91fce4
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.4f91fce4
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x4f920304
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x4f9202e8
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.4f920332
add dword [eax], 0x39
jle 0x4f92030e
sub al, 0xf5
mov ch, al
call fcn.4f920347
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x4f92201f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x4f922035
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x4f922046
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.4f922087
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx