joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b5c1
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x505f4c
call fcn.004dead8
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x44b5e3
xor eax, eax
jmp 0x44b756
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor ebx, ebx
cmp ecx, ebx
je 0x44b611
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
lea edx, [ecx + edx*2]
cmp ecx, edx
jae 0x44b611
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 2]
mov dword [esi], ecx
mov word [eax], di
mov ax, di
jmp 0x44b756
cmp dword [esi + 0x54], ebx
je 0x44b751
mov ecx, esi
call fcn.0044a34d
cmp dword [esi + 0x44], ebx
jne 0x44b641
push dword [esi + 0x54]
push edi
call fcn.0044aa74
pop ecx
test al, al
pop ecx
movzx eax, di
jne 0x44b756
jmp 0x44b751
movzx eax, di
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0040573e
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x44b6fe
lea eax, [ebp - 0x2c]
mov edx, eax
add eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x34]
push ebx
push eax
push edx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2e]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x14]
xor ebx, ebx
inc ebx
test eax, eax
js 0x44b746
cmp eax, ebx
jg 0x44b706
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x44b6b0
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x44b6d5
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x44b6c3
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push ebx
push eax
call fcn.004e4aa7
add esp, 0x10
cmp edi, eax
jne 0x44b746
lea eax, [ebp - 0x30]
mov byte [esi + 0x4a], bl
cmp dword [ebp - 0x38], eax
jne 0x44b735
test edi, edi
jne 0x44b662
cmp dword [ebp - 0x1c], 0x20
push edi
lea ecx, [ebp - 0x2c]
jae 0x44b74b
push 8
call fcn.00402368
jmp 0x44b662
mov edx, dword [ebp - 0x2c]
jmp 0x44b674
cmp eax, 3
jne 0x44b746
push dword [esi + 0x54]
push dword [ebp - 0x30]
call fcn.0044aa74
movzx esi, word [ebp + 8]
pop ecx
pop ecx
test al, al
jne 0x44b725
mov esi, 0xffff
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040172d
mov ax, si
jmp 0x44b756
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040172d
mov ax, word [ebp + 8]
jmp 0x44b756
push 0
lea ecx, [ebp - 0x2c]
push ebx
call fcn.0040172d
mov eax, 0xffff
call fcn.004deb5b
ret 4
Function at 0x44ef43
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
lea eax, [ebp - 0x20]
push eax
xor esi, esi
push 0x44eefd
push esi
push esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
lea eax, [ebp - 0x10]
push eax
push 0x42b6af
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
sar eax, 2
cmp eax, esi
jbe 0x44efc9
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
sar ecx, 4
test ecx, ecx
je 0x44efc9
xor edi, edi
cmp eax, esi
jbe 0x44efc9
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
lea eax, [eax + edi*4]
push ecx
push dword [eax]
call fcn.0044eca7
pop ecx
pop ecx
test eax, eax
jne 0x44efc6
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
inc edi
sar eax, 2
cmp edi, eax
jb 0x44ef9f
jmp 0x44efc9
xor esi, esi
inc esi
lea ecx, [ebp - 0x10]
call fcn.0042245e
lea ecx, [ebp - 0x20]
call fcn.0042245e
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x44ff6f
Capabilities:
Acquire debug privileges

Disassembly:
push 0x2c
push 0x53bd48
call fcn.004e4560
xor esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], esi
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x30]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
je 0x44fff4
lea eax, [ebp - 0x3c]
push eax
push 0x519348
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp eax, esi
je 0x44fff4
xor edi, edi
inc edi
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 2
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp eax, esi
je 0x44fff4
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.0045000b
mov eax, dword [ebp - 0x34]
call fcn.004e45a8
ret
Function at 0x45118e
Capabilities:
Get common file path

Disassembly:
push 0x424
mov eax, 0x506c68
call fcn.004dead8
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov edi, 0x208
mov dword [ebp - 0x42c], ebx
push edi
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push ebx
push eax
mov dword [ebp - 0x430], esi
call fcn.004de430
xor eax, eax
push edi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.004de430
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
add esp, 0x18
mov word [esi], ax
lea eax, [ebp - 0x428]
push eax
push 0x104
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x451250
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0x5193c4
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x451250
lea eax, [ebp - 0x21c]
push eax
call fcn.004df380
pop ecx
push eax
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.00406caa
mov eax, esi
call fcn.004deb5b
ret

Function at 0x4513d7
Capabilities:
Check if file exists
Copy file

