joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b664
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
push 0x2c
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.00408720
push 0x2c
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.00408720
mov esi, dword [ebp + 0x1c]
xor eax, eax
mov ebx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
lea edi, [ebp - 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x34]
add esp, 0x18
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x1c], esi
xor esi, esi
push esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x28]
push esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp + 0x28]
push 0x41b3b4
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp + 0x2c]
push esi
push esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
jne 0x41b752
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x41b728
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, esi
jl 0x41b733
mov ebx, 0x80004005
push ebx
push 0x3bd
push 0x4429f2
call fcn.004314ce
push 0x443b58
push ebx
call fcn.004314ba
pop ecx
pop ecx
jmp 0x41b799
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x41b464
push dword [ebp + 0xc]
call fcn.0040d53a
mov ebx, eax
cmp ebx, esi
jge 0x41b77c
push 0x443aa8
push ebx
call fcn.004314ba
pop ecx
pop ecx
jmp 0x41b792
push edi
call fcn.00419368
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x38
Function at 0x41ba7a
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
push ebx
push ebx
stosd dword es:[edi], eax
push 1
push ebx
mov dword [ebp - 4], ebx
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x41bae3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41babf
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x41bacd
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x3b
push 0x443bb6
call fcn.004314ce
push 0x443c3a
jmp 0x41bb42
mov esi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 0x41b8c4
push ebx
push ebx
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x41bb4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41bb20
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x41bb2e
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x44
push 0x443bb6
call fcn.004314ce
push 0x443c1a
push dword [ebp - 4]
call fcn.004314ba
pop ecx
pop ecx
jmp 0x41bb69
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [ebp - 8]
mov dword [esi + 0x1e0], eax
mov dword [ebp - 8], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
je 0x41bb7c
push dword [ebp - 8]
call esi
mov dword [ebp - 8], ebx
cmp dword [ebp - 0xc], ebx
je 0x41bb86
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41c202
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x44f9f8]
xor eax, ebp
mov dword [ebp + 0x198], eax
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.00408720
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
mov esi, 0x104
push esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x41c28e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x41c269
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x41c274
mov esi, 0x80004005
push esi
push 0x24e
push 0x44403e
call fcn.004314ce
push 0x444022
jmp 0x41c33c
lea eax, [ebp - 0x78]
push eax
push esi
lea eax, [ebp - 0x70]
push eax
call fcn.0041c14a
mov esi, eax
cmp esi, edi
jge 0x41c2ac
push 0x443ffc
jmp 0x41c33c
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x41c324
push dword [ebp - 0x80]
lea eax, [ebp - 0x74]
push 0x443ff4
push eax
call fcn.0042ff9c
mov esi, eax
add esp, 0xc
cmp esi, edi
jge 0x41c2e2
push 0x443fca
jmp 0x41c33c
lea eax, [ebp - 0x7c]
push eax
push SysReAllocString
push dword [ebp - 0x74]
call fcn.0041c14a
mov esi, eax
cmp esi, edi
jge 0x41c300
push 0x443f9e
jmp 0x41c33c
push dword [ebp - 0x7c]
mov esi, dword [ebp - 0x78]
push dword [ebp - 0x74]
sub esi, dword [ebp - 0x7c]
push dword [ebp - 0x7c]
lea eax, [ebp + esi*2 - 0x70]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x41c324
mov dword [ebp - 0x78], esi
push dword [ebp - 0x78]
lea eax, [ebp - 0x70]
push eax
push ebx
call fcn.0042fa38
mov esi, eax
cmp esi, edi
jge 0x41c344
push 0x443f82
push esi
call fcn.004314ba
pop ecx
pop ecx
cmp dword [ebp - 0x74], edi
je 0x41c351
push dword [ebp - 0x74]
call fcn.0042ead8
mov ecx, dword [ebp + 0x198]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00408498
add ebp, 0x19c
leave
ret
Function at 0x41f71c
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
push edi
push edi
push 1
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x41f780
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x41f761
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x41f76c
mov esi, 0x80004005
push esi
push 0x41
push 0x445822
call fcn.004314ce
push 0x4458c2
jmp 0x41f7e3
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push 0x41f558
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x41f7ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x41f7c6
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x41f7d1
mov esi, 0x80004005
push esi
push 0x4a
push 0x445822
call fcn.004314ce
push 0x4458a6
push esi
call fcn.004314ba
pop ecx
pop ecx
jmp 0x41f7fc
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], edi
je 0x41f80f
push dword [ebp - 8]
call esi
mov dword [ebp - 8], edi
cmp dword [ebp - 0xc], edi
je 0x41f819
push dword [ebp - 0xc]
call esi
pop edi
pop esi
leave
ret 0xc

