joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a50c
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x418]
sub esp, 0x498
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp + 0x414], eax
mov eax, dword [ebp + 0x420]
push esi
push edi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x424]
push 0x400
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x14]
push 0
push eax
mov edi, ecx
call fcn.0046d720
add esp, 0xc
mov esi, 0x4a8186
push esi
lea ecx, [ebp - 0x40]
call fcn.004023e0
mov eax, edi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x40a563
sub eax, ecx
lea ecx, [ebp - 0x40]
push ecx
sar eax, 1
push eax
push edi
call fcn.004097fb
add esp, 0xc
push esi
lea ecx, [ebp - 0x24]
call fcn.004023e0
mov eax, ebx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x40a58d
sub eax, ecx
lea ecx, [ebp - 0x24]
push ecx
sar eax, 1
push eax
push ebx
call fcn.004097fb
add esp, 0xc
push esi
lea ecx, [ebp - 8]
call fcn.004023e0
mov edi, 0x4a7dd0
mov eax, edi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x40a5bc
sub eax, ecx
lea ecx, [ebp - 8]
push ecx
sar eax, 1
push eax
push edi
call fcn.004097fb
add esp, 0xc
push esi
lea ecx, [ebp - 0x5c]
call fcn.004023e0
mov eax, dword [ebp - 0x7c]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x40a5e7
sub eax, ecx
lea ecx, [ebp - 0x5c]
push ecx
sar eax, 1
push eax
push dword [ebp - 0x7c]
call fcn.004097fb
mov esi, dword [ebp - 0x58]
add esp, 0xc
push 0x10
pop eax
cmp dword [ebp - 0x44], eax
jae 0x40a613
lea esi, [ebp - 0x58]
mov edx, dword [ebp - 4]
cmp dword [ebp + 0x10], eax
jae 0x40a61e
lea edx, [ebp - 4]
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0xc], eax
jae 0x40a629
lea ecx, [ebp - 0x20]
cmp dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
jae 0x40a634
lea eax, [ebp - 0x3c]
push esi
push 0x3ff
lea esi, [ebp + 0x14]
push esi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
lea ecx, [ebp - 0x78]
call fcn.004018ba
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a655
sub eax, ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.00409773
mov ecx, dword [ebp - 0x80]
add esp, 0xc
push 0xffffffffffffffff
xor edi, edi
push edi
lea eax, [ebp - 0x78]
push eax
call fcn.00401965
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp - 0x78]
call fcn.00401a1c
push edi
push esi
lea ecx, [ebp - 0x5c]
call fcn.004027b4
push edi
push esi
lea ecx, [ebp - 8]
call fcn.004027b4
push edi
push esi
lea ecx, [ebp - 0x24]
call fcn.004027b4
push edi
push esi
lea ecx, [ebp - 0x40]
call fcn.004027b4
mov ecx, dword [ebp + 0x414]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046d79a
add ebp, 0x418
leave
ret
Function at 0x40a704
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
push 0x400
lea eax, [ebp - 0x804]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xor ecx, ecx
cmp ecx, eax
mov ecx, dword [ebp - 4]
sbb eax, eax
neg eax
mov dword [esi], eax
xor ecx, ebp
xor eax, eax
call fcn.0046d79a
leave
ret

Function at 0x40a746
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x114
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.0046d720
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
jb 0x40a796
cmp dword [ebp - 0x70], 2
jne 0x40a796
xor eax, eax
inc eax
jmp 0x40a798
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0046d79a
add ebp, 0x98
leave
ret