Disassembly:
push 0x5c
mov eax, 0x506cdc
call fcn.004dead8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x68], ecx
jb 0x4513f4
mov eax, dword [eax]
xor esi, esi
push esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004510bc
add esp, 0xc
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], esi
jae 0x451413
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x451426
push esi
push 1
jmp 0x4514b8
lea eax, [ebp - 0x48]
push eax
call fcn.0045118e
pop ecx
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1c], esi
je 0x4514ac
cmp dword [ebp - 0x38], esi
je 0x4514ac
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x45144c
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x451458
lea eax, [ebp - 0x2c]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4514ac
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x451471
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004513b7
pop ecx
pop ecx
mov ecx, dword [ebp - 0x68]
push eax
mov byte [ebp - 4], 2
call fcn.004026ae
push esi
push ebx
lea ecx, [ebp - 0x64]
call fcn.0040172d
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.00406991
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00406991
mov al, bl
jmp 0x4514c2
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.00406991
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00406991
xor al, al
call fcn.004deb5b
ret

Function at 0x451a22
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x160]
test eax, eax
je 0x451a60
push 0x32
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x451a4d
push 0
push dword [esi + 0x160]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x160]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x160], 0
pop esi
ret
Function at 0x4527c4
Capabilities:
Get http document via iwebbrowser2

Disassembly:
push 0x14
mov eax, 0x506ec2
call fcn.004dea6f
mov ebx, ecx
push dword [ebp + 8]
call fcn.00451a62
mov edi, eax
test edi, edi
jne 0x4528ba
push dword [ebx + 0x74]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x10], eax
call fcn.0042d4c0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x45280f
mov edi, 0x80004005
jmp 0x4528ba
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
and dword [ebp - 4], 0
lea esi, [ebx + 0x88]
push esi
push 0x524fe8
lea ecx, [ebp - 0x10]
call fcn.0042496f
mov edi, eax
test edi, edi
jne 0x4528b0
mov edi, dword [esi]
cmp dword [ebp + 8], eax
jne 0x4528c4
and dword [ebp + 8], eax
mov eax, dword [edi]
lea ecx, [ebp - 0x20]
push ecx
push ecx
push ecx
push ecx
push dword [ebp + 8]
mov byte [ebp - 4], 1
push edi
call dword [eax + 0x2c]
push dword [ebp + 8]
mov edi, eax
mov byte [ebp - 4], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jne 0x4528b0
cmp dword [ebp + 0xc], edi
je 0x4528b0
and dword [ebp + 8], edi
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x48]
mov edi, eax
mov eax, dword [ebp + 8]
test edi, edi
jne 0x4528a2
test eax, eax
je 0x4528a4
push eax
lea ecx, [ebx + 0x80]
call fcn.004250ac
mov edi, eax
mov eax, dword [ebp + 8]
test eax, eax
mov byte [ebp - 4], 0
je 0x4528b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, edi
call fcn.004deb47
ret 8
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp + 8], eax
test eax, eax
jne 0x452845
push 0x8007000e
call fcn.00409872
int3
Function at 0x452ff5
Capabilities:
Create process on windows

