joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c4e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 4]
mov esi, ecx
cmp eax, 0x100
je 0x40c4fb
cmp eax, 0x104
jne 0x40c55e
cmp dword [edi + 0xc], 0x112f
je 0x40c55e
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
xor ebx, ebx
call ebp
shr eax, 8
test al, al
je 0x40c51c
mov ebx, 2
push 0x10
call ebp
shr eax, 8
test al, al
je 0x40c52a
or ebx, 4
push 0x12
call ebp
shr eax, 8
test al, al
je 0x40c538
or ebx, 1
mov eax, dword [edi + 8]
cmp eax, dword [0x4a1aac]
jne 0x40c55e
cmp ebx, dword [0x4a1ab0]
jne 0x40c55e
mov eax, esi
call fcn.00410e20
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
mov eax, dword [edi + 4]
cmp eax, 0x100
jne 0x40c575
mov ecx, dword [edi + 8]
cmp ecx, 0x1b
je 0x40c552
cmp ecx, 0x20
je 0x40c552
cmp eax, 0x112
jne 0x40c5dd
cmp dword [edi + 8], 0xf060
jne 0x40c5dd
mov eax, dword [edi + 0xc]
cmp eax, 0x112f
jne 0x40c5b5
cmp dword [esi + 0xf84], 1
jl 0x40c5ca
cmp eax, eax
jne 0x40c5b5
push 0
lea ecx, [esi + 0x18e0]
call fcn.0043fbc1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
test eax, eax
jne 0x40c6bc
cmp dword [esi + 0xf84], 1
jge 0x40c6bc
mov eax, esi
call fcn.00410f40
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
cmp eax, 0x102
jne 0x40c5fe
movzx ecx, word [edi + 8]
cmp ecx, 4
jne 0x40c5fe
mov edx, dword [edi + 0xc]
and edx, 0xffff0000
cmp edx, 0x200000
je 0x40c61c
cmp eax, 0x100
jne 0x40c69a
cmp dword [edi + 8], 0x74
jne 0x40c69a
cmp dword [esi + 0xf84], 0
jle 0x40c69a
mov eax, dword [esi + 0xfb4]
test eax, eax
jl 0x40c695
cmp eax, dword [esi + 0xf84]
jge 0x40c695
mov ecx, dword [esi + 0xf80]
mov ebx, dword [ecx + eax*4]
mov ebp, dword [sym.imp.USER32.dll_IsWindowVisible]
push ebx
call ebp
test eax, eax
je 0x40c663
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
mov edx, dword [esi + 0xf78]
push edx
call ebp
test eax, eax
je 0x40c689
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push eax
mov eax, dword [esi + 0xf78]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
call fcn.00439d70
cmp eax, 0x112
jne 0x40c6bc
cmp dword [edi + 8], 0xf120
jne 0x40c6bc
cmp dword [esi + 0xf84], 1
jge 0x40c6bc
push 9
mov ecx, esi
call fcn.0043fbc1
mov ecx, dword [esi + 0x1014]
push edi
push 0
push 0x407
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov ecx, esi
call fcn.0043c047
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x410a60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsWindowVisible]
push esi
mov esi, eax
mov eax, dword [esi + 0x20]
push edi
push eax
call ebp
test eax, eax
je 0x410b34
cmp dword [esi + 0xf84], 0
jle 0x410b2b
mov eax, dword [esi + 0xfb4]
test eax, eax
jl 0x410b2f
cmp eax, dword [esi + 0xf84]
jge 0x410b2f
mov ecx, dword [esi + 0xf80]
mov edx, dword [ecx + eax*4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push 0
push edx
call edi
mov eax, dword [esi + 0x20]
push 0
push eax
call edi
mov eax, dword [0x4a56f0]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x410af7
mov eax, dword [eax + 0x20]
test eax, eax
je 0x410af7
push eax
call ebx
test eax, eax
je 0x410af7
mov ecx, dword [0x4a56f0]
mov edx, dword [ecx + 0x20]
push edx
call ebp
test eax, eax
je 0x410af7
mov ecx, dword [0x4a56f0]
push 2
call fcn.0043bfab
lea edi, [esi + 0x18e0]
test edi, edi
je 0x410b2a
cmp dword [edi + 0x20], 0
je 0x410b2a
mov eax, dword [esi + 0x1900]
push eax
call ebx
test eax, eax
je 0x410b2a
mov ecx, dword [esi + 0x1900]
push ecx
call ebp
test eax, eax
je 0x410b2a
push 0
mov ecx, edi
call fcn.0043fbc1
pop ebx
pop edi
pop esi
pop ebp
ret
call fcn.00439d70
mov eax, dword [esi + 0xfb4]
test eax, eax
jl 0x410b2f
cmp eax, dword [esi + 0xf84]
jge 0x410b2f
mov edx, dword [esi + 0xf80]
mov eax, dword [edx + eax*4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov ecx, dword [esi + 0x20]
push 9
push ecx
call edi
call fcn.004113f0
pop edi
pop esi
pop ebp
ret
Function at 0x411460
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x234
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [0x4857b0]
mov ecx, dword [str.stallTag]
mov edx, dword [0x4857b8]
mov dword [esp + 0x10], eax
mov eax, dword [0x4857bc]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x4857c0]
mov dword [esp + 0x1c], eax
xor eax, eax
push 0x206
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
mov dx, word [0x4857c4]
push eax
lea ecx, [esp + 0x32]
push ecx
mov word [esp + 0x30], dx
mov dword [esp + 0xc], 0x31
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x34], ax
call fcn.0045db90
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x485264
lea eax, [esp + 0x2c]
push 0x104
push eax
call fcn.00459b8e
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
push 8
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x1c]
push 0x4857c8
push eax
call fcn.00413560
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x31
xor eax, eax
cmp cx, word [esp]
mov ecx, dword [esp + 0x230]
sete al
xor ecx, esp
call fcn.004597c7
add esp, 0x234
ret