Function at 0x40a7ad
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x40a7c5
mov eax, 0x80004005
jmp 0x40a85b
push ebx
push esi
mov esi, dword [ebp + 0xc]
cmp esi, edi
jne 0x40a7d3
mov esi, 0x4a7dd0
push 0x3c
pop ebx
push ebx
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0046d720
add esp, 0xc
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
cmp dword [ebp + 0x14], edi
je 0x40a802
call fcn.0040a746
mov dword [ebp - 0x30], str.runas
test eax, eax
jne 0x40a809
mov dword [ebp - 0x30], str.open
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x38], 0x440
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40a847
mov eax, dword [ebp + 0x18]
cmp eax, edi
je 0x40a843
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
xor eax, eax
jmp 0x40a859
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov eax, 0x80004005
pop esi
pop ebx
pop edi
leave
ret
Function at 0x40a85e
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b0]
sub esp, 0x230
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp + 0x1ac], eax
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x40a8ee
push 0x228
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.0046d720
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push esi
mov dword [ebp - 0x80], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40a8de
lea eax, [ebp - 0x5c]
push 0x104
push eax
call fcn.00473a3d
lea eax, [ebp - 0x5c]
push str.EXPLORER.EXE
push eax
call fcn.00470445
add esp, 0x10
test eax, eax
jne 0x40a8e4
lea eax, [ebp - 0x80]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40a8b1
jmp 0x40a8e7
mov edi, dword [ebp - 0x78]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x1ac]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0046d79a
add ebp, 0x1b0
leave
ret

Function at 0x40aa14
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x40aa2f
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 2]
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x40aa45
sub eax, edx
sar eax, 1
lea esi, [eax + ecx + 2]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046c52f
mov ebx, eax
lea eax, [esi + esi]
push eax
push 0
push ebx
call fcn.0046d720
mov eax, dword [ebp + 8]
mov ecx, ebx
add esp, 0x10
sub ecx, eax
movzx edx, word [eax]
mov word [ecx + eax], dx
inc eax
inc eax
test dx, dx
jne 0x40aa85
mov edi, ebx
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
test ax, ax
jne 0x40aa97
mov eax, dword [ebp + 0xc]
mov esi, 0x4a7984
movsd dword es:[edi], dword [esi]
mov edx, eax
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x40aaad
sub eax, edx
mov edi, ebx
dec edi
dec edi
mov cx, word [edi + 2]
inc edi
inc edi
test cx, cx
jne 0x40aabd
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, fcn.0040a746
xor edi, edi
xor esi, esi
test eax, eax
je 0x40aaef
push ebx
call fcn.0040a907
pop ecx
movzx esi, al
push 0x40
lea eax, [ebp - 0x50]
push edi
push eax
mov dword [ebp - 0x54], 0x44
call fcn.0046d720
add esp, 0xc
cmp esi, edi
jne 0x40ab22
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push 0x20
push edi
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
push ebx
call fcn.0046d446
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40abde
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x4b7f60]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [esp + 0x14]
call fcn.0040ae26
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 7
call fcn.00401ca3
and dword [esp + 0x48], 0
push edi
lea ecx, [esp + 0x30]
call fcn.004019f8
lea eax, [esp + 0x2c]
push eax
call fcn.0040ae7b
mov ecx, esi
call fcn.0040ac9b
mov eax, dword [esp + 0x20]
mov esi, eax
cmp eax, dword [esp + 0x24]
jbe 0x40ac44
call fcn.0046d3d9
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], esi
lea esi, [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.00413bce
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x40ac8e
mov edi, 0x8618000a
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.00401a1c
lea esi, [esp + 0x14]
call fcn.0040ae4e
mov ecx, dword [esp + 0x4c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0046d79a
mov esp, ebp
pop ebp
ret
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor edi, edi
jmp 0x40ac65
Function at 0x40ac9b
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
test eax, 0xffffffe0
jne 0x40acc8
xor eax, eax
inc eax
jmp 0x40ae17
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp eax, 0xffffffff
jne 0x40ace6
mov eax, 0x8618000b
jmp 0x40ae17
lea esi, [ebp - 0x250]
call fcn.0040dbe5
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x248], eax
cmp dword [edi + 0xc], eax
jbe 0x40ad04
call fcn.0046d3d9
mov eax, dword [edi]
mov esi, 0x22c
push esi
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.0046d720
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x23c]
mov dword [ebp - 0x238], esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40ae01
mov edi, dword [ebp - 0x250]
mov ebx, dword [ebp - 0x24c]
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x240], ebx
test edi, edi
je 0x40ad64
cmp edi, dword [ebp - 0x258]
je 0x40ad69
call fcn.0046d3d9
cmp ebx, dword [ebp - 0x248]
je 0x40adef
lea esi, [ebp - 0x244]
call fcn.00413bce
cmp dword [eax + 0x1c], 0
jne 0x40adce
call fcn.00413bce
cmp dword [eax + 0x18], 8
jb 0x40ad92
mov eax, dword [eax + 4]
jmp 0x40ad95
add eax, 4
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40adce
lea esi, [ebp - 0x244]
call fcn.00413bce
push dword [ebp - 0x230]
mov esi, eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esi + 0x1c], eax
test edi, edi
jne 0x40adeb
call fcn.0046d3d9
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x40ade3
call fcn.0046d3d9
add ebx, 0x20
jmp 0x40ad52
mov eax, dword [edi]
jmp 0x40add9
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x23c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40ad40
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d79a
leave
ret
Function at 0x40d682
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea esi, [ebx + 0x10c]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push edi
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
je 0x40d895
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 0x44]
call fcn.0040ebaf
lea ecx, [ebp - 0x44]
call fcn.0040e287
push eax
lea ecx, [ebp - 0x3c]
call fcn.004018dc
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 0x44]
call fcn.0040ebaf
mov edi, dword [ebp - 0x40]
push edi
push dword [esi + 0x10]
lea eax, [edi + 0x1c]
push eax
call fcn.0040f313
mov eax, dword [esi + 0x10]
add esp, 0xc
push eax
add eax, 0xffffffe4
push eax
mov ecx, esi
call fcn.0040df1e
add dword [esi + 0x10], 0xffffffe4
push esi
push edi
lea ecx, [ebp - 0x44]
call fcn.0040ebaf
mov eax, dword [ebx + 0x78]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x60]
lea edi, [ebp - 0x54]
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x54], eax
call fcn.0041680c
test al, al
jne 0x40d889
call fcn.004167e1
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.0040a3fb
test eax, eax
je 0x40d74f
call fcn.00416d97
jmp 0x40d715
call fcn.004167e1
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x40d889
lea edi, [ebx + 0xdc]
mov ecx, edi
call fcn.0040dac6
lea ecx, [ebx + 0xf4]
call fcn.0040dac6
push str..exe
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0040f2de
add esp, 0xc
push eax
mov ecx, edi
call fcn.0040da6b
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x78]
call fcn.00401a1c
push esi
lea ecx, [ebx + 0xf4]
call fcn.0040da6b
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], 7
call fcn.00401ca3
lea eax, [ebp - 0x20]
add esi, 0x16c
push eax
mov dword [ebp - 0x50], esi
call fcn.0040c75d
test eax, eax
je 0x40d863
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x44]
push eax
lea esi, [ebx + 0x60]
push esi
call fcn.0040dcfd
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [esi]
lea edi, [ebp - 0x5c]
lea esi, [ebp - 0x44]
mov dword [ebp - 0x5c], eax
call fcn.0041680c
test al, al
jne 0x40d861
call fcn.004167e1
mov esi, dword [eax + 0x1c]
push str..exe
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0x78]
push eax
mov dword [esi + 0x1a8], 5
call fcn.0040f2de
add esp, 0xc
push eax
lea ecx, [ebx + 0xdc]
call fcn.0040da6b
push 0
push 1
lea ecx, [ebp - 0x78]
call fcn.00401a1c
push esi
lea ecx, [ebx + 0xf4]
call fcn.0040da6b
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0x20]
push eax
call fcn.0040c75d
test eax, eax
jne 0x40d7d7
xor edi, edi
lea eax, [ebp - 0x48]
push eax
push edi
push ebx
push 0x40d2cf
push edi
push edi
call fcn.0046e4f5
add esp, 0x18
push edi
push 1
lea ecx, [ebp - 0x20]
mov dword [ebx + 0xd8], eax
call fcn.00401a1c
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a1c
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046d79a
leave
ret
Function at 0x40fbc7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0xc]
push esi
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40fbef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x80004005
jmp 0x40fc37
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40fbe2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x40fc18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x80004005
jmp 0x40fc36
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
and dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
push ecx
push edi
push dword [ebp + 0x10]
call fcn.00403603
add esp, 0xc
pop edi
pop esi
pop ebp
ret