Disassembly:
push 0x28
mov eax, 0x506fcf
call fcn.004dea6f
mov dword [ebp - 0x14], ecx
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0042bc5d
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0042eae4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00422d08
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push str.CMinisiteWebPageDlg::OnNavigate_newNeedNavigate:__s
mov edi, str.CMinisiteWebPageDlg::OnNavigate
push edi
push 0x1e
mov esi, str.D:_fun_pow_4_20190808Coding_supportminisiteminisiteminisitewebpagedlg.cpp
or eax, 0xffffffff
push esi
push 4
mov byte [ebp - 4], 2
mov word [ecx], ax
call fcn.004081cf
mov ecx, dword [ebp - 0x14]
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
add ecx, 0xffffff70
push str.newNeedNavigate
mov dword [ebp - 0x14], ecx
call fcn.0042fcaa
cmp eax, ebx
je 0x4530c4
push dword [ebp + 8]
push str.CMinisiteWebPageDlg::OnNavigate_needNavigate:__s
push edi
push 0x22
push esi
push 4
call fcn.004081cf
mov ecx, dword [ebp - 0x14]
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
push str.needNavigate
call fcn.0042fcaa
cmp eax, ebx
jne 0x4531a6
cmp word [ebp - 0x24], 0xb
jne 0x4531a6
movsx eax, word [ebp - 0x1c]
push eax
push str.CMinisiteWebPageDlg::OnNavigate_vresult:__d
push edi
push 0x2a
push esi
push 4
call fcn.004081cf
add esp, 0x18
cmp word [ebp - 0x1c], 0xffff
jne 0x4531a6
push dword [ebp + 8]
push str.OnNavigate:_s
push edi
push 0x2f
push esi
push 4
call fcn.004081cf
mov ecx, dword [ebp + 0xc]
or eax, 0xffffffff
add esp, 0x18
mov word [ecx], ax
call fcn.0045f507
mov ecx, eax
call fcn.0045fc8d
push 1
push ebx
push ebx
push dword [ebp + 8]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp + 0xc], eax
call fcn.0045f507
mov ecx, eax
call fcn.0045fc13
push dword [ebp + 8]
push dword [ebp + 0xc]
push str.CMinisiteWebPageDlg::OnNavigate_nret_d__url_s
push edi
push 0x37
push esi
push 4
call fcn.004081cf
add esp, 0x1c
cmp dword [ebp + 0xc], 0x20
jg 0x4531a6
call fcn.0045f507
mov ecx, eax
call fcn.0045fc8d
push 1
push ebx
push dword [ebp + 8]
push str.iexplore.exe
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, eax
call fcn.0045f507
mov ecx, eax
call fcn.0045fc13
push dword [ebp + 8]
push ebx
push str.CMinisiteWebPageDlg::OnNavigate_iexplore_nret_d__url_s
push edi
push 0x3e
push esi
push 4
call fcn.004081cf
add esp, 0x1c
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x34]
call fcn.0042d67b
xor eax, eax
call fcn.004deb47
ret 8
Function at 0x455735
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x160], edi
je 0x455750
call fcn.00451a22
cmp dword [esi + 0x160], edi
jne 0x455766
push edi
push edi
push edi
push 0x453f6c
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x160], eax
pop edi
pop esi
ret

Function at 0x456156
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4561bf
cmp dword [ebp + 0x10], 1
je 0x456197
cmp dword [ebp + 0x10], 2
je 0x456197
push 0xd
pop eax
jmp 0x4561bf
mov eax, dword [ebp - 4]
test edi, edi
je 0x4561b9
test eax, eax
je 0x4561b4
test al, 1
jne 0x456192
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x4561b9
jmp 0x456192
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x459e19
Capabilities:
Set registry value

Disassembly:
push 0x22c
mov eax, 0x507a30
call fcn.004dead8
lea eax, [ebp - 0x228]
push eax
call fcn.00459d10
xor edi, edi
push edi
push 0x2e
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], edi
call fcn.00435a77
mov esi, eax
cmp esi, 0xffffffff
je 0x45a039
xor eax, eax
push 0x208
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.004de430
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x224], eax
push esi
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x228]
call fcn.004368aa
push dword [ebp - 0x238]
call fcn.004e279e
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
pop ecx
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
cmp ebx, 7
jb 0x459f25
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x234]
call fcn.0040a094
test eax, eax
jne 0x459f25
imul ebx, ebx, 0x3e8
cmp ebx, 0x2710
jbe 0x459f05
mov ebx, 0x2711
push 4
lea eax, [ebp - 0x220]
push eax
push 4
push edi
push dword [ebp - 0x224]
mov dword [ebp - 0x220], ebx
push dword [ebp - 0x234]
call esi
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_SCRIPTURL_MITIGATION
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x234]
call fcn.0040a094
xor ebx, ebx
inc ebx
test eax, eax
jne 0x459f66
push 4
lea eax, [ebp - 0x220]
push eax
push 4
push edi
push dword [ebp - 0x224]
mov dword [ebp - 0x220], ebx
push dword [ebp - 0x234]
call esi
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_VIEWLINKEDWEBOC_IS_UNSAFE
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x234]
call fcn.0040a094
test eax, eax
jne 0x459fa4
push 4
lea eax, [ebp - 0x220]
push eax
push 4
push edi
push dword [ebp - 0x224]
mov dword [ebp - 0x220], ebx
push dword [ebp - 0x234]
call esi
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_GPU_RENDERING
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x234]
call fcn.0040a094
test eax, eax
jne 0x459fe2
push 4
lea eax, [ebp - 0x220]
push eax
push 4
push edi
push dword [ebp - 0x224]
mov dword [ebp - 0x220], ebx
push dword [ebp - 0x234]
call esi
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_SHOW_APP_PROTOCOL_WARN_DIALOG
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x234]
call fcn.0040a094
test eax, eax
jne 0x45a020
push 4
lea eax, [ebp - 0x220]
push eax
push 4
push edi
push dword [ebp - 0x224]
mov dword [ebp - 0x220], ebx
push dword [ebp - 0x234]
call esi
lea ecx, [ebp - 0x234]
call fcn.0040a011
mov ecx, dword [ebp - 0x238]
add ecx, 0xfffffff0
call fcn.00422d08
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00422d08
call fcn.004deb5b
ret
Function at 0x45bce2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push dword [ebp + 0xc]
mov esi, dword [0x54c17c]
push dword [ebp + 8]
mov byte [ebp - 1], 0
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x45bd0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x45bd77
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 8], eax
test eax, eax
je 0x45bd0b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x45bd6b
cmp dword [ebp + 0x10], 0
jne 0x45bd45
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov byte [ebp - 1], 1
jmp 0x45bd6b
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [eax]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp edi, eax
jl 0x45bd6a
push edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.004ddd50
add esp, 0xc
mov byte [ebp - 1], 1
pop edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret 0x10

