joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e301
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x48de14]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x40], bl
je 0x44e371
cmp dword [esi + 0x38], ebx
je 0x44e371
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea edi, [eax + 1]
mov eax, edi
call fcn.0046c1d0
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x44e371
push edi
push dword [ebp - 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esi + 0x38]
push dword [ebp - 8]
add ecx, 0x13c
call fcn.00439723
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0043d439
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046bbe4
leave
ret 0x10

Function at 0x4507ba
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x4507f9
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x4507ee
mov eax, 0x103
cmp dword [ebp - 4], eax
jne 0x4507ee
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi], 0
mov eax, dword [ebp - 4]
pop esi
leave
ret

Function at 0x4507ff
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi], esi
jne 0x450814
xor eax, eax
jmp 0x45085e
push ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 8], eax
cmp dword [edi], esi
je 0x45085b
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
cmp dword [ebp + 0xc], 0xffffffff
je 0x45083c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x45085b
push 0xff
push dword [ebp + 0xc]
push esi
push edi
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 1
je 0x45089b
cmp eax, esi
je 0x4508c9
cmp dword [edi], esi
jne 0x450828
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret
mov eax, dword [ebp - 0x18]
cmp eax, 0x12
je 0x4508b0
cmp dword [ebp + 0x10], esi
je 0x45088b
cmp eax, 0x200
jb 0x45087d
cmp eax, 0x209
jbe 0x45089b
cmp eax, 0x100
jb 0x45088b
cmp eax, 0x108
jbe 0x45089b
lea eax, [ebp - 0x1c]
push eax
call ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x450862
jmp 0x450857
push edi
call fcn.004507ba
pop ecx
lea eax, [ebp - 0x1c]
push eax
call ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x45085b
push edi
call fcn.004507ba
pop ecx
jmp 0x45085d
Function at 0x452fcc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x452fda
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x453095
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47d258]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47d258]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47d258]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47d258]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47d258]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47d258]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47d258]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47d258]
add edx, 8
sub edi, 8
dec esi
jne 0x452ff8
pop ebx
test edi, edi
je 0x4530ae
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x47d258]
inc edx
dec edi
jne 0x453099
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x453505
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x453539
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x453534
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x453561
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x45354a
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x45437e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x48de14]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x454412
mov al, byte [esi]
test al, al
je 0x454412
push edi
mov edi, esi
mov ecx, esi
cmp al, 0x2f
je 0x4543b0
cmp al, 0x5c
jne 0x4543b2
mov edi, ecx
inc ecx
mov al, byte [ecx]
test al, al
jne 0x4543a8
cmp edi, esi
je 0x4543e5
sub edi, esi
push edi
lea eax, [ebp - 0x108]
push esi
push eax
call sub.MSVCR100.dll__mbsnbcpy
lea eax, [ebp - 0x108]
push eax
push ebx
mov byte [ebp + edi - 0x108], 0
call fcn.0045437e
add esp, 0x14
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.MSVCR100.dll_strcpy
lea eax, [ebp - 0x20c]
push esi
push eax
call sub.MSVCR100.dll_strcat
add esp, 0x10
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046bbe4
leave
ret
Function at 0x455895
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x455910
cmp dword [esi + 4], 0xffffffff
jne 0x455910
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x47d854
push edi
call sub.MSVCR100.dll_strcat
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x4558e2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4558e2
mov eax, 0x2000000
jmp 0x455915
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00453312
add esp, 0x10
test eax, eax
jne 0x455900
mov eax, dword [ebp + 0x10]
jmp 0x455915
push eax
call fcn.00455484
mov dword [esi], eax
mov eax, dword [0x48e7fc]
pop ecx
jmp 0x455915
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x456940
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x378], ebx
je 0x4569a7
cmp dword [ebp + 8], 0x100
jne 0x456996
cmp byte [ebp + 0xc], 0xd
jne 0x456996
cmp byte [esi + 0x37e], bl
je 0x45697d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x456996
cmp byte [esi + 0x37f], bl
jne 0x456996
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x456992
push ebx
push ebx
push ebx
push str.return
push esi
call fcn.0043d439
xor eax, eax
jmp 0x4569aa
mov eax, dword [esi + 0x378]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x46bbe4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48de14]
jne 0x46bbee
repz ret
jmp fcn.0046c43a
Function at 0xa95108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00a95258
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 0xa9512e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa9511a
add dl, dl
jne 0xa95139
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa9518c
xor eax, eax
add dl, dl
jne 0xa95146
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa9522d
add dl, dl
jne 0xa95155
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa95160
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa9516b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa95176
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa95182
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa95125
mov eax, 1
add dl, dl
jne 0xa9519a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa951a5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa95191
sub eax, ebx
mov ebx, 1
jne 0xa951d8
mov ecx, 1
add dl, dl
jne 0xa951be
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa951c9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa951b5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa95125
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa951ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa951fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa951e6
cmp eax, 0x7d00
jae 0xa9521d
cmp eax, 0x500
jb 0xa95218
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa95125
cmp eax, 0x7f
ja 0xa95220
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa95125
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa9524e
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 0xa95125
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x404240
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x404261
xor eax, eax
jmp 0x4043aa
push str.FindResourceW
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46bf40], eax
push 0x457a88
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46bf44], eax
push 0x457a78
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46bf48], eax
push 0x457a68
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46bf4c], eax
push 0x457a5c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46bf54], eax
push 0x457a50
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46bf58], eax
push 0x457a44
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46bf50], eax
mov ecx, dword [ebp + 0x10]
push ecx
movzx edx, word [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x46bf40]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x404310
xor eax, eax
jmp 0x4043aa
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x46bf44]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x46bf48]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40433c
xor eax, eax
jmp 0x4043aa
mov edx, dword [ebp - 0xc]
push edx
call dword [0x46bf4c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x404353
xor eax, eax
jmp 0x4043aa
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 0x14]
push eax
call dword [0x46bf54]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x40437b
cmp dword [ebp - 0x10], 0
jne 0x40437f
xor eax, eax
jmp 0x4043aa
push 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x46bf58]
mov edx, dword [ebp - 0x10]
push edx
call dword [0x46bf50]
xor eax, eax
cmp eax, dword [ebp - 0x1c]
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40aa20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453a98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x46a850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
call fcn.00426a77
push 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.004290ad
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40aafa
lea ecx, [ebp - 0x14]
call fcn.00406890
mov dword [ebp - 4], 0
push 0x65
call fcn.004265ef
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40aa93
jmp 0x40aaa1
push 0x65
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040eee0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x28], ecx
xor edx, edx
cmp dword [ebp - 0x28], 0
sete dl
movzx eax, dl
test eax, eax
jne 0x40aaeb
push 0
push 0
push 0x800
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x10
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004077e0
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x168]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
push 1
push 0x80
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x168]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
push 0
push 0x80
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffec
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x74], 1
mov ecx, dword [0x469198]
push ecx
mov edx, dword [0x469194]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.0040ae00
cmp dword [0x46e1d4], 2
jne 0x40aba8
mov eax, dword [0x46e1d8]
mov ecx, dword [eax + 4]
push ecx
call fcn.0043ecc8
add esp, 4
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x78], eax
jmp 0x40abb2
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x78], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x7c], 0
mov ecx, dword [ebp - 0x3c]
call fcn.0040aed0
push 0
push 0x64
push 1
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
push 0x40a8d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x98], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40cc20
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x98], 0
je 0x40cc45
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 4]
call fcn.0042672f
mov esp, ebp
pop ebp
ret
Function at 0x410f90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454348
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x46a850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
call fcn.00406890
mov dword [ebp - 4], 0
push str.GAMELIST
push 0x83
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x41100a
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004077e0
mov eax, dword [ebp - 0x2c]
jmp 0x411165
mov eax, dword [ebp - 0x24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x41103d
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004077e0
mov eax, dword [ebp - 0x30]
jmp 0x411165
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41106e
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004077e0
mov eax, dword [ebp - 0x34]
jmp 0x411165
mov edx, dword [ebp - 0x24]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jae 0x4110a1
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004077e0
mov eax, dword [ebp - 0x38]
jmp 0x411165
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
call fcn.0043d78b
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0043ef50
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00452d6f
add esp, 4
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
test eax, eax
je 0x41114c
push 0x45868c
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0043d860
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4110fc
jmp 0x41114c
mov edx, dword [ebp - 0x28]
mov byte [edx], 0
cmp dword [ebp - 0x14], 0
jne 0x411111
mov dword [ebp - 0x5c], 0
jmp 0x411120
mov eax, dword [ebp - 0x14]
push eax
call fcn.0043d1f0
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004091b0
push 1
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.0040f8a0
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov dword [ebp - 0x14], ecx
jmp 0x4110d6
mov dword [ebp - 0x3c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004077e0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x413910
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x1000
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0x7a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x413a19
cmp dword [ebp - 0x3c], 0x7a
je 0x413972
cmp dword [ebp - 0x3c], 0x103
je 0x413a06
jmp 0x413a93
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0041ca23
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.0041ca2e
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0xc], 0
jne 0x4139ce
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov dword [ebp - 0xc], eax
xor ecx, ecx
cmp dword [ebp - 0xc], 0
setne cl
mov dword [ebp - 0x24], ecx
jmp 0x4139e3
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4139f2
mov dword [ebp - 0x18], 0
jmp 0x413a01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
jmp 0x413a9a
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 1
jmp 0x413a9a
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
je 0x413a4a
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.0043d860
add esp, 8
test eax, eax
je 0x413a4a
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jne 0x413a5d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
je 0x413a82
mov dword [ebp - 0x18], 0
jmp 0x413a91
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
jmp 0x413a9a
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x20], 0
je 0x413ac2
mov edx, dword [ebp - 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.0041ca23
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x413ac2
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
cmp dword [ebp - 0x20], 0
je 0x41394a
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 4
Function at 0x414640
Capabilities:
Create process on windows
Create process suspended
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x46a850]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x274], ecx
push 0x104
push 0
lea eax, [ebp - 0x270]
push eax
call fcn.0043b1e0
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x110]
push ecx
call fcn.0043b1e0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x270]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x270]
push ecx
push str.__s___d
lea edx, [ebp - 0x110]
push edx
call fcn.0043dd38
add esp, 0x10
mov dword [ebp - 0x168], 0x44
push 0x40
push 0
lea eax, [ebp - 0x164]
push eax
call fcn.0043b1e0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x168]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0x458a9c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b25a
mov esp, ebp
pop ebp
ret 4