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

Disassembly:
push ebp
lea ebp, [esp - 0x418]
sub esp, 0x498
mov eax, dword [0x4b7f10]
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.0046cbb0
add esp, 0xc
mov esi, 0x4a8056
push esi
lea ecx, [ebp - 0x40]
call fcn.004023fc
mov eax, edi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x40a4d9
sub eax, ecx
lea ecx, [ebp - 0x40]
push ecx
sar eax, 1
push eax
push edi
call fcn.004097d3
add esp, 0xc
push esi
lea ecx, [ebp - 0x24]
call fcn.004023fc
mov eax, ebx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x40a503
sub eax, ecx
lea ecx, [ebp - 0x24]
push ecx
sar eax, 1
push eax
push ebx
call fcn.004097d3
add esp, 0xc
push esi
lea ecx, [ebp - 8]
call fcn.004023fc
mov edi, 0x4a7ca0
mov eax, edi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x40a532
sub eax, ecx
lea ecx, [ebp - 8]
push ecx
sar eax, 1
push eax
push edi
call fcn.004097d3
add esp, 0xc
push esi
lea ecx, [ebp - 0x5c]
call fcn.004023fc
mov eax, dword [ebp - 0x7c]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x40a55d
sub eax, ecx
lea ecx, [ebp - 0x5c]
push ecx
sar eax, 1
push eax
push dword [ebp - 0x7c]
call fcn.004097d3
mov esi, dword [ebp - 0x58]
add esp, 0xc
push 0x10
pop eax
cmp dword [ebp - 0x44], eax
jae 0x40a589
lea esi, [ebp - 0x58]
mov edx, dword [ebp - 4]
cmp dword [ebp + 0x10], eax
jae 0x40a594
lea edx, [ebp - 4]
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0xc], eax
jae 0x40a59f
lea ecx, [ebp - 0x20]
cmp dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
jae 0x40a5aa
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.004018f6
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a5cb
sub eax, ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.0040974b
mov ecx, dword [ebp - 0x80]
add esp, 0xc
push 0xffffffffffffffff
xor edi, edi
push edi
lea eax, [ebp - 0x78]
push eax
call fcn.004019a1
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp - 0x78]
call fcn.00401a58
push edi
push esi
lea ecx, [ebp - 0x5c]
call fcn.004027d0
push edi
push esi
lea ecx, [ebp - 8]
call fcn.004027d0
push edi
push esi
lea ecx, [ebp - 0x24]
call fcn.004027d0
push edi
push esi
lea ecx, [ebp - 0x40]
call fcn.004027d0
mov ecx, dword [ebp + 0x414]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046cc2a
add ebp, 0x418
leave
ret
Function at 0x40a67a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4b7f10]
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.0046cc2a
leave
ret

Function at 0x40a6bc
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4b7f10]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x114
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.0046cbb0
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 0x40a70c
cmp dword [ebp - 0x70], 2
jne 0x40a70c
xor eax, eax
inc eax
jmp 0x40a70e
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0046cc2a
add ebp, 0x98
leave
ret

Function at 0x40a723
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 0x40a73b
mov eax, 0x80004005
jmp 0x40a7d1
push ebx
push esi
mov esi, dword [ebp + 0xc]
cmp esi, edi
jne 0x40a749
mov esi, 0x4a7ca0
push 0x3c
pop ebx
push ebx
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0046cbb0
add esp, 0xc
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
cmp dword [ebp + 0x14], edi
je 0x40a778
call fcn.0040a6bc
mov dword [ebp - 0x30], str.runas
test eax, eax
jne 0x40a77f
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 0x40a7bd
mov eax, dword [ebp + 0x18]
cmp eax, edi
je 0x40a7b9
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
xor eax, eax
jmp 0x40a7cf
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 0x40a7d4
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b0]
sub esp, 0x230
mov eax, dword [0x4b7f10]
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 0x40a864
push 0x228
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.0046cbb0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push esi
mov dword [ebp - 0x80], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40a854
lea eax, [ebp - 0x5c]
push 0x104
push eax
call fcn.00472f24
lea eax, [ebp - 0x5c]
push str.EXPLORER.EXE
push eax
call fcn.0046f8d5
add esp, 0x10
test eax, eax
jne 0x40a85a
lea eax, [ebp - 0x80]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40a827
jmp 0x40a85d
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.0046cc2a
add ebp, 0x1b0
leave
ret