Function at 0x411550
Capabilities:
Get common file path

Disassembly:
sub esp, 0x224
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [0x4857b0]
mov ecx, dword [str.stallTag]
mov edx, dword [0x4857b8]
mov dword [esp], eax
mov eax, dword [0x4857bc]
mov dword [esp + 4], ecx
mov ecx, dword [0x4857c0]
mov dword [esp + 0xc], eax
xor eax, eax
push 0x206
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
mov dx, word [0x4857c4]
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x20], dx
mov word [esp + 0x24], ax
call fcn.0045db90
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x485264
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.00459b8e
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 4]
push 0x4857c8
push edx
call fcn.00413560
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004597c7
add esp, 0x224
ret

Function at 0x412ee0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.0043c859

Function at 0x4154b0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x415505
mov eax, dword [esp]
cmp al, 2
jne 0x4154ff
shr eax, 8
cmp al, 2
jne 0x4154ff
mov eax, 1
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004597c7
add esp, 0x19c
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x194]
xor ecx, esp
xor eax, eax
call fcn.004597c7
add esp, 0x19c
ret
Function at 0x415550
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x20
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x3a
push esi
mov dword [esp + 0x1c], eax
mov ebp, 0x50
mov edi, esi
call fcn.0045c260
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4155ae
lea ecx, [ebx + 1]
push ecx
call fcn.0045c19e
sub ebx, esi
lea ebp, [ebx + 1]
push ebp
mov dword [esp + 0x20], eax
call fcn.00439af0
push ebx
push esi
mov edi, eax
push ebp
push edi
call fcn.0045aebd
mov ebp, dword [esp + 0x30]
add esp, 0x18
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
jne 0x4155df
cmp edi, esi
je 0x4155c8
push edi
call fcn.00439ae5
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004597c7
add esp, 0x20
ret 4
cmp edi, esi
je 0x4155ec
push edi
call fcn.00439ae5
add esp, 4
mov edx, dword [ebx + 0xc]
mov eax, dword [edx]
mov esi, dword [eax]
xor eax, eax
mov ecx, 2
mov dword [esp + 0x1c], eax
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x20], cx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x1e], ax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
push 0x10
lea edx, [esp + 0x20]
push edx
push ecx
mov dword [esp + 0x2c], esi
call dword [sym.imp.WS2_32.dll_connect]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
neg eax
pop ebp
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.004597c7
add esp, 0x20
ret 4

