joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7bdcd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x254000]
push edi
or ebp, 0xffffffff
jmp 0x7bdcf2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7bdcf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7bdce8
mov eax, 1
add ebx, ebx
jne 0x7bdd0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7bdd1c
jne 0x7bdd3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7bdd3b
dec eax
add ebx, ebx
jne 0x7bdd28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7bdd00
add ebx, ebx
jne 0x7bdd37
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7bdd8d
xor ecx, ecx
sub eax, 3
jb 0x7bdd53
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7bddc2
sar eax, 1
mov ebp, eax
jmp 0x7bdd5e
add ebx, ebx
jne 0x7bdd5e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7bdd2c
inc ecx
add ebx, ebx
jne 0x7bdd6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7bdd2c
add ebx, ebx
jne 0x7bdd79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7bdd6e
jne 0x7bdd8a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7bdd6e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7bddac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7bdd9e
jmp 0x7bdcee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7bddac
add edi, ecx
jmp 0x7bdcee
pop esi
mov edi, esi
mov ecx, 0x1bba5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7bddca
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x7bddcf
lea edi, [esi + 0x3b9000]
mov eax, dword [edi]
or eax, eax
je 0x7bde40
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3c4568]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3c46f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7bddf5
mov ecx, edi
jns 0x7bde24
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 + 0x3c46f8]
or eax, eax
je 0x7bde3a
mov dword [ebx], eax
add ebx, 4
jmp 0x7bde12
call dword [esi + 0x3c46f4]
mov ebp, dword [esi + 0x3c46fc]
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 0x7bde74
sub esp, 0xffffff80
jmp 0x65335f
Function at 0x1120c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1120c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1120c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1120c06a
add dl, dl
jne 0x1120c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1120c0dc
xor eax, eax
add dl, dl
jne 0x1120c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1120c17d
add dl, dl
jne 0x1120c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1120c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1120c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1120c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1120c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1120c075
mov eax, 1
add dl, dl
jne 0x1120c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1120c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1120c0e1
sub eax, ebx
mov ebx, 1
jne 0x1120c128
mov ecx, 1
add dl, dl
jne 0x1120c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1120c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1120c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1120c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1120c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1120c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1120c136
cmp eax, 0x7d00
jae 0x1120c16d
cmp eax, 0x500
jb 0x1120c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1120c075
cmp eax, 0x7f
ja 0x1120c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1120c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1120c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1120c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x408eb0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40b51c
push eax
mov dword fs:[0], esp
sub esp, 0x128
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x60]
test eax, eax
je 0x40907d
lea ecx, [esp + 8]
call sub.MFC42.DLL_COleDispatchDriver::COleDispatchDriver_1
lea eax, [esp + 0x10]
mov dword [esp + 0x138], 0
push eax
call sub.MFC42.DLL_AfxVariantInit
mov eax, dword [esi + 0x44]
or edi, 0xffffffff
test eax, eax
mov byte [esp + 0x138], 1
mov word [esp + 0x10], 0xb
mov word [esp + 0x18], di
je 0x409062
lea edx, [esp + 0x20]
lea ecx, [esi + 4]
push edx
call fcn.00401780
mov ecx, dword [esi + 0x44]
lea edx, [esp + 0x28]
push ecx
push edx
mov ecx, eax
mov byte [esp + 0x140], 2
call fcn.00402360
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], 3
call sub.MFC42.DLL_COleDispatchDriver::operator
lea ecx, [esp + 0x28]
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 1
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
mov eax, dword [esp + 0x140]
test eax, eax
jne 0x409030
lea eax, [esp + 0x30]
push 0x100
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jle 0x408fd1
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea ecx, [esp + 0x30]
push str.Microsoft_Agent
push ecx
call esi
test eax, eax
jne 0x408fbd
lea edx, [esp + 0x10]
push edx
jmp 0x409067
lea eax, [esp + 0x30]
push str.Advanced_Character_Options
push eax
call esi
test eax, eax
je 0x409062
lea ecx, [esp + 8]
call fcn.00402b20
test eax, eax
jne 0x408ffa
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x10]
call fcn.00402a20
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 8]
mov dword [esp + 0x138], edi
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
xor eax, eax
mov ecx, dword [esp + 0x130]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x134
ret 4
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov esi, eax
test esi, esi
je 0x408ffa
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408ffa
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x408ffa
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 8]
mov dword [esp + 0x138], edi
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
mov eax, 1
jmp 0x409017
Function at 0xa2d1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00a2d140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00a2d140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00a2d140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00a2d140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xa2dbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xa2dc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xa3f87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xa2dc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xa2dc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x5dc7d6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x5dc874
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5dc874
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5dc874
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5dc874
mov ebx, dword [eax + 0x34]
mov dword [ebp - 0xc], ebx
mov ebx, dword [eax + 0x50]
mov dword [ebp - 8], ebx
push edi
push 4
push 0x2000
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x122d2bb2]
pop edi
test eax, eax
jne 0x5dc867
push edi
push 4
push 0x2000
push dword [ebp - 8]
push 0
call dword [edi + 0x122d2bb2]
pop edi
test eax, eax
je 0x5dc874
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x14], eax
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x5dc8f9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x14]
mov dword [ebp - 8], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5dc9a5
push ecx
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jae 0x5dc93a
mov ecx, edx
mov dword [ebp - 4], ecx
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
push ecx
push edi
push 4
push 0x1000
push dword [ebp - 4]
push eax
call dword [edi + 0x122d2bb2]
pop edi
pop ecx
test eax, eax
je 0x5dc998
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5dc978
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 0xc]
lea eax, [ebx + 0x10]
cmp dword [eax + 4], 0
je 0x5dc98d
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5dc921
pop ecx
mov dword [ebp - 0x10], 0
jmp 0x5dc9ac
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x5dcbc6
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5dcc40
push ecx
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x24]
push edx
call fcn.005dcb6b
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x122d1e41]
pop edi
test eax, eax
jne 0x5dcc36
pop ecx
jmp 0x5dcc47
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5dcbef
mov dword [ebp - 0x18], 1
popal
mov eax, dword [ebp - 0x18]
leave
ret 4
Function at 0x5dcded
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0x18], 0
jne 0x5dcf41
cmp dword [ebp + 0xc], 0
jne 0x5dcf41
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x5dce34
sub eax, dword [ebp + 0x10]
js 0x5dcf41
je 0x5dcf41
cmp eax, dword [ebp + 0x14]
jl 0x5dcf41
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5dcf41
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5dcf41
mov ebx, dword [eax + 0x50]
push edi
push 4
push 0x1000
push ebx
push 0
call dword [edi + 0x122d2bb2]
pop edi
test eax, eax
je 0x5dcf41
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
pop ebx
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124a11a4]
push eax
call fcn.005dbe55
pop edi
test eax, eax
je 0x5dcf41
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124a11a8]
push eax
call fcn.005dbe55
pop edi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x3c]
add eax, ebx
mov eax, dword [eax + 0x54]
mov dword [ebp - 0xc], eax
push edi
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi + 4]
rep movsb byte es:[edi], byte [esi]
pop edi
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5dcf34
push ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
test eax, eax
je 0x5dcf41
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5dcf21
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5dceef
push dword [ebp + 8]
call fcn.005ddce3
jmp 0x5dcf48
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
leave
ret 0x14
Function at 0x5dd2d3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5dd3c2
mov ecx, eax
mov ebx, dword [ecx + 0x3c]
add ecx, ebx
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x5dd3c2
mov dword [ebp - 4], ecx
mov ebx, eax
mov ecx, dword [ebx + 0x3c]
add ebx, ecx
mov ebx, dword [ebx + 0x78]
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 0xc]
test eax, 0xffff0000
je 0x5dd36e
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x5dd3c2
dec ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0xc]
push ecx
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
push edi
push dword [ebp + 0xc]
push eax
call dword [edi + 0x124a1304]
pop edi
pop ecx
test eax, eax
jne 0x5dd327
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0xc]
shl ecx, 1
add eax, ecx
movzx ecx, word [eax]
jmp 0x5dd374
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebx + 0x10]
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jge 0x5dd3c2
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x1c]
add edx, eax
shl ecx, 2
add edx, ecx
cmp dword [edx], 0
je 0x5dd3c2
mov ebx, dword [edx]
add eax, ebx
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 8]
jle 0x5dd3c2
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x5dd3c2
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.005dd21c
mov dword [ebp - 0x10], eax
popal
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x60760f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ebp]
jmp 0x7c50fe
lea esp, [esp + 8]
je 0x60a1fd
sar si, 3
bsf si, di
mov esi, dword [eax + 0x3c]
setl dl
btr dx, sp
btr dx, bx
bts edx, 0x15
add esi, eax
sbb dl, 0x71
push 0xfd7519a6
and dh, al
dec edx
mov edx, dword [esi + 0x78]
pushal
pushal
test dl, 0x8c
bt sp, cx
test edx, edx
jmp 0x7c564b
push 0xca608b79
clc
cmc
test eax, eax
jmp 0x60b5f8
push 0x333053ad
jmp 0x7c7d38
Function at 0x407010
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 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
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 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e001
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x1fdf1718
nop
nop
nop
nop
nop
test eax, eax
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x634a70c6
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x1107370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x110738e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x1130074
push ecx
mov edi, eax
call fcn.0111b198
mov esi, eax
add esp, 8
test esi, esi
jne 0x11073cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0111b02e
push esi
call fcn.0111afb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x110a850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x110a8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x1135720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x110a8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.0111b1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x110a8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x1135720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x110a92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.0111c082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x110a957
mov word [eax], si
add eax, 2
push eax
call fcn.0111c030
add esp, 4
jmp 0x110a959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x110a8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x110a8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x110aff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x110b080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x110b0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x1130458
push ecx
call fcn.0111b1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0111b1e1
add esp, 0x10
jmp 0x110b0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0111b20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.0111adff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0110b050
mov eax, dword [0x1135728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x110b13b
push esi
call fcn.0110afb0
add esp, 4
mov dword [0x1135728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x110b14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.0110aff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x110e440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x110e4b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x110e48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x110e471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x110e47e
add edx, ecx
cmp ebx, edx
jb 0x110e48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x110e467
xor ecx, ecx
jmp 0x110e4a2
test eax, eax
jne 0x110e492
xor ecx, ecx
jmp 0x110e4a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.0110e3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret