joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4010d9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401114
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401110
lea ebx, [ebx]
cmp esi, eax
jae 0x401114
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401100
cmp esi, eax
jb 0x40111a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44937e
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x460df4]
xor eax, esp
mov dword [esp + 0x7c], eax
push esi
push edi
mov eax, dword [0x460df4]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x38]
call fcn.004188a8
lea ecx, [esp + 0x14]
mov dword [esp + 0x94], 0
call fcn.004181ba
mov eax, dword [esp + 0x38]
push eax
mov byte [esp + 0x98], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call fcn.004186f7
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], vtable.CBitmap.0
mov byte [esp + 0x94], 2
call fcn.0041d0bf
mov eax, dword [eax + 0xc]
push 0x84
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x10]
call fcn.004189be
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push edx
call fcn.00418a43
mov ecx, dword [esi + 0x20]
mov edi, eax
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esp + 0x4c]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test edi, edi
je 0x40202f
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x18]
push edi
push ecx
call fcn.00418a43
lea ecx, [esp + 0x14]
call fcn.0041875b
lea ecx, [esp + 0xc]
call fcn.00418a11
lea ecx, [esp + 0xc]
mov byte [esp + 0x94], 1
mov dword [esp + 0xc], vtable.CGdiObject.0
call fcn.00418a11
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 0
call fcn.00418771
lea ecx, [esp + 0x34]
mov dword [esp + 0x94], 0xffffffff
call fcn.004188fc
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.00432bb9
add esp, 0x8c
ret
Function at 0x4024f0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x418
mov eax, dword [0x460df4]
xor eax, esp
mov dword [esp + 0x414], eax
push 0x3ff
lea eax, [esp + 0x19]
push 0
push eax
mov byte [esp + 0x20], 0
call fcn.00432bd0
add esp, 0xc
push 0x3e8
lea ecx, [esp + 0x18]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40259a
xor eax, eax
push eax
push eax
push eax
lea edx, [esp + 0x14]
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov byte [esp + 0x1d], al
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x1c], 0
call fcn.00432f8c
add esp, 0x14
push 0
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x40259a
cmp dword [esp + 4], 0
ja 0x40259a
cmp dword [esp], 0x25800000
ja 0x40259a
xor al, al
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00432bb9
add esp, 0x418
ret
mov ecx, dword [esp + 0x414]
xor ecx, esp
mov al, 1
call fcn.00432bb9
add esp, 0x418
ret

Function at 0x402840
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x364
mov eax, dword [0x460df4]
xor eax, esp
mov dword [esp + 0x360], eax
push esi
push 0x103
lea eax, [esp + 0x5d]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x64], 0
call fcn.00432bd0
add esp, 0xc
lea ecx, [esp + 0x58]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x104
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x164]
push eax
call fcn.00433660
add esp, 0xc
cmp dword [esi + 0x70], 0x10
jb 0x4028a5
mov esi, dword [esi + 0x5c]
jmp 0x4028a8
add esi, 0x5c
push esi
lea ecx, [esp + 0x160]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x104
lea edx, [esp + 0x160]
push edx
lea eax, [esp + 0x268]
push eax
call fcn.00433660
add esp, 0xc
lea ecx, [esp + 0x260]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0x44
lea edx, [esp + 0x18]
push 0
push edx
call fcn.00432bd0
add esp, 0xc
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x268]
push edx
push 0
push 0x4000000
push 0
push 0
push 0
lea eax, [esp + 0x17c]
push eax
push 0
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], 1
mov word [esp + 0x6c], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 0x364]
pop esi
xor ecx, esp
call fcn.00432bb9
add esp, 0x364
ret
Function at 0x405900
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
jne 0x405910
mov eax, 0x17
pop edi
ret
mov edx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
test esi, esi
mov dword [edx], 0xffffffff
jbe 0x40594c
push ebx
push ebp
mov eax, dword [edx]
movzx ebx, byte [ecx + edi]
mov ebp, eax
and ebp, 0xff
xor ebx, ebp
shr eax, 8
xor eax, dword [ebx*4 + 0x45f150]
add ecx, 1
cmp ecx, esi
mov dword [edx], eax
jb 0x405927
pop ebp
pop ebx
mov eax, dword [edx]
not eax
pop esi
mov dword [edx], eax
xor eax, eax
pop edi
ret

Function at 0x4078e0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x230
mov eax, dword [0x460df4]
xor eax, esp
mov dword [esp + 0x22c], eax
mov eax, dword [str.game.exe]
test al, al
mov ecx, dword [0x44d2ec]
mov dl, byte [0x44d2f0]
push esi
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ecx
mov byte [esp + 0x138], dl
lea esi, [esp + 0x130]
je 0x40793c
movsx eax, byte [esi]
push eax
call fcn.00434f06
mov byte [esi], al
add esi, 1
add esp, 4
cmp byte [esi], 0
jne 0x407926
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 4], esi
jne 0x407968
xor eax, eax
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00432bb9
add esp, 0x230
ret
push edi
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x407a38
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4079a0
cmp byte [esp + 0x38], 0
lea esi, [esp + 0x38]
je 0x4079c6
jmp 0x4079b0
movsx edx, byte [esi]
push edx
call fcn.00434f06
mov byte [esi], al
add esi, 1
add esp, 4
cmp byte [esi], 0
jne 0x4079b0
lea ecx, [esp + 0x38]
lea eax, [esp + 0x13c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4079f1
test dl, dl
je 0x4079ed
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4079f1
add eax, 2
add ecx, 2
test dl, dl
jne 0x4079d1
xor eax, eax
jmp 0x4079f6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407a1b
mov eax, dword [esp + 0x1c]
push eax
push 1
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x407a1b
push 9
push esi
call ebx
push esi
call edi
push 0x64
call ebp
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4079a0
mov esi, dword [esp + 0x10]
pop ebp
pop ebx
push esi
call edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00432bb9
add esp, 0x230
ret

Function at 0x407b90
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x407bac
mov ecx, dword [esp + 4]
push eax
mov eax, dword [esp + 0xc]
push eax
push 1
push ecx
call fcn.00433a0b
add esp, 0x10
ret 8
Function at 0x407bb0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0x44cb3c
push eax
call fcn.00433b5c
mov esi, eax
xor eax, eax
add esp, 8
cmp esi, eax
je 0x407c03
push esi
push 2
lea ecx, [esp + 0x10]
push 1
push ecx
mov byte [esp + 0x18], al
mov word [esp + 0x19], ax
call fcn.00433dcc
push esi
call fcn.00433875
add esp, 0x14
cmp byte [esp + 8], 0x57
jne 0x407c03
cmp byte [esp + 9], 0x58
jne 0x407c03
mov eax, 1
pop esi
ret 4
xor eax, eax
pop esi
ret 4
Function at 0x4086c0
Capabilities:
Check if file exists
Delete file
Set file attributes
Write file on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0x460df4]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
push ebp
mov ebp, ecx
lea ebx, [ebp + 0x104]
push esi
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
push edi
mov dword [esp + 0x10], 1
jbe 0x4086f5
call fcn.0043364c
mov edi, esi
jmp 0x408700
mov esi, dword [ebp + 0x10c]
cmp dword [ebp + 0x108], esi
jbe 0x408713
call fcn.0043364c
test ebx, ebx
je 0x408721
lea eax, [ebp + 0x104]
cmp ebx, eax
je 0x408726
call fcn.0043364c
cmp edi, esi
je 0x408865
test ebx, ebx
jne 0x408737
call fcn.0043364c
cmp edi, dword [ebx + 8]
jb 0x408741
call fcn.0043364c
cmp dword [edi + 0x18], 0x10
lea esi, [edi + 4]
jb 0x40874e
mov eax, dword [esi]
jmp 0x408750
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x408804
cmp edi, dword [ebx + 8]
jb 0x408769
call fcn.0043364c
cmp dword [edi + 0x18], 0x10
jb 0x408773
mov eax, dword [esi]
jmp 0x408775
mov eax, esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x4087a6
cmp edi, dword [ebx + 8]
jb 0x40878f
call fcn.0043364c
cmp dword [edi + 0x18], 0x10
jb 0x408799
mov eax, dword [esi]
jmp 0x40879b
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4087b0
mov dword [esp + 0x10], 0
jmp 0x4087bb
cmp dword [esp + 0x10], 0
jne 0x408853
cmp edi, dword [ebx + 8]
jb 0x4087c5
call fcn.0043364c
cmp dword [edi + 0x18], 0x10
jb 0x4087cd
mov esi, dword [esi]
push esi
lea eax, [esp + 0x18]
push str.Can_not_delete:__s_n
push eax
call fcn.004340f9
lea eax, [esp + 0x20]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4087e7
mov ecx, dword [ebp + 4]
sub eax, edx
test ecx, ecx
je 0x408853
push ecx
push eax
push 1
lea ecx, [esp + 0x20]
push ecx
jmp 0x40884b
cmp edi, dword [ebx + 8]
jb 0x40880e
call fcn.0043364c
cmp dword [edi + 0x18], 0x10
jb 0x408816
mov esi, dword [esi]
push esi
lea edx, [esp + 0x18]
push str.Can_not_find:__s_n
push edx
call fcn.004340f9
lea eax, [esp + 0x20]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x408830
mov ecx, dword [ebp + 4]
sub eax, edx
test ecx, ecx
je 0x408853
push ecx
push eax
push 1
lea eax, [esp + 0x20]
push eax
call fcn.00433a0b
add esp, 0x10
cmp edi, dword [ebx + 8]
jb 0x40885d
call fcn.0043364c
add edi, 0x1c
jmp 0x408700
mov ecx, dword [esp + 0x414]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00432bb9
add esp, 0x408
ret
Function at 0x40e510
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
sub esp, 0x328
mov eax, dword [0x460df4]
xor eax, esp
mov dword [esp + 0x324], eax
mov eax, dword [esp + 0x338]
push esi
push edi
mov edi, dword [esp + 0x33c]
test edi, edi
mov esi, ecx
mov ecx, dword [esp + 0x344]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
jne 0x40e550
xor eax, eax
jmp 0x40e730
mov edx, dword [esp + 0x334]
mov eax, dword [esp + 0x338]
push ebx
push ebp
push 0x103
lea ecx, [esp + 0x235]
push 0
push ecx
mov dword [esi], edx
mov dword [esi + 0xc0], eax
mov byte [esp + 0x23c], 0
call fcn.00432bd0
add esp, 0xc
lea edx, [esp + 0x230]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x103
lea eax, [esp + 0x131]
push 0
push eax
mov byte [esp + 0x138], 0
call fcn.00432bd0
push 0x104
lea ecx, [esp + 0x240]
push ecx
lea edx, [esp + 0x140]
push edx
call fcn.00433660
mov ebp, dword [sym.imp.SHLWAPI.dll_PathAppendA]
add esp, 0x18
push str.config.ini
lea eax, [esp + 0x130]
push eax
call ebp
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea ecx, [esp + 0x12c]
push ecx
mov byte [esp + 0x1c], 0
call ebx
cmp eax, 1
jne 0x40e626
lea edx, [esp + 0x12c]
push edx
push 0x10
lea eax, [esp + 0x20]
push eax
push 0x44cc84
push str.Version
push str.Client
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x103
lea ecx, [esp + 0x2d]
push 0
push ecx
mov byte [esp + 0x34], 0
call fcn.00432bd0
push 0x104
lea edx, [esp + 0x240]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00433660
add esp, 0x18
push str.version
lea ecx, [esp + 0x2c]
push ecx
call ebp
lea edx, [esp + 0x28]
push edx
call ebx
test eax, eax
pop ebp
pop ebx
jne 0x40e689
cmp byte [esp + 0x10], al
jne 0x40e6ad
lea eax, [esp + 0x10]
push 0x44cc84
push eax
call fcn.004340f9
add esp, 8
jmp 0x40e6ad
lea ecx, [esp + 0x20]
push ecx
push 0x104
lea edx, [esp + 0x18]
push edx
push 0x44c8cf
push str.MajorVer
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40e6b4
sub eax, edx
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x24]
call fcn.00402e40
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40e6d2
sub eax, edx
push eax
push edi
lea ecx, [esi + 0x5c]
call fcn.00402e40
mov ecx, dword [esp + 8]
push ecx
push edi
mov ecx, esi
call fcn.0040d6d0
test eax, eax
je 0x40e549
lea ecx, [esi + 0xe4]
call fcn.0040d590
mov edx, dword [esp + 0xc]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40e710
sub eax, edi
push eax
push edx
lea ecx, [esi + 0x40]
call fcn.00402e40
mov eax, 1
mov dword [esi + 0xb0], eax
mov ecx, dword [esp + 0x32c]
pop edi
pop esi
xor ecx, esp
call fcn.00432bb9
add esp, 0x328
ret 0x14
Function at 0x413880
Capabilities:
Parse url

Disassembly:
sub esp, 0x83c
mov eax, dword [0x460df4]
xor eax, esp
mov dword [esp + 0x838], eax
mov eax, dword [esp + 0x844]
push ebx
mov ebx, dword [esp + 0x844]
test ebx, ebx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edx
je 0x4139b2
test edi, edi
je 0x4139b2
push ebp
push esi
mov esi, eax
and eax, 0xc0000000
and esi, 0x3e000000
push esi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
push edi
mov dword [esp + 0x1c], 0x824
mov dword [esp + 0x24], 0
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
jne 0x41394d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x413931
mov edx, dword [esp + 0xc]
push edx
call fcn.00416a1f
add esp, 4
mov ebp, eax
push esi
lea eax, [esp + 0x10]
push eax
push ebp
push edi
mov dword [esp + 0x24], 1
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
jne 0x413951
push ebp
call fcn.00416a24
add esp, 4
xor eax, eax
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.00432bb9
add esp, 0x83c
ret 8
lea ebp, [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push 0
push ebp
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp dword [esp + 0x14], 0
mov esi, eax
je 0x413972
push ebp
call fcn.00416a24
add esp, 4
test esi, esi
jne 0x413984
mov edx, dword [esp + 0x10]
mov dword [edx], 0xffffffff
mov eax, esi
jmp 0x413933
mov ax, word [ebx + 0x18]
mov ecx, dword [esp + 0x18]
mov word [ecx], ax
mov ebx, dword [ebx + 0xc]
lea edx, [ebx - 1]
cmp edx, 6
ja 0x4139a4
mov eax, dword [esp + 0x10]
mov dword [eax], ebx
mov eax, esi
jmp 0x413933
mov ecx, dword [esp + 0x10]
mov dword [ecx], 0xffffffff
mov eax, esi
jmp 0x413933
mov ecx, dword [esp + 0x83c]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00432bb9
add esp, 0x83c
ret 8
Function at 0x414b20
Capabilities:
Copy file

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, ebx
imul eax, eax, 0x128
push esi
mov esi, ecx
mov ecx, dword [eax + esi + 0x9a4]
mov edx, dword [eax + esi + 0x9a0]
add eax, esi
push ecx
mov ecx, dword [eax + 0x99c]
push edx
mov edx, dword [eax + 0x998]
push ecx
push edx
push ebx
push str.OnAntWorkOver__d____d__d_
push 1
push 0
call fcn.004146f0
mov ecx, dword [esi + 0xf58]
add esp, 0x20
cmp ecx, 1
jne 0x414bbc
push 0
lea eax, [esi + 0x834]
push eax
lea ecx, [esi + 0x9b0]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [esi + 0xf80]
test eax, eax
mov dword [esi + 0xc], 6
mov dword [esi + 8], 2
je 0x414baa
mov edx, dword [esi + 0x938]
push 6
push 2
push 0
push edx
call eax
mov eax, dword [esi + 0x118c]
pop esi
pop ebx
mov dword [esp + 4], eax
jmp dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
xor edi, edi
test ecx, ecx
jle 0x414bed
lea eax, [esi + 0x9a0]
mov edx, ecx
push ebp
lea esp, [esp]
mov ebp, dword [eax + 8]
cmp ebp, dword [eax]
jne 0x414be2
mov ebp, dword [eax + 0xc]
cmp ebp, dword [eax + 4]
jne 0x414be2
add edi, 1
add eax, 0x128
sub edx, 1
jne 0x414bd0
pop ebp
cmp edi, ecx
pop edi
jne 0x414c19
mov eax, dword [esi + 0xf80]
test eax, eax
mov dword [esi + 0xc], 6
mov dword [esi + 8], 2
je 0x414c19
mov ecx, dword [esi + 0x938]
push 6
push 2
push 0
push ecx
call eax
mov edx, dword [esi + ebx*4 + 0x118c]
pop esi
pop ebx
mov dword [esp + 4], edx
jmp dword [sym.imp.KERNEL32.dll_SetEvent]
Function at 0x414c30
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x14
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x11a0]
xor ebp, ebp
cmp eax, ebp
push edi
jne 0x414cd4
lea eax, [esi + 0x834]
push 0x44cb00
push eax
call fcn.00433b5c
add esp, 8
cmp eax, ebp
jne 0x414c96
mov eax, dword [esi + 0xf80]
cmp eax, ebp
mov dword [esi + 0xc], 7
mov dword [esi + 8], 3
je 0x414e18
mov ecx, dword [esi + 0x938]
push 7
push 3
push ebp
push ecx
call eax
pop edi
pop esi
mov eax, 4
pop ebp
add esp, 0x14
ret
push eax
call fcn.00433875
mov eax, dword [esi + 0xf80]
add esp, 4
cmp eax, ebp
mov edi, 1
mov dword [esi + 0xc], 5
mov dword [esi + 8], edi
je 0x414cc5
mov edx, dword [esi + 0x938]
push 5
push edi
push ebp
push edx
call eax
mov dword [esi + 0x11a0], edi
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp eax, 1
jne 0x414e18
lea eax, [esi + 0x834]
push 0x44cb00
push eax
call fcn.00433b5c
mov edi, eax
add esp, 8
cmp edi, ebp
mov dword [esp + 0x14], edi
je 0x414c60
mov edx, dword [esi + 0x9a4]
mov eax, dword [esi + 0x9a0]
push ebx
push ebp
push 0x1000
push edx
push eax
call fcn.00434ce0
mov dword [esp + 0x1c], eax
add eax, 0x20
push eax
mov dword [esp + 0x24], edx
call fcn.00416a1f
add esp, 4
cmp dword [esi + 0xf58], ebp
mov ebx, eax
mov dword [esp + 0x14], ebp
jle 0x414da8
lea ecx, [esi + 0x9b0]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
push 0x44cb3c
push edx
call fcn.00433b5c
mov edi, eax
add esp, 8
test edi, edi
je 0x414d91
mov eax, dword [esp + 0x1c]
push edi
push eax
push 1
push ebx
call fcn.00433dcc
add esp, 0x10
test eax, eax
jle 0x414d88
mov ecx, dword [esp + 0x18]
push ecx
push eax
push 1
push ebx
call fcn.00433a0b
add esp, 0x10
add dword [esp + 0x14], 1
push edi
call fcn.00433875
add esp, 4
add dword [esp + 0x10], 0x128
add ebp, 1
cmp ebp, dword [esi + 0xf58]
jl 0x414d45
mov edi, dword [esp + 0x18]
push ebx
call fcn.00416a24
push edi
call fcn.00433875
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xf80]
add esp, 8
cmp edx, dword [esi + 0xf58]
pop ebx
jne 0x414df7
test eax, eax
mov dword [esi + 0xc], 6
mov dword [esi + 8], 2
je 0x414deb
mov ecx, dword [esi + 0x938]
push 6
push 2
push 0
push ecx
call eax
pop edi
pop esi
mov eax, 3
pop ebp
add esp, 0x14
ret
test eax, eax
mov dword [esi + 0xc], 7
mov dword [esi + 8], 3
je 0x414e18
mov edx, dword [esi + 0x938]
push 7
push 3
push 0
push edx
call eax
pop edi
pop esi
mov eax, 4
pop ebp
add esp, 0x14
ret
Function at 0x414e38
Capabilities:
Delete file

Disassembly:
sub esp, 0x1c
cmp dword [esp + 0x20], 0
push esi
mov esi, ecx
je 0x414f76
push ebx
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
push edi
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [esi + 0xf58]
test eax, eax
jne 0x414e65
mov eax, 1
push 1
push 1
lea ecx, [esi + 0x118c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
je 0x414ea0
mov eax, 1
cmp dword [esi + 0xf58], eax
jle 0x414f5d
mov dword [0x462bb0], eax
mov dword [esi + 0x11a0], 0
jmp 0x414ea9
cmp dword [0x462bb0], 0
je 0x414eba
mov ecx, esi
call fcn.00414c30
cmp eax, 3
je 0x414ef6
cmp eax, 4
je 0x414f26
push 1
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call ebx
test eax, eax
je 0x414e56
lea ecx, [ecx]
lea ecx, [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
call edi
push 1
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call ebx
test eax, eax
jne 0x414ed0
jmp 0x414e56
xor edi, edi
cmp dword [esi + 0xf58], edi
jle 0x414f5d
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ebx, [esi + 0x9b0]
lea esp, [esp]
push ebx
call ebp
add edi, 1
add ebx, 0x128
cmp edi, dword [esi + 0xf58]
jl 0x414f10
jmp 0x414f5d
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, 1
cmp dword [esi + 0xf58], edi
jle 0x414f54
lea ebx, [esi + 0xad8]
nop
push ebx
call ebp
add edi, 1
add ebx, 0x128
cmp edi, dword [esi + 0xf58]
jl 0x414f40
add esi, 0x834
push esi
call ebp
pop edi
pop ebp
pop ebx
mov dword [0x462bb0], 0
mov eax, 1
pop esi
add esp, 0x1c
ret 4
push 0
add esi, 0x118c
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
add eax, 1
pop esi
add esp, 0x1c
ret 4
Function at 0x414fc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0xa3c
mov eax, dword [0x460df4]
xor eax, esp
mov dword [esp + 0xa38], eax
mov eax, dword [esp + 0xa40]
push ebx
mov ebx, dword [esp + 0xa48]
push ebp
push esi
push edi
push eax
mov esi, ecx
push 0x44d3a4
lea edi, [esi + 0x10]
push 0x824
push edi
call fcn.00435107
push ebx
push 0x44d3a4
lea ebp, [esi + 0x834]
push 0x104
push ebp
call fcn.00435107
mov eax, dword [esp + 0xa7c]
mov ecx, dword [esp + 0xa78]
mov dword [esi + 0x938], eax
mov eax, edi
add esp, 0x20
mov dword [esi + 0xf80], ecx
lea edx, [eax + 1]
xor ebx, ebx
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x415037
sub eax, edx
je 0x415142
mov eax, ebp
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x415050
sub eax, edx
je 0x415142
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x228]
push eax
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
call fcn.004139d0
test eax, eax
je 0x415126
cmp dword [esp + 0x10], 0xffffffff
je 0x415126
mov eax, dword [esi + 0xf80]
cmp eax, ebx
mov dword [esi + 0xc], 1
mov dword [esi + 8], ebx
je 0x4150b5
mov ecx, dword [esi + 0x938]
push 1
push ebx
push ebx
push ecx
call eax
lea edx, [esp + 0x1c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esi + 0x1088]
push eax
push 0x104
push 0x4507a0
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea edx, [esi + 0x11a4]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea eax, [esp + 0x18]
push eax
push 0x49
push ebx
mov dword [esp + 0x24], 6
call edi
push 4
lea ecx, [esp + 0x18]
push ecx
push 0x4a
push ebx
call edi
lea ecx, [esi + 0x93c]
call fcn.00416280
mov eax, 1
jmp 0x41517e
push edi
push 0x45078c
lea edx, [esi + 0xf84]
push 0x104
push edx
call fcn.00435107
add esp, 0x10
jmp 0x41515b
push 0x4503e0
lea edx, [esi + 0xf84]
push 0x104
push edx
call fcn.00435107
add esp, 0xc
mov eax, dword [esi + 0xf80]
cmp eax, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 2
je 0x41517c
mov ecx, dword [esi + 0x938]
push 2
push ebx
push ebx
push ecx
call eax
xor eax, eax
mov ecx, dword [esp + 0xa48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00432bb9
add esp, 0xa3c
ret 0x10