joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425af0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4d2580
push 0x465880
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4d9694]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edx, dword [ebp + 8]
test edx, edx
jne 0x425b35
push edx
call sub.KERNEL32.dll_GetModuleHandleW
mov edx, eax
mov dword [ebp + 8], edx
mov dword [ebp - 4], 0
mov eax, 0x5a4d
cmp word [edx], ax
je 0x425b50
push 0xc1
jmp 0x425ca7
mov eax, dword [edx + 0x3c]
cmp dword [eax + edx], 0x4550
je 0x425b66
push 0xbf
jmp 0x425ca7
cmp word [eax + edx + 0x14], 0
je 0x425ca2
mov eax, dword [eax + edx + 0x80]
test eax, eax
je 0x425b82
lea ebx, [eax + edx]
jmp 0x425b84
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x425ca2
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebx]
test ecx, ecx
je 0x425c54
mov esi, dword [ebx + 0xc]
lea eax, [edx + esi]
neg esi
sbb esi, esi
and esi, eax
je 0x425ca2
lea eax, [edx + ecx]
mov dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x10]
lea eax, [edx + ecx]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x24], ecx
push dword [ecx]
call fcn.00426330
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x425bdd
push esi
push eax
mov esi, dword [ebp + 0xc]
push esi
call ecx
test eax, eax
je 0x425c57
xor esi, esi
mov dword [ebp - 0x28], esi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x425c46
nop dword [eax]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x425c37
xor ecx, ecx
mov dword [ebp - 0x20], ecx
xor edx, edx
test eax, eax
jns 0x425c0a
movzx ecx, ax
mov dword [ebp - 0x20], ecx
jmp 0x425c18
add eax, 2
je 0x425c16
mov edx, dword [ebp + 8]
add edx, eax
jmp 0x425c18
xor edx, edx
test edi, edi
je 0x425c2e
mov eax, dword [ebp - 0x24]
lea eax, [eax + esi*4]
push eax
push edx
push ecx
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x425c37
inc esi
mov dword [ebp - 0x28], esi
mov eax, dword [ebp + 0x14]
jmp 0x425bf0
test edi, edi
je 0x425c46
push 0
push 0
push 0
push dword [ebp + 0xc]
call edi
add ebx, 0x14
mov dword [ebp - 0x1c], ebx
mov edx, dword [ebp + 8]
jmp 0x425b92
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x425c65
push 0
push 0
push esi
call eax
push 0
call sub.KERNEL32.dll_SetLastError
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0xc0
call sub.KERNEL32.dll_SetLastError
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x425cd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4d2500
push 0x465880
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4d9694]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
add esi, 0x10000
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov edi, 0x5a4d
push 0x1c
lea eax, [ebp - 0x34]
push eax
push esi
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x425d48
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x24], 0x1000
jne 0x425ddf
cmp byte [ebp - 0x20], 1
je 0x425ddf
test dword [ebp - 0x20], 0x100
jne 0x425ddf
mov dword [ebp - 4], 0
cmp word [esi], di
jne 0x425d8a
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebp - 0x28]
ja 0x425d8a
cmp eax, 0x40
jb 0x425d8a
cmp dword [eax + esi], 0x4550
je 0x425d99
mov dword [ebp - 4], 0xfffffffe
mov esi, dword [ebp - 0x28]
add esi, dword [ebp - 0x34]
jmp 0x425d24
push 0
call sub.KERNEL32.dll_SetLastError
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x28]
add esi, dword [ebp - 0x34]
jmp 0x425d24
Function at 0x426d80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4d9694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x210], eax
call fcn.00405d20
mov ecx, eax
test ecx, ecx
je 0x426f55
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
push esi
call fcn.00449901
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x426e07
push esi
push 0
push ebx
call fcn.00464ad0
add esp, 0xc
jmp 0x426e09
xor ebx, ebx
push ebx
push esi
push 0
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x426f33
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x426f33
call fcn.00405d20
mov ecx, eax
test ecx, ecx
je 0x426f5f
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [ebp - 0x210]
add eax, 0x10
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x21c]
push str.StringFileInfo_04x_04x_
movzx edi, word [eax + 2]
movzx esi, word [eax]
lea eax, [ebp - 0x210]
push eax
call fcn.00426a80
push edi
push esi
push dword [eax]
lea eax, [ebp - 0x214]
push eax
call fcn.00405b90
mov edx, dword [ebp - 0x210]
add esp, 0x1c
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x426eb4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x214]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
push esi
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x426f15
mov edx, dword [ebp - 0x224]
test edx, edx
jne 0x426ef0
mov edi, dword [ebp - 0x218]
xor ecx, ecx
push ecx
push edx
mov ecx, edi
call fcn.00406f70
jmp 0x426f1b
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426ef5
sub ecx, edi
mov edi, dword [ebp - 0x218]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00406f70
jmp 0x426f1b
mov edi, dword [ebp - 0x218]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x426f33
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x426f40
push ebx
call fcn.0044990a
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448f14
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.004059f0
push 0x80004005
call fcn.004059f0
int3

