joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430fb7
Capabilities:
Print debug messages

Disassembly:
push 0xa4
mov eax, 0x4debbe
call fcn.004b698d
mov edi, edx
mov esi, ecx
push 7
lea ecx, [ebp - 0xb0]
call fcn.004136e8
xor ebx, ebx
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], ebx
call fcn.0044f924
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0043147f
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x98], esp
push eax
call fcn.00413800
push str.timestamp__timestamp
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 3
call fcn.00414869
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00413a3c
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.00418d87
push ebx
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.0042889e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x98], esp
push esi
call fcn.004137ce
push 0x645f68
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.00414869
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.00413a3c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x98], esp
push edi
call fcn.00413842
push str.data
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
call fcn.00414869
mov ecx, eax
call fcn.00413a3c
lea ecx, [ebp - 0x48]
call fcn.004155de
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x48]
call fcn.00415606
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov esi, dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
push 0x4f3d40
call esi
push ecx
push dword [0x66dc6c]
lea ecx, [ebp - 0x94]
call fcn.00450e12
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 8
push eax
mov ecx, 0x66dc70
call fcn.004148c1
lea ecx, [ebp - 0x94]
call fcn.00450ea1
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00418d87
lea ecx, [ebp - 0x48]
call fcn.00411982
lea ecx, [ebp - 0xb0]
call fcn.00413989
call fcn.004b6937
ret
Function at 0x43112e
Capabilities:
Print debug messages

Disassembly:
push 0xa4
mov eax, 0x4debbe
call fcn.004b698d
mov edi, edx
mov esi, ecx
push 7
lea ecx, [ebp - 0xb0]
call fcn.004136e8
xor ebx, ebx
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], ebx
call fcn.0044f924
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0043147f
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x98], esp
push eax
call fcn.00413800
push str.timestamp__timestamp
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 3
call fcn.00414869
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00413a3c
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.00418d87
push ebx
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.0042889e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x98], esp
push esi
call fcn.004137ce
push 0x645f68
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.00414869
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.00413a3c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x98], esp
push dword [edi]
call fcn.004136e8
push str.data
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
call fcn.00414869
mov ecx, eax
call fcn.00413a3c
lea ecx, [ebp - 0x48]
call fcn.004155de
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x48]
call fcn.00415606
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov esi, dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
push 0x4f3d40
call esi
push ecx
push dword [0x66dc6c]
lea ecx, [ebp - 0x94]
call fcn.00450e12
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 8
push eax
mov ecx, 0x66dc70
call fcn.004148c1
lea ecx, [ebp - 0x94]
call fcn.00450ea1
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00418d87
lea ecx, [ebp - 0x48]
call fcn.00411982
lea ecx, [ebp - 0xb0]
call fcn.00413989
call fcn.004b6937
ret
Function at 0x43217d
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x28
mov eax, 0x4ded73
call fcn.004b698d
mov esi, ecx
push ecx
push dword [esi + 8]
lea ecx, [ebp - 0x2c]
call fcn.00450e12
and dword [ebp - 4], 0
cmp dword [esi + 0x24], 0
je 0x4321f0
and dword [ebp - 0x34], 0
lea edi, [esi + 0x14]
xor bl, bl
cmp dword [edi + 0x14], 0x10
jb 0x4321b4
mov eax, dword [edi]
jmp 0x4321b6
mov eax, edi
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0
push 1
push dword [esi + 0x24]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x432204
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x26e
movzx eax, byte [esi + 4]
push str.HTTPSRequest::ValidateServerCert:_d___CryptStringToBinaryA_failed___d_
push eax
push 0
call fcn.00438d22
add esp, 0x14
xor bl, bl
lea ecx, [ebp - 0x2c]
call fcn.00450ea1
mov al, bl
call fcn.004b6937
ret 4
push 0x66c00c
push dword [ebp - 0x34]
call fcn.004b66aa
mov dword [ebp - 0x30], eax
pop ecx
pop ecx
test eax, eax
jne 0x432230
movzx eax, byte [esi + 4]
push str.ValidateServerCert:_memory_allocation_failed
push eax
push 0
call fcn.00438d22
add esp, 0xc
jmp 0x4321f0
cmp dword [edi + 0x14], 0x10
jb 0x432238
mov edi, dword [edi]
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
push eax
push 1
push dword [esi + 0x24]
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x432262
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x27e
jmp 0x4321dc
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
cmp dword [eax + 8], edx
jne 0x432296
xor edi, edi
mov bl, 1
test edx, edx
je 0x432296
mov eax, dword [eax + 4]
mov ecx, esi
sub eax, esi
mov dword [ebp - 0x30], eax
mov al, byte [eax + ecx]
cmp al, byte [ecx]
jne 0x432294
mov eax, dword [ebp - 0x30]
inc edi
inc ecx
cmp edi, edx
jb 0x432282
jmp 0x432296
xor bl, bl
push 1
push esi
call fcn.004b65fb
pop ecx
pop ecx
jmp 0x4321f2
Function at 0x433ee3
Capabilities:
Check for time delay via gettickcount
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
cmp dword [esi + 0x24], ecx
je 0x4340e3
mov ebx, dword [ebp + 8]
cmp byte [esi + 0xa8], cl
jne 0x433f0f
test bl, bl
jne 0x433f0f
mov eax, ecx
jmp 0x433f12
xor eax, eax
inc eax
mov byte [esi + 0xa8], al
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x74], ecx
jne 0x433f2c
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esi + 0x74], eax
xor ecx, ecx
push ecx
lea eax, [esp + 0x14]
push eax
push ecx
push ecx
push ecx
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.DLL_PeekNamedPipe]
test eax, eax
jne 0x433f6b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x1a4
push str.LocalProxy::ProcessStatsAndStatus
push str._s:_d___PeekNamedPipe_failed___d_
push 0
push 0
call fcn.00438d22
add esp, 0x18
xor al, al
jmp 0x4340e5
mov eax, dword [esp + 0x10]
test eax, eax
je 0x433fd4
inc eax
push eax
call fcn.004b6609
and dword [esp + 0x18], 0
mov edi, eax
pop ecx
push 0
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push edi
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x433fbd
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x1af
push str.LocalProxy::ProcessStatsAndStatus
push str._s:_d___ReadFile_failed___d_
push 0
push 0
call fcn.00438d22
add esp, 0x18
mov eax, dword [esp + 0x10]
mov ecx, esi
push edi
mov byte [edi + eax], 0
call fcn.0043440c
push edi
call fcn.004b5e40
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edi, eax
cmp edi, dword [esi + 0x74]
jae 0x433fe5
and dword [esi + 0x74], 0
test bl, bl
jne 0x43400c
mov eax, dword [esi + 0x74]
add eax, dword [0x666d34]
cmp eax, edi
jb 0x43400c
mov eax, dword [0x666d30]
cmp dword [esi + 0x7c], eax
jae 0x43400c
cmp dword [esi + 0x84], eax
jb 0x4340e3
mov ecx, str.non_final
test bl, bl
mov eax, str.final
cmove eax, ecx
push eax
push str.LocalProxy::ProcessStatsAndStatus
push str._s:_Sending__s_stats.
push 1
push 0
call fcn.00438d22
mov ecx, dword [esi + 0x24]
lea edx, [esi + 0x80]
add esp, 0x14
mov eax, dword [ecx]
push dword [esi + 0x8c]
push dword [esi + 0x88]
push edx
lea edx, [esi + 0x78]
push edx
push ebx
call dword [eax]
push str.LocalProxy::ProcessStatsAndStatus
test al, al
je 0x4340be
push str._s:_Stats_send_success
push 1
push 0
call fcn.00438d22
lea eax, [esp + 0x24]
mov dword [0x666d30], 0x3e8
mov ebx, 0x493e0
push eax
mov dword [0x666d34], ebx
call fcn.004c4f31
mov eax, dword [esp + 0x28]
lea ecx, [esi + 0x78]
xor edx, edx
add esp, 0x14
div ebx
add dword [0x666d34], edx
call fcn.00434892
lea ecx, [esi + 0x80]
call fcn.00434892
and dword [esi + 0x88], 0
and dword [esi + 0x8c], 0
mov dword [esi + 0x74], edi
jmp 0x4340e3
push str._s:_Stats_send_failure
push 1
push 0
call fcn.00438d22
add dword [0x666d34], 0x493e0
add esp, 0x10
add dword [0x666d30], 0x3e8
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x439337
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push 0
push eax
mov esi, ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x439356
xor al, al
jmp 0x439395
mov edx, dword [ebp - 4]
mov eax, edx
shr eax, 6
mov ecx, edx
push ebx
xor ebx, ebx
shr ecx, 5
inc ebx
and al, bl
and cl, bl
mov byte [esi], al
mov eax, edx
shr eax, 1
and al, bl
mov byte [esi + 3], cl
mov byte [esi + 1], al
mov ecx, edx
mov al, dl
shr ecx, 2
and al, bl
shr edx, 4
and cl, bl
mov byte [esi + 2], al
and dl, bl
mov byte [esi + 4], cl
mov al, bl
mov byte [esi + 5], dl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44244e
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov bl, 1
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4425ac
mov edx, 0x10000000
cmp eax, 0x7c
je 0x4425ac
cmp eax, 0x29
jne 0x442489
cmp dword [esi + 0x10], 0
jne 0x4425ac
test dword [esi + 0x50], edx
je 0x4425b2
cmp eax, 0x2e
jne 0x4424a4
push 5
lea ecx, [esi + 0x24]
call fcn.00442690
mov ecx, esi
call fcn.0044242b
jmp 0x442594
cmp eax, 0x5c
jne 0x4424ff
mov ecx, esi
call fcn.0044242b
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x4424d6
cmp byte [esi + 0x48], 0x62
jne 0x4424d6
push 4
lea ecx, [esi + 0x24]
call fcn.00442690
mov ecx, esi
call fcn.0044242b
jmp 0x44259b
test eax, eax
je 0x4424f3
cmp byte [esi + 0x48], 0x42
jne 0x4424f3
push 4
lea ecx, [esi + 0x24]
call fcn.00442690
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4424ca
mov ecx, esi
call fcn.00442714
jmp 0x442594
cmp eax, 0x5b
jne 0x44251f
mov ecx, esi
call fcn.0044242b
mov ecx, esi
call fcn.004426c8
cmp dword [esi + 0x4c], 0x5d
je 0x442498
push 4
jmp 0x4425b4
cmp eax, 0x28
jne 0x44253c
mov ecx, esi
call fcn.0044242b
mov ecx, esi
call fcn.004427f7
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x442589
jmp 0x4425b2
cmp eax, 0x5e
jne 0x442548
push 2
jmp 0x4424c2
cmp eax, 0x24
jne 0x442554
push 3
jmp 0x4424c2
cmp eax, 0x2a
je 0x4425a8
cmp eax, 0x2b
je 0x4425a8
cmp eax, 0x3f
je 0x4425a8
cmp eax, 0x7b
je 0x4425a8
cmp eax, 0x7d
jne 0x442572
test dword [esi + 0x50], edx
je 0x4425a4
cmp eax, 0x5d
jne 0x44257c
test dword [esi + 0x50], edx
je 0x442518
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00442951
mov ecx, esi
call fcn.0044242b
test bl, bl
je 0x44259b
mov ecx, esi
call fcn.0044288d
mov cl, 1
mov bl, cl
jmp 0x442457
push 6
jmp 0x4425b4
push 0xa
jmp 0x4425b4
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.004a159a
int3
Function at 0x446ceb
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov bl, 1
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x446e4f
mov edx, 0x10000000
cmp eax, 0x7c
je 0x446e4f
cmp eax, 0x29
jne 0x446d26
cmp dword [esi + 0x10], 0
jne 0x446e4f
test dword [esi + 0x50], edx
je 0x446e55
cmp eax, 0x2e
jne 0x446d41
push 5
lea ecx, [esi + 0x24]
call fcn.00442690
mov ecx, esi
call fcn.00446cc6
jmp 0x446e37
cmp eax, 0x5c
jne 0x446d9e
mov ecx, esi
call fcn.00446cc6
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x446d74
cmp word [esi + 0x48], 0x62
jne 0x446d74
push 4
lea ecx, [esi + 0x24]
call fcn.00442690
mov ecx, esi
call fcn.00446cc6
jmp 0x446e3e
test eax, eax
je 0x446d92
cmp word [esi + 0x48], 0x42
jne 0x446d92
push 4
lea ecx, [esi + 0x24]
call fcn.00442690
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x446d68
mov ecx, esi
call fcn.004475ae
jmp 0x446e37
cmp eax, 0x5b
jne 0x446dc2
mov ecx, esi
call fcn.00446cc6
mov ecx, esi
call fcn.00447562
cmp dword [esi + 0x4c], 0x5d
je 0x446d35
push 4
jmp 0x446e57
cmp eax, 0x28
jne 0x446ddf
mov ecx, esi
call fcn.00446cc6
mov ecx, esi
call fcn.00447691
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x446e2c
jmp 0x446e55
cmp eax, 0x5e
jne 0x446deb
push 2
jmp 0x446d60
cmp eax, 0x24
jne 0x446df7
push 3
jmp 0x446d60
cmp eax, 0x2a
je 0x446e4b
cmp eax, 0x2b
je 0x446e4b
cmp eax, 0x3f
je 0x446e4b
cmp eax, 0x7b
je 0x446e4b
cmp eax, 0x7d
jne 0x446e15
test dword [esi + 0x50], edx
je 0x446e47
cmp eax, 0x5d
jne 0x446e1f
test dword [esi + 0x50], edx
je 0x446dbb
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004477eb
mov ecx, esi
call fcn.00446cc6
test bl, bl
je 0x446e3e
mov ecx, esi
call fcn.00447727
mov cl, 1
mov bl, cl
jmp 0x446cf4
push 6
jmp 0x446e57
push 0xa
jmp 0x446e57
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.004a159a
int3
Function at 0x44df6f
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x666498]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov edi, ecx
mov dword [ebp - 0x238], 0x22c
push 2
mov dword [ebp - 0x23c], edi
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x238]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
jmp 0x44e039
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004c6191
pop ecx
pop ecx
test eax, eax
jne 0x44e02b
push dword [ebp - 0x230]
push eax
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
je 0x44dff9
push 0x1388
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x44e01e
push dword [ebp - 0x23c]
push str.TerminateProcess_failed_for_process_with_name__s
push 0
push 0
call fcn.00438d22
push str.Please_terminate_this_process_manually
push 0
push 0
call fcn.00438d22
add esp, 0x1c
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, dword [ebp - 0x23c]
lea eax, [ebp - 0x238]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x44dfb5
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b5e2f
mov esp, ebp
pop ebp
ret
Function at 0x44e058
Capabilities:
Write file on windows