Function at 0x40a98a
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 0x40a9a5
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 0x40a9bb
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.0046b9bf
mov ebx, eax
lea eax, [esi + esi]
push eax
push 0
push ebx
call fcn.0046cbb0
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 0x40a9fb
mov edi, ebx
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
test ax, ax
jne 0x40aa0d
mov eax, dword [ebp + 0xc]
mov esi, 0x4a7854
movsd dword es:[edi], dword [esi]
mov edx, eax
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x40aa23
sub eax, edx
mov edi, ebx
dec edi
dec edi
mov cx, word [edi + 2]
inc edi
inc edi
test cx, cx
jne 0x40aa33
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.0040a6bc
xor edi, edi
xor esi, esi
test eax, eax
je 0x40aa65
push ebx
call fcn.0040a87d
pop ecx
movzx esi, al
push 0x40
lea eax, [ebp - 0x50]
push edi
push eax
mov dword [ebp - 0x54], 0x44
call fcn.0046cbb0
add esp, 0xc
cmp esi, edi
jne 0x40aa98
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.0046c8d6
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40ab54
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x4b7f10]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [esp + 0x14]
call fcn.0040ad9c
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 7
call fcn.00401cdf
and dword [esp + 0x48], 0
push edi
lea ecx, [esp + 0x30]
call fcn.00401a34
lea eax, [esp + 0x2c]
push eax
call fcn.0040adf1
mov ecx, esi
call fcn.0040ac11
mov eax, dword [esp + 0x20]
mov esi, eax
cmp eax, dword [esp + 0x24]
jbe 0x40abba
call fcn.0046c869
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], esi
lea esi, [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.0040dc8b
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x40ac04
mov edi, 0x8618000a
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.00401a58
lea esi, [esp + 0x14]
call fcn.0040adc4
mov ecx, dword [esp + 0x4c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0046cc2a
mov esp, ebp
pop ebp
ret
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor edi, edi
jmp 0x40abdb
Function at 0x40ac11
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x4b7f10]
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 0x40ac3e
xor eax, eax
inc eax
jmp 0x40ad8d
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp eax, 0xffffffff
jne 0x40ac5c
mov eax, 0x8618000b
jmp 0x40ad8d
lea esi, [ebp - 0x250]
call fcn.0040db73
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x248], eax
cmp dword [edi + 0xc], eax
jbe 0x40ac7a
call fcn.0046c869
mov eax, dword [edi]
mov esi, 0x22c
push esi
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.0046cbb0
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x23c]
mov dword [ebp - 0x238], esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40ad77
mov edi, dword [ebp - 0x250]
mov ebx, dword [ebp - 0x24c]
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x240], ebx
test edi, edi
je 0x40acda
cmp edi, dword [ebp - 0x258]
je 0x40acdf
call fcn.0046c869
cmp ebx, dword [ebp - 0x248]
je 0x40ad65
lea esi, [ebp - 0x244]
call fcn.0040dc8b
cmp dword [eax + 0x1c], 0
jne 0x40ad44
call fcn.0040dc8b
cmp dword [eax + 0x18], 8
jb 0x40ad08
mov eax, dword [eax + 4]
jmp 0x40ad0b
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 0x40ad44
lea esi, [ebp - 0x244]
call fcn.0040dc8b
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 0x40ad61
call fcn.0046c869
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x40ad59
call fcn.0046c869
add ebx, 0x20
jmp 0x40acc8
mov eax, dword [edi]
jmp 0x40ad4f
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x23c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40acb6
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.0046cc2a
leave
ret
Function at 0x40d5f8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4b7f10]
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 0x40d7fe
mov ecx, esi
call fcn.0040d9de
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401918
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 0x4c]
call fcn.00403dfb
mov edi, dword [ebp - 0x48]
push edi
push dword [esi + 0x10]
lea eax, [edi + 0x1c]
push eax
call fcn.0040f196
mov eax, dword [esi + 0x10]
add esp, 0xc
push eax
add eax, 0xffffffe4
push eax
mov ecx, esi
call fcn.0040de50
add dword [esi + 0x10], 0xffffffe4
push esi
push edi
lea ecx, [ebp - 0x4c]
call fcn.00403dfb
mov eax, dword [ebx + 0x78]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x60]
lea edi, [ebp - 0x54]
lea esi, [ebp - 0x44]
mov dword [ebp - 0x54], eax
call fcn.00416974
test al, al
jne 0x40d7f2
call fcn.0040e1f5
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.0040a371
test eax, eax
je 0x40d6b8
call fcn.0040e9e4
jmp 0x40d67e
call fcn.0040e1f5
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x40d7f2
lea edi, [ebx + 0xdc]
mov ecx, edi
call fcn.0040da54
lea ecx, [ebx + 0xf4]
call fcn.0040da54
push str..exe
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0040f161
add esp, 0xc
push eax
mov ecx, edi
call fcn.0040d9f9
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x78]
call fcn.00401a58
push esi
lea ecx, [ebx + 0xf4]
call fcn.0040d9f9
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], 7
call fcn.00401cdf
lea eax, [ebp - 0x20]
add esi, 0x16c
push eax
mov dword [ebp - 0x50], esi
call fcn.0040c6d3
test eax, eax
je 0x40d7cc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4c]
push eax
lea esi, [ebx + 0x60]
push esi
call fcn.004164a3
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [esi]
lea edi, [ebp - 0x5c]
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
call fcn.00416974
test al, al
jne 0x40d7ca
call fcn.0040e1f5
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.0040f161
add esp, 0xc
push eax
lea ecx, [ebx + 0xdc]
call fcn.0040d9f9
push 0
push 1
lea ecx, [ebp - 0x78]
call fcn.00401a58
push esi
lea ecx, [ebx + 0xf4]
call fcn.0040d9f9
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0x20]
push eax
call fcn.0040c6d3
test eax, eax
jne 0x40d740
xor edi, edi
lea eax, [ebp - 0x40]
push eax
push edi
push ebx
push 0x40d245
push edi
push edi
call fcn.0046d985
add esp, 0x18
push edi
push 1
lea ecx, [ebp - 0x20]
mov dword [ebx + 0xd8], eax
call fcn.00401a58
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a58
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046cc2a
leave
ret
Function at 0x40f8e6
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 0x40f90e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x80004005
jmp 0x40f956
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40f901
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x40f937
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x80004005
jmp 0x40f955
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.0040360d
add esp, 0xc
pop edi
pop esi
pop ebp
ret