Function at 0x40fc3a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40fc61
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x80004005
jmp 0x40fca9
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40fc54
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x40fc8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x80004005
jmp 0x40fca8
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push edi
push dword [ebp + 0x10]
call fcn.00403603
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x41049d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
mov esi, ecx
cmp dword [ebp + 8], edi
je 0x4104cf
lea eax, [ebp + 8]
push eax
push edi
add esi, 0xffffffdc
push esi
push 0x41073f
push edi
push edi
mov dword [ebp + 8], edi
call fcn.0046e4f5
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4104e8
lea eax, [esi - 0x24]
call fcn.00411239
push 0x64
push edi
push 0x65a
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x410817
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x250
mov eax, dword [0x4b7f60]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push edi
xor edi, edi
push edi
push 0x1f4
mov ebx, ecx
push 0x64
mov dword [esi + 0xe4], edi
push dword [ebx + 4]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
push 0x206
mov word [esp + 0x4c], ax
lea eax, [esp + 0x4e]
push edi
push eax
call fcn.0046d720
add esp, 0xc
cmp dword [esi + 0x154], 8
jb 0x41087d
mov ecx, dword [esi + 0x140]
jmp 0x410883
lea ecx, [esi + 0x140]
cmp dword [esi + 0x138], 8
jb 0x410894
mov eax, dword [esi + 0x124]
jmp 0x41089a
lea eax, [esi + 0x124]
push ecx
push eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
cmp dword [esi + 0xfc], edi
je 0x41090c
cmp dword [esi + 0x154], 8
jb 0x4108ce
mov ecx, dword [esi + 0x140]
jmp 0x4108d4
lea ecx, [esi + 0x140]
cmp dword [esi + 0x138], 8
jb 0x4108e5
mov edx, dword [esi + 0x124]
jmp 0x4108eb
lea edx, [esi + 0x124]
lea eax, [esi + 0xe8]
cmp dword [eax + 0x18], 8
jb 0x4108fc
mov eax, dword [eax + 4]
jmp 0x4108ff
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.00410d27
cmp eax, edi
je 0x410966
cmp dword [esi + 0x118], edi
je 0x410962
cmp dword [esi + 0x154], 8
jb 0x410925
mov ebx, dword [esi + 0x140]
jmp 0x41092b
lea ebx, [esi + 0x140]
cmp dword [esi + 0x138], 8
jb 0x41093c
mov edx, dword [esi + 0x124]
jmp 0x410942
lea edx, [esi + 0x124]
lea eax, [esi + 0x104]
cmp dword [eax + 0x18], 8
jb 0x410953
mov eax, dword [eax + 4]
jmp 0x410956
add eax, 4
push eax
mov ecx, esi
call fcn.00410c02
mov ebx, dword [esp + 0xc]
cmp eax, edi
jne 0x4109ce
mov eax, dword [esi + 0xdc]
cmp eax, 1
je 0x410975
cmp eax, edi
jne 0x410984
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x16c]
mov dword [esi + 0x164], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.WTL::CMessageLoop.0
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.0040fa78
push 0x64
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [esp + 0x20]
call fcn.0040fbaa
lea ecx, [esp + 0x14]
call fcn.0040fbaa
xor eax, eax
jmp 0x4109f5
push 0x64
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, esi
call fcn.00411239
push 0x64
push 1
push 0x65a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
inc eax
mov ecx, dword [esp + 0x254]
pop edi
pop ebx
xor ecx, esp
call fcn.0046d79a
mov esp, ebp
pop ebp
ret
Function at 0x4117f7
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x4b7f60]
xor eax, esp
mov dword [esp + 0x138], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov esi, edx
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x411993
cmp ebx, edi
je 0x411993
cmp ecx, edi
je 0x411993
push ebx
mov dword [esi + 8], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411858
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push 1
call dword [eax]
xor eax, eax
jmp 0x411996
push 0x4a7dd0
push dword [esp + 0x10]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x411875
mov esi, dword [esi + 8]
mov eax, dword [esi]
push edi
mov ecx, esi
jmp 0x41184f
lea eax, [esp + 0x58]
push eax
push ebx
call fcn.00473dbf
pop ecx
pop ecx
test eax, eax
jne 0x41186b
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.00473a54
pop ecx
pop ecx
test eax, eax
jne 0x41186b
lea eax, [esp + 0x18]
push eax
call fcn.00470bb9
pop ecx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.004708da
pop ecx
pop ecx
test eax, eax
jne 0x41186b
cmp dword [esi + 4], edi
jne 0x41190b
push 0x58
call fcn.0046d7c4
pop ecx
cmp eax, edi
je 0x4118eb
mov ecx, eax
call fcn.004246e6
jmp 0x4118ed
xor eax, eax
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [esi + 4]
push eax
call fcn.0042476e
mov eax, dword [esi + 4]
mov dword [eax + 0x28], esi
mov eax, dword [esi + 4]
mov dword [eax + 0x3c], edi
push 0x70
lea eax, [esp + 0xd4]
push edi
push eax
call fcn.0046d720
add esp, 0xc
lea eax, [esp + 0x88]
push eax
push 0x4a892c
lea eax, [esp + 0xd8]
push 0x38
push eax
call fcn.004743aa
add esp, 0x10
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x24]
call fcn.004018ba
push dword [esp + 0xc]
lea ecx, [esp + 0x40]
call fcn.004018ba
lea eax, [esp + 0x3c]
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00411bae
mov ebx, eax
neg ebx
push edi
sbb bl, bl
push 1
lea ecx, [esp + 0x44]
inc bl
call fcn.00401a1c
push edi
push 1
lea ecx, [esp + 0x28]
call fcn.00401a1c
xor eax, eax
test bl, bl
setne al
jmp 0x411996
xor eax, eax
inc eax
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046d79a
mov esp, ebp
pop ebp
ret 8
Function at 0x411a4c
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
push 7
pop esi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov edi, ecx
push 0
lea ecx, [ebp - 0x3c]
mov ebx, edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x24], esi
call fcn.00401ca3
push 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], esi
call fcn.00401ca3
push ebx
lea ebx, [ebp - 0x3c]
mov eax, edi
call fcn.004119ad
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x411aa9
lea eax, [ebp - 0x38]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x411aac
mov ecx, dword [ebp - 0x38]
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x24], 8
jae 0x411ac6
lea ecx, [ebp - 0x38]
mov ebx, dword [ebp - 0x48]
push ebx
push eax
push ecx
call fcn.004097fb
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x411adf
mov edi, dword [edi + 4]
jmp 0x411ae2
add edi, 4
push esi
push str.http:__
push edi
call fcn.004744b1
add esp, 0xc
test eax, eax
jne 0x411af8
add edi, 0xe
mov esi, 0x4a8970
push esi
push edi
call fcn.00470445
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
test eax, eax
jne 0x411b10
push esi
jmp 0x411b11
push eax
call fcn.004019f8
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x411b22
lea eax, [ebp - 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x411b25
mov ecx, dword [ebp - 0x1c]
sub eax, edx
sar eax, 1
cmp dword [ebp - 8], 8
jae 0x411b3f
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x44]
push eax
push ecx
call fcn.004097fb
add esp, 0xc
cmp dword [ebx + 0x18], 0x10
lea esi, [ebx + 4]
jb 0x411b59
mov eax, dword [esi]
jmp 0x411b5b
mov eax, esi
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x411b77
cmp dword [ebx + 0x18], 0x10
jb 0x411b6e
mov esi, dword [esi]
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
jmp 0x411b7e
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
push 0
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a1c
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a1c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0046d79a
leave
ret 0xc