Disassembly:
push 0x23c
mov eax, 0x4e1e66
call fcn.004b698d
mov edi, edx
mov dword [ebp - 0x23c], edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x244]
movzx ecx, cx
push eax
mov dword [ebp - 0x248], esi
call fcn.0045026f
pop ecx
pop ecx
test al, al
jne 0x44e0b3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.ExtractExecutable___GetResourceBytes_failed___d_
xor ebx, ebx
push ebx
push ebx
call fcn.00438d22
add esp, 0x10
xor al, al
jmp 0x44e24e
xor ebx, ebx
lea ecx, [ebp - 0x230]
push ebx
push ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
call fcn.0042889e
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], ebx
call fcn.0044e254
test al, al
jne 0x44e0f1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.ExtractExecutable___GetTempPath_failed___d_
jmp 0x44e22a
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x44e129
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.ExtractExecutable___PathCombine_failed___d_
jmp 0x44e22a
mov byte [ebp - 0x231], bl
jmp 0x44e169
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp byte [ebp - 0x231], 0
jne 0x44e206
cmp eax, 0x20
jne 0x44e206
cmp byte [ebp + 0xc], 0
jne 0x44e1f5
mov ecx, dword [ebp - 0x23c]
call fcn.0044df6f
mov byte [ebp - 0x231], 1
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44e131
mov esi, dword [ebp - 0x240]
lea eax, [ebp - 0x238]
push ebx
push eax
push esi
push dword [ebp - 0x244]
mov dword [ebp - 0x238], ebx
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x44e20e
cmp dword [ebp - 0x238], esi
jne 0x44e20e
push edi
call dword [sym.imp.KERNEL32.DLL_FlushFileBuffers]
test eax, eax
je 0x44e20e
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x218]
push eax
call fcn.00426fb7
pop ecx
mov ecx, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00426f3e
mov byte [ebp - 0x231], 1
jmp 0x44e23a
lea eax, [ebp - 0x218]
push eax
call fcn.00426fb7
pop ecx
mov ecx, esi
jmp 0x44e1df
push eax
push str.ExtractExecutable___CreateFile_failed___d_
jmp 0x44e22a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push esi
push str.ExtractExecutable___WriteFile_FlushFileBuffers_failed___d_
push ebx
push ebx
call fcn.00438d22
add esp, 0x10
mov byte [ebp - 0x231], bl
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.0042889e
mov al, byte [ebp - 0x231]
call fcn.004b6937
ret
Function at 0x44e254
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x666498]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
and dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x44e278
mov eax, dword [esi]
jmp 0x44e27a
mov eax, esi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
cmp eax, 0xf6
ja 0x44e2bc
test eax, eax
je 0x44e2bc
lea eax, [ebp - 0x20c]
push eax
call fcn.00426fb7
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00426f3e
mov al, 1
jmp 0x44e2be
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b5e2f
mov esp, ebp
pop ebp
ret