Function at 0x40f959
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 0x40f980
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x80004005
jmp 0x40f9c8
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40f973
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x40f9a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x80004005
jmp 0x40f9c7
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.0040360d
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x4101b0
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 0x4101e2
lea eax, [ebp + 8]
push eax
push edi
add esi, 0xffffffdc
push esi
push 0x410452
push edi
push edi
mov dword [ebp + 8], edi
call fcn.0046d985
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4101fb
lea eax, [esi - 0x24]
call fcn.00410f4c
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 0x41052a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x250
mov eax, dword [0x4b7f10]
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.0046cbb0
add esp, 0xc
cmp dword [esi + 0x154], 8
jb 0x410590
mov ecx, dword [esi + 0x140]
jmp 0x410596
lea ecx, [esi + 0x140]
cmp dword [esi + 0x138], 8
jb 0x4105a7
mov eax, dword [esi + 0x124]
jmp 0x4105ad
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 0x41061f
cmp dword [esi + 0x154], 8
jb 0x4105e1
mov ecx, dword [esi + 0x140]
jmp 0x4105e7
lea ecx, [esi + 0x140]
cmp dword [esi + 0x138], 8
jb 0x4105f8
mov edx, dword [esi + 0x124]
jmp 0x4105fe
lea edx, [esi + 0x124]
lea eax, [esi + 0xe8]
cmp dword [eax + 0x18], 8
jb 0x41060f
mov eax, dword [eax + 4]
jmp 0x410612
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.00410a3a
cmp eax, edi
je 0x410679
cmp dword [esi + 0x118], edi
je 0x410675
cmp dword [esi + 0x154], 8
jb 0x410638
mov ebx, dword [esi + 0x140]
jmp 0x41063e
lea ebx, [esi + 0x140]
cmp dword [esi + 0x138], 8
jb 0x41064f
mov edx, dword [esi + 0x124]
jmp 0x410655
lea edx, [esi + 0x124]
lea eax, [esi + 0x104]
cmp dword [eax + 0x18], 8
jb 0x410666
mov eax, dword [eax + 4]
jmp 0x410669
add eax, 4
push eax
mov ecx, esi
call fcn.00410915
mov ebx, dword [esp + 0xc]
cmp eax, edi
jne 0x4106e1
mov eax, dword [esi + 0xdc]
cmp eax, 1
je 0x410688
cmp eax, edi
jne 0x410697
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.0040f797
push 0x64
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [esp + 0x20]
call fcn.0040f8c9
lea ecx, [esp + 0x14]
call fcn.0040f8c9
xor eax, eax
jmp 0x410708
push 0x64
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, esi
call fcn.00410f4c
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.0046cc2a
mov esp, ebp
pop ebp
ret
Function at 0x411574
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x4b7f10]
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 0x411710
cmp ebx, edi
je 0x411710
cmp ecx, edi
je 0x411710
push ebx
mov dword [esi + 8], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4115d5
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push 1
call dword [eax]
xor eax, eax
jmp 0x411713
push 0x4a7ca0
push dword [esp + 0x10]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x4115f2
mov esi, dword [esi + 8]
mov eax, dword [esi]
push edi
mov ecx, esi
jmp 0x4115cc
lea eax, [esp + 0x58]
push eax
push ebx
call fcn.004732a6
pop ecx
pop ecx
test eax, eax
jne 0x4115e8
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.00472f3b
pop ecx
pop ecx
test eax, eax
jne 0x4115e8
lea eax, [esp + 0x18]
push eax
call fcn.00470049
pop ecx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.0046fd6a
pop ecx
pop ecx
test eax, eax
jne 0x4115e8
cmp dword [esi + 4], edi
jne 0x411688
push 0x58
call fcn.0046cc54
pop ecx
cmp eax, edi
je 0x411668
mov ecx, eax
call fcn.004243da
jmp 0x41166a
xor eax, eax
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [esi + 4]
push eax
call fcn.00424462
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.0046cbb0
add esp, 0xc
lea eax, [esp + 0x88]
push eax
push 0x4a87bc
lea eax, [esp + 0xd8]
push 0x38
push eax
call fcn.00473891
add esp, 0x10
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x24]
call fcn.004018f6
push dword [esp + 0xc]
lea ecx, [esp + 0x40]
call fcn.004018f6
lea eax, [esp + 0x3c]
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.0041192b
mov ebx, eax
neg ebx
push edi
sbb bl, bl
push 1
lea ecx, [esp + 0x44]
inc bl
call fcn.00401a58
push edi
push 1
lea ecx, [esp + 0x28]
call fcn.00401a58
xor eax, eax
test bl, bl
setne al
jmp 0x411713
xor eax, eax
inc eax
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046cc2a
mov esp, ebp
pop ebp
ret 8
Function at 0x4117c9
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4b7f10]
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.00401cdf
push 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], esi
call fcn.00401cdf
push ebx
lea ebx, [ebp - 0x3c]
mov eax, edi
call fcn.0041172a
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x411826
lea eax, [ebp - 0x38]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x411829
mov ecx, dword [ebp - 0x38]
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x24], 8
jae 0x411843
lea ecx, [ebp - 0x38]
mov ebx, dword [ebp - 0x48]
push ebx
push eax
push ecx
call fcn.004097d3
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x41185c
mov edi, dword [edi + 4]
jmp 0x41185f
add edi, 4
push esi
push str.http:__
push edi
call fcn.00473998
add esp, 0xc
test eax, eax
jne 0x411875
add edi, 0xe
mov esi, 0x4a8800
push esi
push edi
call fcn.0046f8d5
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
test eax, eax
jne 0x41188d
push esi
jmp 0x41188e
push eax
call fcn.00401a34
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x41189f
lea eax, [ebp - 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4118a2
mov ecx, dword [ebp - 0x1c]
sub eax, edx
sar eax, 1
cmp dword [ebp - 8], 8
jae 0x4118bc
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x44]
push eax
push ecx
call fcn.004097d3
add esp, 0xc
cmp dword [ebx + 0x18], 0x10
lea esi, [ebx + 4]
jb 0x4118d6
mov eax, dword [esi]
jmp 0x4118d8
mov eax, esi
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x4118f4
cmp dword [ebx + 0x18], 0x10
jb 0x4118eb
mov esi, dword [esi]
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
jmp 0x4118fb
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.00401a58
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a58
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0046cc2a
leave
ret 0xc