Function at 0x426f70
Capabilities:
Create process on windows

Disassembly:
push 0xa
push 0
push 0
push str.https:__www.sysinternals.com
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret 0xc
Function at 0x42a290
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d9694]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.Sysinternals
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c6d0
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.WinObj.ini
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c6d0
call fcn.00405d20
mov ecx, eax
test ecx, ecx
je 0x42a33f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov ecx, esi
mov dword [esi], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00429500
test al, al
jne 0x42a32c
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00428bd0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00448f14
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004059f0
int3
Function at 0x42c1d0
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, eax
xor edx, edx
mov eax, 4
test esi, esi
cmove edx, eax
push edx
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
lea ecx, [edi + 0x40]
test esi, esi
push 0
sete al
push eax
push 0xe801
call fcn.0042ce00
push 1
mov ecx, edi
call fcn.0042d170
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x432110
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0
mov ebx, ecx
push 0
push 0x102f
push dword [ebx + 0x50]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x4bd6d0
push 0x3f0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0xc], eax
call fcn.00405d20
mov ecx, eax
test ecx, ecx
je 0x4322aa
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0x3ea
push dword [ebx + 4]
lea esi, [eax + 0x10]
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
test eax, eax
je 0x4321ed
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x4322b4
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or ecx, eax
jge 0x4321b5
push edi
lea ecx, [ebp - 4]
call fcn.00406440
mov esi, dword [ebp - 4]
push edi
push esi
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x4321d1
push dword [esi - 8]
push esi
call fcn.0048cf3b
add esp, 8
test eax, eax
js 0x4322b4
cmp eax, dword [esi - 8]
jg 0x4322b4
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
jmp 0x4321f8
lea ecx, [ebp - 4]
call fcn.0042a1a0
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0042f740
mov esi, eax
lea edi, [ebx + 0x58]
add esp, 8
cmp edi, esi
je 0x432239
mov ecx, edi
call fcn.004322c0
mov ecx, dword [esi]
mov dword [edi], ecx
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x18]
call fcn.004322c0
mov esi, dword [edi + 4]
sub esi, dword [edi]
push 0
sar esi, 4
push esi
push 0x102f
push dword [ebx + 0x50]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
lea eax, [ebp - 4]
push str.Objects:__d
push eax
call fcn.00405b90
mov esi, dword [ebp - 4]
add esp, 0xc
push esi
push 0x3f0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x432296
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004059f0
push 0x80070057
call fcn.004059f0
int3
Function at 0x432450
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4d9694]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x2c]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push eax
push 0x400
push ebx
push 0
push 0x1100
mov dword [ebp - 0x28], edi
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
call fcn.00405d20
mov ecx, eax
test ecx, ecx
je 0x432627
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [ebp - 0x2c]
add eax, 0x10
push esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push str._s:__s
push eax
call fcn.00405b90
mov esi, dword [ebp - 0x1c]
add esp, 0x10
cmp ebx, 5
je 0x4324cd
cmp ebx, 0x2e4
jne 0x43260b
lea eax, [ebp - 0x24]
mov dword [ebp - 0xc], 0
push eax
push 8
mov word [ebp - 8], 0x500
mov dword [ebp - 0x20], 0
mov byte [ebp - 0xd], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 2
push dword [ebp - 0x24]
call edi
push dword [ebp - 0x18]
call fcn.004710c9
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x18]
push eax
push 2
push dword [ebp - 0x24]
call edi
test eax, eax
mov eax, dword [ebp - 0x14]
je 0x43259a
xor ebx, ebx
cmp ebx, dword [eax]
jae 0x432593
mov esi, eax
lea edi, [esi + 8]
nop
push dword [edi - 4]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x432583
mov eax, dword [edi]
test eax, 0xffffffef
setne cl
test al, 4
setne al
test al, cl
jne 0x43258b
inc ebx
add edi, 8
cmp ebx, dword [esi]
jb 0x432560
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
cmp ebx, dword [eax]
mov ebx, dword [ebp + 0x10]
setne byte [ebp - 0xd]
push eax
call fcn.004710ae
add esp, 4
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0xd], 0
jne 0x432608
push 0x10
push ecx
mov eax, esp
push ecx
mov dword [eax], 0x81
mov eax, esp
push dword [ebp - 0x28]
mov dword [eax], esi
call fcn.00432330
add esp, 0x10
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4325f7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448f14
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x28]
push 0x10
push ecx
mov eax, esp
push ecx
mov dword [eax], 0x81
mov eax, esp
push edi
cmp ebx, 6
jne 0x4325cc
mov dword [eax], str.This_object_type_cannot_be_opened
jmp 0x4325ce
push 0x80004005
call fcn.004059f0
int3
Function at 0x4327b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d9694]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xa
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
cmp eax, 0x1f
setg al
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret

Function at 0x4351b0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d9694]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 5
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x20c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret
Function at 0x445c40
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4d9694]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x214], 0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x218]
push edi
push edx
mov edi, dword [eax + 4]
or edi, 0x2001f
mov dword [ebp - 0x220], eax
push edi
push 0
push ecx
push dword [eax]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x445d9b
mov eax, dword [ebp - 0x214]
xor esi, esi
test eax, eax
je 0x445ccc
push eax
call ebx
mov esi, eax
mov eax, dword [ebp - 0x218]
and edi, 0x300
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], edi
test esi, esi
jne 0x445d9b
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x228]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x208], 0x100
push ecx
lea ecx, [ebp - 0x204]
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x445d67
nop dword [eax]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.00445c40
mov esi, eax
test esi, esi
jne 0x445d9b
lea eax, [ebp - 0x228]
mov dword [ebp - 0x208], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
call edi
test eax, eax
je 0x445d20
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x445d7e
push eax
call ebx
mov dword [ebp - 0x214], 0
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x210], 0
call fcn.0043c5b0
mov esi, eax
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x445da8
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448f14
mov esp, ebp
pop ebp
ret 4
Function at 0x446400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x4d9694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x60
push 0
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x408], 0
call ebx
mov edi, eax
test edi, edi
jne 0x446470
push 2
push eax
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x446470
call fcn.0043c2e0
mov esi, eax
jmp 0x44655c
push dword [ebp - 0x40c]
push dword [ebp - 0x410]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x446493
call fcn.0043c2e0
jmp 0x44654f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x4464ab
call fcn.0043c2e0
jmp 0x44654f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x4464c6
mov esi, 0x8007000e
jmp 0x446551
mov ecx, 2
mul ecx
test edx, edx
ja 0x44658a
jb 0x4464e0
cmp eax, 0xffffffff
ja 0x44658a
cmp eax, 0x400
jbe 0x446503
push eax
lea ecx, [ebp - 0x408]
call fcn.0043c1d0
cmp dword [ebp - 0x408], 0
jne 0x44650f
mov esi, 0x8007000e
jmp 0x446551
lea eax, [ebp - 0x404]
mov dword [ebp - 0x408], eax
push esi
push dword [ebp - 0x408]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x44652f
call fcn.0043c2e0
jmp 0x44654f
mov eax, dword [ebp - 0x408]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x418]
push dword [ebp - 0x408]
call fcn.00446260
mov esi, eax
test edi, edi
je 0x44655c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x446575
lea ecx, [ebp - 0x408]
call fcn.0043ed80
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.004059f0
int3
Function at 0x49f126
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049eae4

Function at 0x49fa92
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049f966
Function at 0x105dae70
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x105db05d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x35c000]
push edi
or ebp, 0xffffffff
jmp 0x105dae9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x105daea1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105dae90
mov eax, 1
add ebx, ebx
jne 0x105daeb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x105daec4
jne 0x105daee3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105daee3
dec eax
add ebx, ebx
jne 0x105daed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x105daea8
add ebx, ebx
jne 0x105daedf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x105daf35
xor ecx, ecx
sub eax, 3
jb 0x105daefb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x105daf6a
sar eax, 1
mov ebp, eax
jmp 0x105daf06
add ebx, ebx
jne 0x105daf06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105daed4
inc ecx
add ebx, ebx
jne 0x105daf14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105daed4
add ebx, ebx
jne 0x105daf21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x105daf16
jne 0x105daf32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x105daf16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x105daf54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x105daf46
jmp 0x105dae96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x105daf54
add edi, ecx
jmp 0x105dae96
pop esi
mov edi, esi
mov ecx, 0x6b92
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x105daf72
cmp byte [edi], 0x22
jne 0x105daf72
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 0x105daf77
lea edi, [esi + 0x5cf000]
mov eax, dword [edi]
or eax, eax
je 0x105dafef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5e83e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5e8518]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x105dafa4
mov ecx, edi
jns 0x105dafd3
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 + 0x5e851c]
or eax, eax
je 0x105dafe9
mov dword [ebx], eax
add ebx, 4
jmp 0x105dafc1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x105db020
cmp al, 0xef
ja 0x105db013
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x105daff5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x105db002
mov ebp, dword [esi + 0x5e8520]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x105db054
sub esp, 0xffffff80
jmp 0x100fc672