joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
mov dword [ebp - 0x210], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor ecx, ecx
lea eax, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
lea edx, [eax + 2]
jmp 0x40f550
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f550
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
mov ecx, esi
call fcn.00404960
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.004b1c2d
mov esp, ebp
pop ebp
ret

Function at 0x40ffb0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e68f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x53f1e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x288
mov dword [ebp - 0x14], 0x288
call fcn.004b30cc
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x410006
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x14]
push eax
push ebx
call esi
cmp eax, 0x6f
jne 0x410030
push ebx
call fcn.004b3515
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004b30cc
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40fff2
lea edx, [ebp - 0x14]
push edx
push ebx
mov byte [ebp - 0xd], 0
call esi
test eax, eax
jne 0x410111
mov esi, ebx
test ebx, ebx
je 0x410111
mov eax, 6
cmp dword [esi + 0x1a0], eax
jne 0x410062
cmp dword [esi + 0x190], eax
je 0x41006d
mov esi, dword [esi]
test esi, esi
jne 0x410052
jmp 0x410111
mov eax, dword [0x53ef48]
mov edx, dword [eax + 0xc]
mov ecx, 0x53ef48
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
push str._02X_02X_02X_02X_02X_02X
lea edi, [ebp - 0x18]
call fcn.00408a70
mov esi, dword [ebp - 0x18]
mov eax, esi
add esp, 0x1c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4100d1
mov ecx, dword [ebp + 8]
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.00404960
lea eax, [esi - 0x10]
mov byte [ebp - 0xd], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410111
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
call fcn.004b3515
mov al, byte [ebp - 0xd]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415290
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e685b
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x53f1e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, 0x1388
mov dword [esi], vtable.CHttpClient.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, dword [0x53ef48]
mov edx, dword [eax + 0xc]
mov ecx, 0x53ef48
lea edi, [esi + 0x20]
call edx
add eax, 0x10
mov dword [edi], eax
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
push 0x507ea8
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x41532b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x507ee0
push 0x508050
call fcn.00408a70
add esp, 0xc
jmp 0x41533f
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
push edx
push ecx
push ebx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x415820
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7608
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x14], 0x10
mov edi, ecx
mov dword [esi + 0x10], ebx
jb 0x41585e
mov ecx, dword [esi]
jmp 0x415860
mov ecx, esi
mov byte [ecx], bl
push eax
xor ecx, ecx
mov edx, edi
mov byte [ebp - 0x2d], bl
call fcn.00415c90
test al, al
je 0x4158de
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], ebx
call fcn.00415b80
test al, al
je 0x4158e5
push 3
push 0x507f54
lea edx, [ebp - 0x2c]
push edx
xor eax, eax
call fcn.0040d750
cmp eax, 0xffffffff
je 0x4158e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryRawHeaders404
push 0x508050
add edi, 0x20
call fcn.00408a70
add esp, 0xc
cmp dword [ebp - 0x18], 8
jb 0x4158de
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b1c22
add esp, 4
xor al, al
jmp 0x415989
mov edx, dword [edi + 0xc]
lea ecx, [ebp - 0x34]
push ecx
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x4158cc
push 0x100000
call fcn.004b30cc
mov ebx, eax
mov eax, dword [ebp - 0x34]
add esp, 4
cmp eax, 0x100000
ja 0x415951
mov edx, dword [edi + 0xc]
lea ecx, [ebp - 0x38]
push ecx
push eax
push ebx
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x41596b
mov eax, dword [ebp - 0x38]
push eax
mov eax, ebx
mov ecx, esi
call fcn.004016e0
mov edx, dword [edi + 0xc]
lea ecx, [ebp - 0x34]
push ecx
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x41596b
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x415967
cmp eax, 0x100000
jbe 0x415910
push ebx
call fcn.004b3515
mov eax, dword [ebp - 0x34]
push eax
call fcn.004b30cc
add esp, 8
mov ebx, eax
jmp 0x41596b
mov byte [ebp - 0x2d], 1
push ebx
call fcn.004b3515
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x415986
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b1c22
add esp, 4
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b1c2d
mov esp, ebp
pop ebp
ret 4
Function at 0x4159b0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e86d8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x3c], esi
mov edi, edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
push eax
mov dword [ebp - 4], esi
call fcn.00415c90
test al, al
jne 0x415a2f
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], 0xf
lea edi, [ebp - 0x2c]
mov esi, ebx
mov byte [ebx], al
call fcn.00401de0
cmp dword [ebp - 0x18], 0x10
jb 0x415b06
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x415afe
push 0x100000
call fcn.004b30cc
mov edx, dword [edi + 0xc]
add esp, 4
lea ecx, [ebp - 0x38]
push ecx
push edx
mov esi, eax
mov byte [ebp - 0x2d], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x415ab4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x415aad
cmp ebx, 0x100000
jbe 0x415a77
push esi
call fcn.004b3515
mov ebx, dword [ebp - 0x38]
push ebx
call fcn.004b30cc
add esp, 8
mov esi, eax
mov ecx, dword [edi + 0xc]
lea eax, [ebp - 0x3c]
push eax
push ebx
push esi
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x415ab1
mov edx, dword [ebp - 0x3c]
push edx
mov eax, esi
lea ecx, [ebp - 0x2c]
call fcn.004016e0
mov ecx, dword [edi + 0xc]
lea eax, [ebp - 0x38]
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x415a54
jmp 0x415ab1
mov byte [ebp - 0x2d], 1
mov ebx, dword [ebp - 0x34]
push esi
call fcn.004b3515
add esp, 4
cmp byte [ebp - 0x2d], 0
jne 0x415ad9
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
jae 0x415ad6
lea eax, [ebp - 0x2c]
mov byte [eax], 0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
lea edi, [ebp - 0x2c]
mov esi, ebx
mov byte [ebx], 0
call fcn.00401de0
cmp dword [ebp - 0x18], 0x10
jb 0x415b06
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b1c22
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b1c2d
mov esp, ebp
pop ebp
ret 8
Function at 0x415b80
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [edi + 0xc]
push ebx
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x15
push ecx
xor bl, bl
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x415bfa
mov edx, dword [ebp - 4]
push esi
push edx
call fcn.004b30cc
mov ecx, dword [edi + 0xc]
add esp, 4
push 0
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0x15
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x415bf0
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415bd5
mov ecx, dword [ebp + 8]
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.00404960
mov bl, 1
push esi
call fcn.004b3515
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x415c10
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0x3a
push eax
lea ecx, [ebp - 0x3e]
push ecx
xor bl, bl
mov word [ebp - 0x40], ax
call fcn.004b9c60
mov ecx, dword [esi + 0xc]
add esp, 0xc
push 0
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x40]
push eax
push 0
push 5
push ecx
mov dword [ebp - 0x48], 0x3c
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x415c78
push 0xa
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
call fcn.004b4684
add esp, 0xc
mov dword [edi], eax
mov bl, 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004b1c2d
mov esp, ebp
pop ebp
ret
Function at 0x4162a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4428
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x53f1e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 8
mov dword [esi], ebx
call fcn.004b2335
add esp, 4
cmp eax, ebx
je 0x416384
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x18]
push 8
mov dword [edi], ebx
call fcn.004b2335
add esp, 4
cmp eax, ebx
je 0x416360
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, 0xf
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov word [esi + 0x7c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.004b203a
push 0x519908
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.004b62f5
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
call fcn.004b203a
push 0x519908
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], vtable.std::bad_alloc.0
call fcn.004b62f5
int3
Function at 0x422b40
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3a8b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x53f1e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0046bd5d
push 4
mov dword [ebp - 4], 0
call fcn.004b2335
mov edi, eax
add esp, 4
test edi, edi
je 0x422bbc
call fcn.0046c319
mov dword [edi], eax
call fcn.0046c05a
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0046bec3
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x422bb2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0046beeb
jmp 0x422bbe
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42b5c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0xb4]
push ebx
push eax
mov byte [esi], 0
mov byte [esi + 0xa0], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0xa4]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x42b62f
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42b626
mov edx, dword [esi + 0xa4]
lea ecx, [ebp - 4]
push ecx
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0xa4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0xa4]
push edx
call ebx
cmp byte [esi + 0x6c], 0
push edi
je 0x42b661
lea edi, [esi + 0x84]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x80]
push eax
call ebx
push edi
mov dword [esi + 0x80], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esi + 0x6c], 0
mov ecx, dword [esi + 0xb4]
push ecx
call ebx
lea edx, [esi + 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ebx, [esi + 0xa8]
call fcn.0042d9c0
mov eax, dword [ebx]
push eax
call fcn.004b1c22
mov edi, 8
add esp, 4
cmp dword [esi + 0x64], edi
jb 0x42b6a3
mov ecx, dword [esi + 0x50]
push ecx
call fcn.004b1c22
add esp, 4
xor ebx, ebx
xor edx, edx
mov dword [esi + 0x64], 7
mov dword [esi + 0x60], ebx
mov word [esi + 0x50], dx
cmp dword [esi + 0x48], edi
jb 0x42b6c6
mov eax, dword [esi + 0x34]
push eax
call fcn.004b1c22
add esp, 4
xor ecx, ecx
mov dword [esi + 0x48], 7
mov dword [esi + 0x44], ebx
mov word [esi + 0x34], cx
cmp dword [esi + 0x2c], edi
pop edi
jb 0x42b6e8
mov edx, dword [esi + 0x18]
push edx
call fcn.004b1c22
add esp, 4
mov dword [esi + 0x28], ebx
xor eax, eax
mov dword [esi + 0x2c], 7
mov word [esi + 0x18], ax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f1a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
cmp edi, 0x83
ja 0x42f214
je case.0x42f22c.133
mov eax, edi
dec eax
je 0x42f1ee
sub eax, 0x23
jne case.0x42f22c.135
lea edi, [esp + 0x14]
mov ecx, ebx
call fcn.0042f850
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], eax
jmp 0x42f26c
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
push 1
mov ecx, ebx
call eax
mov dword [esp + 0x10], eax
jmp 0x42f26c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [edi - 0x84]
cmp eax, 0x8e
ja case.0x42f22c.135
movzx edx, byte [eax + 0x42f32c]
jmp dword [edx*4 + 0x42f314]
push 0xd
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x42f268
mov ecx, dword [ebx + 0x358]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x42f268
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
mov dword [ebx + 0x350], 0
call edx
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], 0
jne 0x42f30b
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x10]
push edx
push esi
push eax
push edi
lea ecx, [ebx + 0x14]
call dword [0x511134]
test al, al
je 0x42f2fd
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
cmp eax, 0xf060
jne 0x42f2bd
push ecx
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], eax
jmp 0x42f26c
push esi
push eax
push edi
mov eax, ebx
call fcn.0042ed00
mov dword [esp + 0x10], eax
jmp 0x42f26c
push esi
mov ecx, ebx
call fcn.0042edc0
mov dword [esp + 0x10], eax
jmp 0x42f26c
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, ebx
call fcn.0042f000
mov dword [esp + 0x10], eax
jmp 0x42f26c
mov dword [esp + 0x14], ecx
jmp 0x42f277
mov ecx, dword [ebp + 0xc]
push esi
push ecx
push edi
mov ecx, ebx
call dword [0x511138]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x430690
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3cc0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x53f1e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x43084c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi + 0x2d6]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43081a
cmp dword [esi + 0x8f8], 0
jne 0x4306f9
mov eax, esi
call fcn.00430630
test al, al
je 0x43084c
mov eax, dword [esi + 0x8f8]
mov ecx, dword [eax]
push 0
lea edx, [esi + 0x4e0]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jns 0x430726
add esi, 4
mov edi, str.SetURL
call fcn.004312f0
jmp 0x43084c
lea edi, [esi + 0x6ea]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x430731
sub eax, edx
sar eax, 1
mov ebx, 0xffffffff
je 0x430794
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430794
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x8f8]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x4ed9bc
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x430782
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0
push edi
push eax
call edx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x430794
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x8f8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x4f181c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x4307de
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jns 0x4307f2
add esi, 4
mov edi, 0x50a954
call fcn.004312f0
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43084c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x43084c
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x430804
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
add esi, 4
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x430822
sub eax, edx
sar eax, 1
add eax, eax
push eax
push 0
push esi
call fcn.004b9c60
push 0x50a920
push 0x64
push esi
call fcn.004b4d05
add esp, 0x18
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x430880
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3c7b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
push edi
mov esi, ecx
mov dword [ebp - 0x224], edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
je 0x430a57
lea edi, [esi + 0x2d6]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430a57
cmp dword [esi + 0x8f4], 0
jne 0x4308f4
mov eax, esi
call fcn.004305d0
test al, al
je 0x430a8a
mov eax, dword [esi + 0x8f4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push edi
push eax
call edx
lea edx, [esi + 0xcc]
mov eax, edx
lea ebx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x430910
sub eax, ebx
sar eax, 1
je 0x430930
mov eax, dword [esi + 0x8f4]
mov ecx, dword [eax]
push edx
mov edx, dword [ecx + 0x2c]
push eax
call edx
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x21a]
push ecx
mov word [ebp - 0x21c], ax
call fcn.004b9c60
add esp, 0xc
test edi, edi
je 0x430974
lea ebx, [ebp - 0x21c]
mov eax, edi
call fcn.00431060
test al, al
je 0x430974
mov eax, dword [esi + 0x8f4]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
mov ecx, ebx
push ecx
push eax
call edx
lea ebx, [esi + 0x6ea]
mov eax, ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x430980
sub eax, edx
sar eax, 1
je 0x4309ad
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4309ad
mov eax, dword [esi + 0x8f4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0
push ebx
push eax
call edx
xor edi, edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x8f4]
mov ecx, dword [eax]
lea edx, [ebp - 0x220]
push edx
push 0x4f181c
push eax
mov eax, dword [ecx]
call eax
cmp eax, edi
jge 0x4309f7
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x430a8a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x430a8a
mov eax, dword [ebp - 0x220]
mov edx, dword [ebp - 0x224]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
cmp eax, edi
jge 0x430a3a
add esi, 4
mov edi, 0x50a96c
call fcn.004312f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x430a8a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x430a8a
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x430a53
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
jmp 0x430a8c
add esi, 4
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x430a60
sub eax, edx
sar eax, 1
add eax, eax
push eax
push 0
push esi
call fcn.004b9c60
push 0x50a920
push 0x64
push esi
call fcn.004b4d05
add esp, 0x18
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b1c2d
mov esp, ebp
pop ebp
ret