Function at 0x420954
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x44f9f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
mov esi, ecx
call fcn.00408720
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4209ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4209ac
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x4209b7
mov esi, 0x80004005
push esi
push 0x41b
push 0x445ece
call fcn.004314ce
push 0x445ea2
jmp 0x4209ef
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x43e5ec
push edi
call fcn.0042ff9c
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x4209f7
push 0x445e62
push esi
call fcn.004314ba
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00408498
leave
ret
Function at 0x420b02
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov ecx, 0x20000004
mov dword [ebp - 4], edi
cmp dword [ebp + 8], edi
je 0x420b8f
lea eax, [ebp - 4]
push eax
push 0x1a
call fcn.00420a52
mov esi, eax
cmp esi, edi
jge 0x420b3a
push 0x445fa2
jmp 0x420b80
push 2
push 8
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
jne 0x420b8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x420b60
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x420b6b
mov esi, 0x80004005
push esi
push 0x557
push 0x445ece
call fcn.004314ce
push 0x445f88
push esi
call fcn.004314ba
pop ecx
pop ecx
jmp 0x420bba
mov ecx, 0x20000005
push 0x7d0
push 3
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 4]
push ecx
push 1
push dword [ebp + 0xc]
call fcn.0043640a
push 0x80
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 4], edi
je 0x420bc7
push dword [ebp - 4]
call fcn.00431838
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x421e0c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x1e0]
sub esp, 0x260
mov eax, dword [0x44f9f8]
xor eax, ebp
mov dword [ebp + 0x1dc], eax
push ebx
push esi
mov esi, dword [ebp + 0x1ec]
xor ebx, ebx
push 0x250
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
call fcn.00408720
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push 0x4030b4
push dword [ebp + 0x1e8]
call fcn.004207ce
test eax, eax
js 0x421e70
push 7
push dword [ebp - 0x78]
call fcn.0043582a
cmp dword [ebp + 0x1e8], ebx
jne 0x421f2e
push edi
lea edi, [ebp - 0x78]
mov ecx, esi
call fcn.00420954
pop edi
test eax, eax
js 0x421f2e
lea eax, [ebp - 0x80]
push eax
push 0x446a88
push dword [ebp - 0x78]
call fcn.00430852
test eax, eax
js 0x421f2e
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x421f2e
test byte [ebp - 0x74], 0x10
jne 0x421f18
xor eax, eax
mov word [ebp + 0x1be], ax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jbe 0x421efc
push 0x2e
add eax, eax
pop ecx
cmp cx, word [ebp + eax - 0x4c]
jne 0x421efc
movzx eax, word [ebp + eax - 0x4a]
push 0x52
pop ecx
cmp cx, ax
je 0x421f18
push 0x72
pop ecx
cmp cx, ax
je 0x421f18
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x78]
call fcn.00430852
test eax, eax
js 0x421f18
push dword [ebp - 0x7c]
call fcn.00434fbe
lea eax, [ebp - 0x74]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x421ebd
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x7c], ebx
je 0x421f3b
push dword [ebp - 0x7c]
call fcn.0042ead8
cmp dword [ebp - 0x80], ebx
je 0x421f48
push dword [ebp - 0x80]
call fcn.0042ead8
cmp dword [ebp - 0x78], ebx
pop esi
pop ebx
je 0x421f57
push dword [ebp - 0x78]
call fcn.0042ead8
mov ecx, dword [ebp + 0x1dc]
xor ecx, ebp
call fcn.00408498
add ebp, 0x1e0
leave
ret 8
Function at 0x4295f2
Capabilities:
Copy file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 4]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov edi, 0x43b65e
cmp eax, ebx
je 0x429612
mov ecx, dword [eax]
jmp 0x42961f
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x42961d
mov ecx, dword [ecx]
jmp 0x42961f
mov ecx, edi
mov edx, dword [esi + 0xc]
test edx, edx
je 0x429628
mov edi, dword [edx]
test eax, eax
je 0x42963a
xor eax, eax
test edx, edx
setne al
add eax, 0x20000150
jmp 0x429649
mov eax, dword [esi + 8]
neg eax
sbb eax, eax
and eax, 3
add eax, 0x2000014f
push dword [ebp + 8]
push 0x44a5c8
push edi
push ecx
push eax
push 1
call fcn.0040c33a
add esp, 0x18
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.00434b16
test eax, eax
je 0x4296cd
test byte [ebp - 4], 1
je 0x4296cd
and dword [ebp - 4], 0xfffffffe
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4296cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x42969c
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x4296a7
mov ebx, 0x80004005
push ebx
push 0x4df
push 0x44a4a0
call fcn.004314ce
push dword [ebp + 0xc]
push 0x44a58a
push ebx
call fcn.004314ba
add esp, 0xc
jmp 0x429755
push 0
lea edi, [esi + 0x20]
push edi
push esi
push fcn.00428f54
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x429755
cmp dword [edi], ebx
je 0x429712
mov esi, 0x80070642
push esi
push 0x4e9
push 0x44a4a0
mov ebx, esi
call fcn.004314ce
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x44a55a
push esi
jmp 0x42974d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x429726
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x429731
mov ebx, 0x80004005
push ebx
push 0x4ed
push 0x44a4a0
call fcn.004314ce
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x44a526
push ebx
call fcn.004314ba
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x42975e
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [ebx + 4]
and dword [ebp - 4], 0
push esi
push edi
mov esi, 0x43b65e
test ecx, ecx
je 0x42977c
mov eax, dword [ecx]
jmp 0x429785
mov eax, dword [ebx + 8]
test eax, eax
je 0x42978a
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x42978d
mov dword [ebp - 8], esi
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x42979b
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
jmp 0x42979e
mov dword [ebp - 0xc], esi
lea esi, [ecx + 0x2c]
test ecx, ecx
jne 0x4297ce
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x14]
lea esi, [edx + 0x40]
mov dword [ebp - 0x10], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test ecx, ecx
je 0x4297d9
xor eax, eax
test edx, edx
setne al
add eax, 0x20000150
jmp 0x4297e8
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x1c]
jmp 0x4297b1
mov eax, dword [ebx + 8]
neg eax
sbb eax, eax
and eax, 3
add eax, 0x2000014f
push dword [esi]
push 0x44a5fe
push dword [ebp - 0xc]
push dword [ebp - 8]
push eax
push 1
call fcn.0040c33a
mov edi, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 4]
push eax
push edi
call fcn.00434b16
test eax, eax
je 0x42986e
test byte [ebp - 4], 1
je 0x42986e
and dword [ebp - 4], 0xfffffffe
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x42986e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x42983d
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
js 0x429848
mov edi, 0x80004005
push edi
push 0x50d
push 0x44a4a0
call fcn.004314ce
push dword [ebp + 8]
push 0x44a58a
push edi
call fcn.004314ba
add esp, 0xc
jmp 0x4298fd
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], fcn.00428f54
mov dword [ebp - 0x18], ebx
mov eax, dword [esi]
push 0x62
pop ecx
cmp cx, word [eax]
jne 0x4298cb
push 0x69
pop ecx
cmp cx, word [eax + 2]
jne 0x4298cb
push 0x74
pop ecx
cmp cx, word [eax + 4]
jne 0x4298cb
push 0x73
pop ecx
cmp cx, word [eax + 6]
jne 0x4298cb
movzx ecx, word [eax + 8]
push 0x3a
pop edx
cmp dx, cx
je 0x4298be
push 0x73
pop edx
cmp dx, cx
jne 0x4298cb
push 0x3a
pop ecx
cmp cx, word [eax + 0xa]
jne 0x4298cb
push edi
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.0042e4ce
jmp 0x4298e4
push edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push dword [ebp - 0x14]
push esi
push dword [ebp - 0xc]
push dword [ebp - 8]
push eax
push dword [ebx]
call fcn.0042dd26
mov edi, eax
test edi, edi
jns 0x4298fd
push dword [ebp + 8]
push dword [esi]
push 0x44a5ce
push edi
call fcn.004314ba
add esp, 0x10
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x42cf8e
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, dword [esp + 0xc]
or dword [esi + 0x3c], 0xffffffff
push edi
xor ebx, ebx
push ebx
push dword [esp + 0x18]
lea eax, [esi + 0x1c]
push eax
call fcn.0042fa38
mov edi, eax
cmp edi, ebx
jge 0x42cfbb
push 0x44bae2
jmp 0x42d0a0
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call edi
mov dword [esi + 0x24], eax
cmp eax, ebx
jne 0x42d005
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42cfe3
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x42cfee
mov edi, 0x80004005
push edi
push 0x78
push 0x44b6b0
call fcn.004314ce
push 0x44baba
jmp 0x42d0a0
push ebx
push ebx
push 1
push ebx
call edi
mov dword [esi + 0x28], eax
cmp eax, ebx
jne 0x42d046
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42d027
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x42d032
mov edi, 0x80004005
push edi
push 0x7b
push 0x44b6b0
call fcn.004314ce
push 0x44ba8e
jmp 0x42d0a0
push ebx
push ebx
push esi
push 0x42cd46
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
cmp eax, ebx
jne 0x42d090
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42d071
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x42d07c
mov edi, 0x80004005
push edi
push 0x7f
push 0x44b6b0
call fcn.004314ce
push 0x44ba6a
jmp 0x42d0a0
call fcn.0042c6dc
mov edi, eax
cmp edi, ebx
jge 0x42d0a8
push 0x44ba42
push edi
call fcn.004314ba
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
ret 8
Function at 0x42d364
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 8], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00420856
mov dword [ebp - 4], eax
cmp eax, ebx
jge 0x42d3a1
push dword [ebp + 8]
push 0x44bcee
push eax
call fcn.004314ba
add esp, 0xc
jmp 0x42d455
mov eax, dword [ebp + 0xc]
push ebx
push 0x80
push 4
push ebx
push 4
push 0xc0000000
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x42d407
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42d3d8
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x42d3e6
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0xd0
push 0x44bbe8
call fcn.004314ce
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0x44bccc
push dword [ebp - 4]
jmp 0x42d394
push ebx
lea eax, [ebp - 8]
push eax
push 8
pop eax
sub eax, edi
push eax
lea eax, [edi + esi]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42d45e
add edi, dword [ebp - 8]
cmp dword [ebp - 8], ebx
je 0x42d430
cmp edi, 8
jb 0x42d407
cmp edi, 8
je 0x42d43a
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
or dword [ebp + 8], 0xffffffff
mov dword [eax], ecx
cmp dword [ebp + 8], 0xffffffff
je 0x42d455
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42d472
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x42d480
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0xd7
push 0x44bbe8
call fcn.004314ce
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0x44bcac
push dword [ebp - 4]
call fcn.004314ba
add esp, 0xc
jmp 0x42d446
Function at 0x42d4aa
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push ebx
push ebx
push dword [esi + 4]
mov dword [ebp - 8], ebx
push dword [esi]
push dword [ebp + 0xc]
call fcn.0043524c
mov dword [ebp - 4], eax
cmp eax, ebx
jge 0x42d4e0
push 0x44bb78
push eax
call fcn.004314ba
pop ecx
pop ecx
jmp 0x42d64d
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x42d5c6
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x42d64c
xor edi, edi
mov dword [ebp - 0xc], ebx
push ebx
lea ecx, [ebp - 0xc]
push ecx
sub eax, edi
push eax
mov eax, dword [ebp + 0x1c]
add eax, edi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42d604
add edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xc], ebx
je 0x42d53a
cmp edi, eax
jb 0x42d50c
add dword [esi], edi
adc dword [esi + 4], ebx
cmp dword [ebp + 0x10], 0xffffffff
je 0x42d58e
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x10], ebx
call fcn.0043524c
cmp eax, ebx
jge 0x42d569
push 0x44bb78
push eax
call fcn.004314ba
pop ecx
pop ecx
jmp 0x42d58e
push ebx
lea eax, [ebp - 0x10]
push eax
push 8
pop eax
sub eax, edi
push eax
lea eax, [esi + edi*8]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
add edi, dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
je 0x42d58e
cmp edi, 8
jb 0x42d569
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x42d5b8
cmp dword [eax], ebx
je 0x42d5b8
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [esi + 4]
push dword [esi]
push eax
call fcn.0042192a
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x42d63f
cmp dword [ebp - 8], ebx
jne 0x42d4e1
jmp 0x42d64c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42d5da
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x42d5e8
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x1ad
push 0x44bbe8
call fcn.004314ce
push 0x44bd68
push dword [ebp - 4]
jmp 0x42d645
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42d618
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x42d626
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x1b9
push 0x44bbe8
call fcn.004314ce
push 0x44bd44
jmp 0x42d5ff
push 0x44bd26
push eax
call fcn.004314ba
pop ecx
pop ecx
pop edi
mov eax, dword [ebp - 4]
pop ebx
leave
ret 0x20