Function at 0x415650
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415656
push 0
sub eax, esi
push eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x10]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_send]
xor edx, edx
cmp eax, 0xffffffff
setne dl
pop esi
mov eax, edx
ret 4

Function at 0x415680
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
mov eax, dword [edi + 0xc]
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
je 0x415699
push eax
call fcn.00439ae5
add esp, 4
mov dword [edi + 0xc], esi
push 0x400
call fcn.00439af0
push 0x400
push esi
push eax
mov dword [edi + 0xc], eax
call fcn.0045db90
mov ebp, dword [sym.imp.WS2_32.dll_recv]
add esp, 0x10
mov bl, 0xd
lea ecx, [ecx]
mov ecx, dword [edi + 0x10]
push 0
push 1
lea eax, [esp + 0x17]
push eax
push ecx
call ebp
mov edx, dword [edi + 0xc]
mov al, byte [esp + 0xf]
mov byte [esi + edx], al
inc esi
cmp esi, 4
jl 0x4156c0
mov ecx, dword [edi + 0xc]
cmp byte [esi + ecx - 4], bl
lea eax, [esi + ecx]
jne 0x4156c0
cmp byte [eax - 3], 0xa
jne 0x4156c0
cmp byte [eax - 2], bl
jne 0x4156c0
cmp byte [eax - 1], 0xa
jne 0x4156c0
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4162a0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_getprotobyname]
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_socket]
push esi
mov dword [esp + 0xc], 0
lea ebx, [ebx]
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edi
call fcn.00415d50
test eax, eax
jne 0x416349
push 0x487444
lea esi, [edi + 8]
call ebx
movsx ecx, word [eax + 8]
push ecx
push 1
push 2
call ebp
mov dword [esi + 0x10], eax
cmp eax, 0xffffffff
jne 0x4162f4
xor eax, eax
jmp 0x416331
mov ecx, dword [esi]
push esi
call fcn.00415550
test eax, eax
je 0x416331
mov eax, dword [edi + 0x18]
push 4
lea edx, [esp + 0x14]
push edx
push 0x1006
push 0xffff
push eax
mov dword [esp + 0x24], 0x80
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x41632b
xor eax, eax
jmp 0x416331
push edi
call fcn.00415e10
inc dword [esp + 0xc]
test eax, eax
jne 0x41634b
cmp dword [esp + 0xc], 5
jl 0x4162c0
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x416370
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x479ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a05d0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
mov esi, ecx
mov dword [esp + 0x18], ebp
mov edi, edx
mov dword [esp + 0x14], 0
call fcn.00415310
push edi
mov ebx, esi
call fcn.00415390
test eax, eax
jne 0x4163ea
xor eax, eax
push eax
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], eax
push 0x4874de
mov ecx, ebp
mov byte [ebp + 4], al
call fcn.004094f0
mov eax, ebp
jmp 0x416550
call fcn.004154b0
test eax, eax
je 0x4163c7
push 0x487444
call dword [sym.imp.WS2_32.dll_getprotobyname]
movsx eax, word [eax + 8]
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x10], eax
cmp eax, 0xffffffff
jne 0x416428
push 0x4874de
mov ecx, ebp
call fcn.00408e20
mov eax, ebp
jmp 0x416550
mov ecx, dword [esi]
push esi
call fcn.00415550
test eax, eax
je 0x416415
push 0x80
mov ecx, esi
call fcn.00415710
test eax, eax
je 0x416415
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push 0
push 0
mov edi, esi
call fcn.00415740
mov edx, dword [esi + 8]
push esi
call fcn.00415650
test eax, eax
je 0x416415
mov eax, dword [esi + 0xc]
test eax, eax
je 0x416478
push eax
call fcn.00439ae5
add esp, 4
mov dword [esi + 0xc], 0
push 0x400
call fcn.00439af0
add esp, 4
push 0x400
push 0
push eax
mov dword [esi + 0xc], eax
call fcn.0045db90
mov ebp, dword [sym.imp.WS2_32.dll_recv]
add esp, 0xc
xor edi, edi
mov bl, 0xd
mov edx, dword [esi + 0x10]
push 0
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
call ebp
mov eax, dword [esi + 0xc]
mov cl, byte [esp + 0x14]
mov byte [edi + eax], cl
inc edi
cmp edi, 4
jl 0x4164a2
mov edx, dword [esi + 0xc]
cmp byte [edx + edi - 4], bl
lea eax, [edx + edi]
jne 0x4164a2
cmp byte [eax - 3], 0xa
jne 0x4164a2
cmp byte [eax - 2], bl
jne 0x4164a2
cmp byte [eax - 1], 0xa
jne 0x4164a2
xor eax, eax
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 0x10]
push 0
push 1
lea eax, [esp + 0x1c]
push eax
push ecx
call ebp
mov edx, dword [esp + 0x14]
mov ebx, eax
push edx
mov eax, 1
lea edi, [esp + 0x20]
call fcn.00416760
test ebx, ebx
jg 0x4164f4
mov eax, dword [esi + 0x10]
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x18]
mov edx, edi
push edx
mov ecx, esi
call fcn.004117a0
mov ecx, edi
call fcn.00408e60
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004597c7
add esp, 0x34
ret 4
Function at 0x417450
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push esi
mov esi, eax
test esi, esi
je 0x417509
xor eax, eax
cmp ax, word [esi]
je 0x417509
movzx edx, word [esp + 0xc]
push edi
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x417480
pop edi
pop esi
pop ecx
ret
push ebp
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
jne 0x417495
pop ebp
pop edi
pop esi
pop ecx
ret
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4174b2
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop ebp
pop edi
xor eax, eax
pop esi
pop ecx
ret
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4174f0
push edi
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop ebp
pop edi
mov eax, 1
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret
Function at 0x417880
Capabilities:
Create directory
Get file attributes

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, dword [esp + 0x214]
test esi, esi
je 0x41791d
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4178a5
sub eax, edx
sar eax, 1
cmp eax, 3
jbe 0x41791d
push ebx
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.0045db90
push 0
lea ebx, [esp + 0x18]
call fcn.004177f0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop ebx
cmp eax, 0x10
je 0x417902
lea edx, [esp + 4]
push edx
call fcn.00417880
add esp, 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004597c7
add esp, 0x20c
ret
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004597c7
add esp, 0x20c
ret
Function at 0x4179f0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x66c
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x668], eax
push ebp
push esi
mov esi, dword [esp + 0x678]
push edi
test esi, esi
je 0x417c4e
xor eax, eax
cmp ax, word [esi]
je 0x417c4e
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x26a]
push edx
xor edi, edi
mov word [esp + 0x26c], cx
call fcn.0045db90
add esp, 0xc
push 0x250
lea eax, [esp + 0x14]
push edi
push eax
call fcn.0045db90
add esp, 0xc
push esi
lea ecx, [esp + 0x264]
push 0x104
push ecx
call fcn.00459b1f
lea eax, [esp + 0x26c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417a76
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x25e], 0x5c
je 0x417aaa
push 0x485764
lea edx, [esp + 0x264]
push 0x104
push edx
call fcn.00459b8e
add esp, 0xc
push 0x487518
lea eax, [esp + 0x264]
push 0x104
push eax
call fcn.00459b8e
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x417afb
mov eax, 1
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.004597c7
add esp, 0x66c
ret
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, 0x485b14
lea eax, [esp + 0x3c]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x417b36
test dx, dx
je 0x417b32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x417b36
add eax, 4
add ecx, 4
test dx, dx
jne 0x417b10
xor eax, eax
jmp 0x417b3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x417c1d
mov ecx, 0x48751c
lea eax, [esp + 0x3c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x417b76
test dx, dx
je 0x417b72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x417b76
add eax, 4
add ecx, 4
test dx, dx
jne 0x417b50
xor eax, eax
jmp 0x417b7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x417c1d
test byte [esp + 0x10], 0x10
je 0x417c1c
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x472]
push ecx
mov word [esp + 0x474], ax
call fcn.0045db90
add esp, 0xc
lea edx, [esp + 0x260]
push edx
lea eax, [esp + 0x46c]
push 0x104
push eax
call fcn.00459b1f
lea eax, [esp + 0x474]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417bd5
sub eax, edx
sar eax, 1
lea edx, [esp + 0x3c]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x46a], cx
lea eax, [esp + 0x46c]
push 0x104
push eax
call fcn.00459b8e
lea ecx, [esp + 0x474]
add esp, 0xc
push ecx
call fcn.004179f0
add esp, 4
add edi, eax
jmp 0x417c1d
inc edi
lea edx, [esp + 0x10]
push edx
push esi
call ebp
test eax, eax
jne 0x417b01
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.004597c7
add esp, 0x66c
ret
mov ecx, dword [esp + 0x674]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004597c7
add esp, 0x66c
ret
Function at 0x417ca0
Capabilities:
Delete internet cache
Enumerate internet cache
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
lea eax, [esp + 8]
push eax
push 0
push 0
mov dword [esp + 0x14], 0
call edi
mov eax, dword [esp + 8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00439af0
add esp, 4
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
push 0
call edi
mov edi, eax
test edi, edi
je 0x417d5d
push ebp
mov ebp, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test dword [esi + 0xc], 0x100000
jne 0x417d18
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea edx, [esp + 0xc]
push edx
push 0
push edi
mov dword [esp + 0x18], 0
call ebp
push esi
call fcn.00439ae5
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00439af0
add esp, 8
mov esi, eax
lea eax, [esp + 0xc]
push eax
push esi
push edi
call ebp
test eax, eax
jne 0x417d05
pop ebp
test esi, esi
je 0x417d6a
push esi
call fcn.00439ae5
add esp, 4
push 0
push 0x20
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
pop edi
pop esi
test eax, eax
je 0x417da3
lea edx, [esp + 4]
push edx
call fcn.00417510
add esp, 4
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004597c7
add esp, 0x210
ret
mov ecx, dword [esp + 0x20c]
xor ecx, esp
xor eax, eax
call fcn.004597c7
add esp, 0x210
ret

Function at 0x417dc0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings5.0CacheContent
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [esp + 0x18], 0x100000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x417df0
xor eax, eax
add esp, 8
ret
mov edx, dword [esp]
push 4
lea ecx, [esp + 8]
push ecx
push 4
push 0
push str.CacheLimit
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x417dea
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
inc eax
add esp, 8
ret
Function at 0x417e30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x210], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.0045db90
add esp, 0xc
lea edx, [esp]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x417eaa
lea eax, [esp + 4]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x417e9f
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push str.MacromediaFlash_PlayerSharedObjects
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.00459b8e
lea ecx, [esp + 0x14]
push ecx
call fcn.00417510
mov ecx, dword [esp + 0x220]
add esp, 0x10
xor ecx, esp
call fcn.004597c7
add esp, 0x214
ret

Function at 0x418bd0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x114
lea eax, [esp + 4]
push 0
push eax
call fcn.0045db90
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x114]
sbb eax, eax
xor ecx, esp
inc eax
call fcn.004597c7
add esp, 0x118
ret