Function at 0x45d8e3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0xa2], bl
je 0x45d985
cmp dword [ebp + 8], ebx
je 0x45d942
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
mov byte [esi + 0xa1], 1
mov dword [ebp - 4], ebx
mov dword [ebp + 8], ebx
call fcn.0045d40b
push 5
push dword [esi + 0x70]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x15
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
push ebx
push dword [esi + 0x70]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_BringWindowToTop]
jmp 0x45d952
push ebx
push dword [esi + 0x70]
mov byte [esi + 0xa1], bl
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0xa2], bl
je 0x45d985
cmp dword [esi + 0x78], ebx
jne 0x45d985
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push esi
push 0x45d8ca
push ebx
push ebx
mov dword [esi + 0x78], eax
call fcn.004e4be6
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
leave
ret 4

Function at 0x45dfd7
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x53d4e0
call fcn.004e6730
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov edx, dword [ebp - 0x30]
cmp word [edx], ax
jne 0x45e03f
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x45e03f
mov ecx, dword [eax + 0xd8]
lea esi, [ecx + edx]
cmp dword [ebp + 0xc], esi
jb 0x45e03f
mov eax, dword [eax + 0xdc]
add eax, ecx
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x45e03f
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x45e048
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.004e6775
ret
Function at 0x45e144
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x549538]
jmp 0x45e166
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
test esi, esi
jne 0x45e151
pop esi
leave
ret

Function at 0x45e1db
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
push dword [ebp + 8]
call fcn.0045e1c1
mov edi, eax
pop ecx
cmp edi, dword [ebp + 0xc]
jae 0x45e263
mov esi, 0x10000
lea eax, [edi - 0x50000000]
cmp eax, 0x30000000
ja 0x45e20c
mov edi, 0x80010000
jmp 0x45e25e
push 0x1c
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.004de430
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x45e263
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc], esi
jne 0x45e250
cmp eax, esi
jb 0x45e250
push 0x40
push 0x3000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x45e265
add edi, esi
jmp 0x45e25e
mov ecx, dword [ebp - 0x1c]
add ecx, eax
push ecx
call fcn.0045e1c1
pop ecx
mov edi, eax
cmp edi, dword [ebp + 0xc]
jb 0x45e1f8
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x45e269
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
add eax, 0xffff0000
push edi
push eax
call fcn.0045e1ae
mov edi, eax
add esp, 4
cmp edi, dword [ebp + 8]
jbe 0x45e2f9
mov esi, 0x10000
lea eax, [edi - 0x50000000]
cmp eax, 0x30000000
ja 0x45e29f
mov edi, 0x4fff0000
jmp 0x45e2f4
push 0x1c
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.004de430
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x45e2f9
cmp dword [ebp - 0xc], esi
jne 0x45e2e1
cmp dword [ebp - 0x10], esi
jb 0x45e2e1
push 0x40
push 0x3000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x45e2fb
sub edi, esi
jmp 0x45e2f4
mov eax, dword [ebp - 0x18]
add eax, 0xffff0000
push eax
call fcn.0045e1ae
add esp, 4
mov edi, eax
cmp edi, dword [ebp + 8]
ja 0x45e28b
xor eax, eax
pop edi
pop esi
leave
ret