Function at 0x44e2cd
Capabilities:
Create directory

Disassembly:
push 0x80
mov eax, 0x4e1eb1
call fcn.004b698d
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x8c], ebx
jb 0x44e2f3
mov eax, dword [esi]
jmp 0x44e2f5
mov eax, esi
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x40]
push ebx
push ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0042889e
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.0044e254
test al, al
je 0x44e3eb
push ebx
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0042889e
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0044e3ff
test al, al
je 0x44e3df
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
call fcn.0042d004
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.0042d129
push eax
lea ecx, [ebp - 0x58]
call fcn.004270d4
push ebx
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
call fcn.0042889e
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.0042d08e
cmp dword [eax + 0x14], 8
jb 0x44e38e
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov ebx, eax
lea ecx, [ebp - 0x70]
push 0
neg ebx
push 1
sbb bl, bl
call fcn.0042889e
add bl, 1
je 0x44e3b1
xor bl, bl
jmp 0x44e3d3
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.0042d08e
push eax
mov ecx, esi
call fcn.004287de
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.0042889e
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.0042889e
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0042889e
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0042889e
mov al, bl
call fcn.004b6937
ret
Function at 0x44e509
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ecx + 0x14], 8
push ebx
push esi
push edi
mov edi, edx
jb 0x44e51a
mov ecx, dword [ecx]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44e56b
cmp dword [edi + 0x14], 0x10
lea ebx, [edi + 0x10]
jb 0x44e545
mov edi, dword [edi]
push 0
lea eax, [ebp - 4]
push eax
push dword [ebx]
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x44e56b
mov eax, dword [ebp - 4]
cmp eax, dword [ebx]
jne 0x44e56b
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, 1
jmp 0x44e59f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
cmp esi, 0xffffffff
je 0x44e586
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push edi
push 0x649b60
push str._s___write_file_failed___d_
push 0
push 0
call fcn.00438d22
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e5a6
Capabilities:
Act as tcp client
Check for time delay via gettickcount
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e4
mov eax, dword [0x666498]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0xfffe
mov dword [ebp - 0x1e0], eax
mov ebx, edx
push edi
lea eax, [esi - 1]
cmp ax, cx
ja 0x44e751
lea eax, [ebp - 0x1d0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 2
pop eax
push str.127.0.0.1
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
or edi, 0xffffffff
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x1d4], eax
call esi
mov dword [ebp - 0x1d8], eax
call esi
mov ecx, dword [ebp - 0x1d8]
cmp eax, ecx
jb 0x44e72f
add ecx, ebx
mov ebx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1e4], ecx
xor esi, esi
cmp eax, ecx
jae 0x44e72f
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x44e6de
push 0x10
push dword [ebp - 0x1d4]
push edi
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x44e6de
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x44e6de
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x44e6de
push esi
push 0x64
push 1
lea eax, [ebp - 0x1d4]
push eax
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
test eax, eax
jne 0x44e6de
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x1d4]
push edi
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x44e6de
test byte [ebp - 0x40], 0x10
je 0x44e6de
cmp dword [ebp - 0x2c], esi
je 0x44e734
mov eax, dword [ebp - 0x1dc]
test eax, eax
je 0x44e6f4
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x44e721
mov edx, dword [ebp - 0x1e0]
mov ecx, dword [edx]
test ecx, ecx
je 0x44e70c
mov eax, dword [ecx]
push esi
push dword [edx + 4]
call dword [eax]
test eax, eax
jne 0x44e728
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp eax, ebx
jb 0x44e72f
mov ecx, dword [ebp - 0x1e4]
jmp 0x44e652
mov esi, 0x24f
jmp 0x44e734
mov esi, 0x3e3
jmp 0x44e734
mov esi, 0x102
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [ebp - 0x1d4]
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, esi
jmp 0x44e756
mov eax, 0x704
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b5e2f
mov esp, ebp
pop ebp
ret