joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4022d5
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20f4
push ebx
push esi
push edi
push edx
push edx
add esp, 4
add edx, 0xfbbb
pop edx
push eax
add eax, 0xb3be
sub eax, 0x40a5
xor eax, 0x956a
pop eax
push ebx
push ebx
add esp, 4
xor ebx, 0xaa93
and ebx, 0x17fc8
pop ebx
mov eax, 0x4d
mov word [ebp - 0x2030], ax
mov ecx, 0x42
mov word [ebp - 0x202e], cx
mov edx, 0x53
mov word [ebp - 0x202c], dx
mov eax, 0x65
mov word [ebp - 0x202a], ax
mov ecx, 0x72
mov word [ebp - 0x2028], cx
mov edx, 0x76
mov word [ebp - 0x2026], dx
mov eax, 0x69
mov word [ebp - 0x2024], ax
mov ecx, 0x63
mov word [ebp - 0x2022], cx
mov edx, 0x65
mov word [ebp - 0x2020], dx
mov eax, 0x2e
mov word [ebp - 0x201e], ax
mov ecx, 0x65
mov word [ebp - 0x201c], cx
mov edx, 0x78
mov word [ebp - 0x201a], dx
mov eax, 0x65
mov word [ebp - 0x2018], ax
xor ecx, ecx
mov word [ebp - 0x2016], cx
mov dword [ebp - 0x1064], 1
push edi
or edi, 0x13d72
and edi, 0xf651
jmp 0x4021b9
pop edi
push ecx
push edi
add esp, 4
jmp 0x4021c6
sub ecx, 0x115a6
pop ecx
push ecx
and ecx, 0x5501
pop ecx
imul edx, dword [ebp - 0x1064], 0x138
add edx, 0x55f3663b
imul eax, dword [ebp - 0x1064], 0x138
sub edx, eax
xor edx, 0xabe912
imul edx, dword [ebp - 0x1064]
imul ecx, dword [ebp - 0x1064], 0x138
sub edx, ecx
mov dword [ebp - 0x1068], edx
push ebx
jmp 0x402218
jmp 0x402220
call fcn.00402230
add byte [edi + 0x50], cl
aaa
dec ebx
aaa
dec esi
dec ecx
inc eax
cmp dword [ebp - 0x7d], eax
add esp, 4
pop ebx
push eax
and eax, 0x1641
or eax, 0x189d
pop eax
mov dword [ebp - 0x10], 1
push edx
sub edx, 0x4e39
jmp 0x402257
sub edx, 0x116bd
jmp 0x402262
pop edx
push ecx
and ecx, 0x5e87
call 0x402277
add byte [ecx + 0x41], cl
xor ecx, dword [edx + 0x46]
dec edi
dec eax
add esp, 4
pop ecx
imul edx, dword [ebp - 0x10], 0x138
add edx, 0x55f3663b
imul eax, dword [ebp - 0x10], 0x138
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0x138
cmp byte [ecx], al
add byte [eax], al
sub edx, ecx
mov dword [ebp - 0x14], edx
push edx
add edx, 0x9ac1
xor edx, 0xec2b
call 0x4022c3
or al, byte [eax]
add byte [eax], al
add byte [esi], dh
cmp cl, byte [ecx + 0x37]
inc ebp
inc edi
inc edi
dec eax
xor eax, 0xe804c483
or al, byte [eax]
add byte [eax], al
add byte [edx + 0x46], cl
xor eax, 0x413d4b3a
inc ebp
xor al, byte [ebx + 0x515a04c4]
push ecx
add esp, 4
xor ecx, 0x65d5
and ecx, 0xa52c
pop ecx
push esi
xor esi, 0x107d5
xor esi, 0x11978
call 0x402307
add byte [eax + 0x48], cl
inc esi
cmp eax, 0x36393d45
push eax
add esp, 4
pop esi
mov dword [ebp - 0x2c], 1
push esi
push eax
add esp, 4
add esi, 0xe3ad
call 0x402329
add byte [esi + 0x39], al
cmp dh, byte [esi]
aas
push eax
add esp, 4
call 0x402339
add byte [ecx], bh
inc edi
dec esp
push eax
xor al, 0x50
add esp, 4
jmp 0x402343
pop esi
imul edx, dword [ebp - 0x2c], 0x138
add edx, 0x55f3663b
imul eax, dword [ebp - 0x2c], 0x138
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0x138
sub edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x402525
mov ecx, dword [ebp - 0x1068]
invalid
xchg ebp, eax
pushfd
Function at 0x402307
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20f4
push ebx
push esi
push edi
push edx
push edx
add esp, 4
add edx, 0xfbbb
pop edx
push eax
add eax, 0xb3be
sub eax, 0x40a5
xor eax, 0x956a
pop eax
push ebx
push ebx
add esp, 4
xor ebx, 0xaa93
and ebx, 0x17fc8
pop ebx
mov eax, 0x4d
mov word [ebp - 0x2030], ax
mov ecx, 0x42
mov word [ebp - 0x202e], cx
mov edx, 0x53
mov word [ebp - 0x202c], dx
mov eax, 0x65
mov word [ebp - 0x202a], ax
mov ecx, 0x72
mov word [ebp - 0x2028], cx
mov edx, 0x76
mov word [ebp - 0x2026], dx
mov eax, 0x69
mov word [ebp - 0x2024], ax
mov ecx, 0x63
mov word [ebp - 0x2022], cx
mov edx, 0x65
mov word [ebp - 0x2020], dx
mov eax, 0x2e
mov word [ebp - 0x201e], ax
mov ecx, 0x65
mov word [ebp - 0x201c], cx
mov edx, 0x78
mov word [ebp - 0x201a], dx
mov eax, 0x65
mov word [ebp - 0x2018], ax
xor ecx, ecx
mov word [ebp - 0x2016], cx
mov dword [ebp - 0x1064], 1
push edi
or edi, 0x13d72
and edi, 0xf651
jmp 0x4021b9
pop edi
push ecx
push edi
add esp, 4
jmp 0x4021c6
sub ecx, 0x115a6
pop ecx
push ecx
and ecx, 0x5501
pop ecx
imul edx, dword [ebp - 0x1064], 0x138
add edx, 0x55f3663b
imul eax, dword [ebp - 0x1064], 0x138
sub edx, eax
xor edx, 0xabe912
imul edx, dword [ebp - 0x1064]
imul ecx, dword [ebp - 0x1064], 0x138
sub edx, ecx
mov dword [ebp - 0x1068], edx
push ebx
jmp 0x402218
jmp 0x402220
call fcn.00402230
add byte [edi + 0x50], cl
aaa
dec ebx
aaa
dec esi
dec ecx
inc eax
cmp dword [ebp - 0x7d], eax
add esp, 4
pop ebx
push eax
and eax, 0x1641
or eax, 0x189d
pop eax
mov dword [ebp - 0x10], 1
push edx
sub edx, 0x4e39
jmp 0x402257
sub edx, 0x116bd
jmp 0x402262
pop edx
push ecx
and ecx, 0x5e87
call 0x402277
add byte [ecx + 0x41], cl
xor ecx, dword [edx + 0x46]
dec edi
dec eax
add esp, 4
pop ecx
imul edx, dword [ebp - 0x10], 0x138
add edx, 0x55f3663b
imul eax, dword [ebp - 0x10], 0x138
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0x138
cmp byte [ecx], al
add byte [eax], al
sub edx, ecx
mov dword [ebp - 0x14], edx
push edx
add edx, 0x9ac1
xor edx, 0xec2b
call 0x4022c3
or al, byte [eax]
add byte [eax], al
add byte [esi], dh
cmp cl, byte [ecx + 0x37]
inc ebp
inc edi
inc edi
dec eax
xor eax, 0xe804c483
or al, byte [eax]
add byte [eax], al
add byte [edx + 0x46], cl
xor eax, 0x413d4b3a
inc ebp
xor al, byte [ebx + 0x515a04c4]
push ecx
add esp, 4
xor ecx, 0x65d5
and ecx, 0xa52c
pop ecx
push esi
xor esi, 0x107d5
xor esi, 0x11978
call 0x402307
add byte [eax + 0x48], cl
inc esi
cmp eax, 0x36393d45
push eax
add esp, 4
pop esi
mov dword [ebp - 0x2c], 1
push esi
push eax
add esp, 4
add esi, 0xe3ad
call 0x402329
add byte [esi + 0x39], al
cmp dh, byte [esi]
aas
push eax
add esp, 4
call 0x402339
add byte [ecx], bh
inc edi
dec esp
push eax
xor al, 0x50
add esp, 4
jmp 0x402343
pop esi
imul edx, dword [ebp - 0x2c], 0x138
add edx, 0x55f3663b
imul eax, dword [ebp - 0x2c], 0x138
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0x138
sub edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x402525
mov ecx, dword [ebp - 0x1068]
invalid
xchg ebp, eax
pushfd
Function at 0x402329
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20f4
push ebx
push esi
push edi
push edx
push edx
add esp, 4
add edx, 0xfbbb
pop edx
push eax
add eax, 0xb3be
sub eax, 0x40a5
xor eax, 0x956a
pop eax
push ebx
push ebx
add esp, 4
xor ebx, 0xaa93
and ebx, 0x17fc8
pop ebx
mov eax, 0x4d
mov word [ebp - 0x2030], ax
mov ecx, 0x42
mov word [ebp - 0x202e], cx
mov edx, 0x53
mov word [ebp - 0x202c], dx
mov eax, 0x65
mov word [ebp - 0x202a], ax
mov ecx, 0x72
mov word [ebp - 0x2028], cx
mov edx, 0x76
mov word [ebp - 0x2026], dx
mov eax, 0x69
mov word [ebp - 0x2024], ax
mov ecx, 0x63
mov word [ebp - 0x2022], cx
mov edx, 0x65
mov word [ebp - 0x2020], dx
mov eax, 0x2e
mov word [ebp - 0x201e], ax
mov ecx, 0x65
mov word [ebp - 0x201c], cx
mov edx, 0x78
mov word [ebp - 0x201a], dx
mov eax, 0x65
mov word [ebp - 0x2018], ax
xor ecx, ecx
mov word [ebp - 0x2016], cx
mov dword [ebp - 0x1064], 1
push edi
or edi, 0x13d72
and edi, 0xf651
jmp 0x4021b9
pop edi
push ecx
push edi
add esp, 4
jmp 0x4021c6
sub ecx, 0x115a6
pop ecx
push ecx
and ecx, 0x5501
pop ecx
imul edx, dword [ebp - 0x1064], 0x138
add edx, 0x55f3663b
imul eax, dword [ebp - 0x1064], 0x138
sub edx, eax
xor edx, 0xabe912
imul edx, dword [ebp - 0x1064]
imul ecx, dword [ebp - 0x1064], 0x138
sub edx, ecx
mov dword [ebp - 0x1068], edx
push ebx
jmp 0x402218
jmp 0x402220
call fcn.00402230
add byte [edi + 0x50], cl
aaa
dec ebx
aaa
dec esi
dec ecx
inc eax
cmp dword [ebp - 0x7d], eax
add esp, 4
pop ebx
push eax
and eax, 0x1641
or eax, 0x189d
pop eax
mov dword [ebp - 0x10], 1
push edx
sub edx, 0x4e39
jmp 0x402257
sub edx, 0x116bd
jmp 0x402262
pop edx
push ecx
and ecx, 0x5e87
call 0x402277
add byte [ecx + 0x41], cl
xor ecx, dword [edx + 0x46]
dec edi
dec eax
add esp, 4
pop ecx
imul edx, dword [ebp - 0x10], 0x138
add edx, 0x55f3663b
imul eax, dword [ebp - 0x10], 0x138
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0x138
cmp byte [ecx], al
add byte [eax], al
sub edx, ecx
mov dword [ebp - 0x14], edx
push edx
add edx, 0x9ac1
xor edx, 0xec2b
call 0x4022c3
or al, byte [eax]
add byte [eax], al
add byte [esi], dh
cmp cl, byte [ecx + 0x37]
inc ebp
inc edi
inc edi
dec eax
xor eax, 0xe804c483
or al, byte [eax]
add byte [eax], al
add byte [edx + 0x46], cl
xor eax, 0x413d4b3a
inc ebp
xor al, byte [ebx + 0x515a04c4]
push ecx
add esp, 4
xor ecx, 0x65d5
and ecx, 0xa52c
pop ecx
push esi
xor esi, 0x107d5
xor esi, 0x11978
call 0x402307
add byte [eax + 0x48], cl
inc esi
cmp eax, 0x36393d45
push eax
add esp, 4
pop esi
mov dword [ebp - 0x2c], 1
push esi
push eax
add esp, 4
add esi, 0xe3ad
call 0x402329
add byte [esi + 0x39], al
cmp dh, byte [esi]
aas
push eax
add esp, 4
call 0x402339
add byte [ecx], bh
inc edi
dec esp
push eax
xor al, 0x50
add esp, 4
jmp 0x402343
pop esi
imul edx, dword [ebp - 0x2c], 0x138
add edx, 0x55f3663b
imul eax, dword [ebp - 0x2c], 0x138
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0x138
sub edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x402525
mov ecx, dword [ebp - 0x1068]
invalid
xchg ebp, eax
pushfd
Function at 0x402339
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20f4
push ebx
push esi
push edi
push edx
push edx
add esp, 4
add edx, 0xfbbb
pop edx
push eax
add eax, 0xb3be
sub eax, 0x40a5
xor eax, 0x956a
pop eax
push ebx
push ebx
add esp, 4
xor ebx, 0xaa93
and ebx, 0x17fc8
pop ebx
mov eax, 0x4d
mov word [ebp - 0x2030], ax
mov ecx, 0x42
mov word [ebp - 0x202e], cx
mov edx, 0x53
mov word [ebp - 0x202c], dx
mov eax, 0x65
mov word [ebp - 0x202a], ax
mov ecx, 0x72
mov word [ebp - 0x2028], cx
mov edx, 0x76
mov word [ebp - 0x2026], dx
mov eax, 0x69
mov word [ebp - 0x2024], ax
mov ecx, 0x63
mov word [ebp - 0x2022], cx
mov edx, 0x65
mov word [ebp - 0x2020], dx
mov eax, 0x2e
mov word [ebp - 0x201e], ax
mov ecx, 0x65
mov word [ebp - 0x201c], cx
mov edx, 0x78
mov word [ebp - 0x201a], dx
mov eax, 0x65
mov word [ebp - 0x2018], ax
xor ecx, ecx
mov word [ebp - 0x2016], cx
mov dword [ebp - 0x1064], 1
push edi
or edi, 0x13d72
and edi, 0xf651
jmp 0x4021b9
pop edi
push ecx
push edi
add esp, 4
jmp 0x4021c6
sub ecx, 0x115a6
pop ecx
push ecx
and ecx, 0x5501
pop ecx
imul edx, dword [ebp - 0x1064], 0x138
add edx, 0x55f3663b
imul eax, dword [ebp - 0x1064], 0x138
sub edx, eax
xor edx, 0xabe912
imul edx, dword [ebp - 0x1064]
imul ecx, dword [ebp - 0x1064], 0x138
sub edx, ecx
mov dword [ebp - 0x1068], edx
push ebx
jmp 0x402218
jmp 0x402220
call fcn.00402230
add byte [edi + 0x50], cl
aaa
dec ebx
aaa
dec esi
dec ecx
inc eax
cmp dword [ebp - 0x7d], eax
add esp, 4
pop ebx
push eax
and eax, 0x1641
or eax, 0x189d
pop eax
mov dword [ebp - 0x10], 1
push edx
sub edx, 0x4e39
jmp 0x402257
sub edx, 0x116bd
jmp 0x402262
pop edx
push ecx
and ecx, 0x5e87
call 0x402277
add byte [ecx + 0x41], cl
xor ecx, dword [edx + 0x46]
dec edi
dec eax
add esp, 4
pop ecx
imul edx, dword [ebp - 0x10], 0x138
add edx, 0x55f3663b
imul eax, dword [ebp - 0x10], 0x138
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0x138
cmp byte [ecx], al
add byte [eax], al
sub edx, ecx
mov dword [ebp - 0x14], edx
push edx
add edx, 0x9ac1
xor edx, 0xec2b
call 0x4022c3
or al, byte [eax]
add byte [eax], al
add byte [esi], dh
cmp cl, byte [ecx + 0x37]
inc ebp
inc edi
inc edi
dec eax
xor eax, 0xe804c483
or al, byte [eax]
add byte [eax], al
add byte [edx + 0x46], cl
xor eax, 0x413d4b3a
inc ebp
xor al, byte [ebx + 0x515a04c4]
push ecx
add esp, 4
xor ecx, 0x65d5
and ecx, 0xa52c
pop ecx
push esi
xor esi, 0x107d5
xor esi, 0x11978
call 0x402307
add byte [eax + 0x48], cl
inc esi
cmp eax, 0x36393d45
push eax
add esp, 4
pop esi
mov dword [ebp - 0x2c], 1
push esi
push eax
add esp, 4
add esi, 0xe3ad
call 0x402329
add byte [esi + 0x39], al
cmp dh, byte [esi]
aas
push eax
add esp, 4
call 0x402339
add byte [ecx], bh
inc edi
dec esp
push eax
xor al, 0x50
add esp, 4
jmp 0x402343
pop esi
imul edx, dword [ebp - 0x2c], 0x138
add edx, 0x55f3663b
imul eax, dword [ebp - 0x2c], 0x138
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0x138
sub edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x402525
mov ecx, dword [ebp - 0x1068]
invalid
xchg ebp, eax
pushfd
Function at 0x407303
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
inc dword [ebx]
push ecx
and al, 0x89
xchg ebp, eax
inc esp
out 0xff, al
dec dword [ebx - 0x7677b]
dec dword [ebx - 0x32373]
inc dword [ebx]
dec eax
sbb al, 0x89
Function at 0x4082b5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x19e4]
mov dword [ebp - 0x3fc], edx
jmp 0x4082d4
cmp dword [ebp - 0x3fc], 0
je 0x4083af
push ecx
push ecx
add esp, 4
sub ecx, 0xb53e
add ecx, 0xf889
add ecx, 0x3b9b
pop ecx
push edx
push esi
add esp, 4
and edx, 0xade8
and edx, 0x131c8
jmp 0x408312
pop edx
mov ecx, dword [ebp - 0x3fc]
mov dword [ebp - 0x19e8], ecx
push edi
push ecx
add esp, 4
sub edi, 0x12eb5
and edi, 0x8bf7
pop edi
push edi
push edi
add esp, 4
jmp 0x40833b
invalid
jmp 0x408344
or edi, 0x113af
add edi, 0x6a23
pop edi
invalid
xchg ebp, eax
sbb dh, ah
invalid
Function at 0x443349
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x46a008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x11c]
push edi
mov edi, dword [ebp + 0xc]
push 0x118
push 0
push eax
call fcn.0042f600
mov eax, dword [0x46b6a4]
add esp, 0xc
test eax, eax
jne 0x44342f
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx ecx, word [ebp - 0xc]
movzx eax, word [ebp - 0xa]
shl ecx, 0x10
or ecx, eax
cmp dword [ebp - 0x11c], 4
mov dword [0x46b6a8], ecx
jne 0x4433bf
xor eax, eax
inc eax
jmp 0x44342a
cmp dword [ebp - 0x11c], 5
jne 0x4433f0
mov ecx, dword [ebp - 0x118]
test ecx, ecx
jne 0x4433d6
push 2
jmp 0x443429
cmp ecx, 1
jne 0x4433df
push 3
jmp 0x443429
xor eax, eax
cmp ecx, 2
setne al
dec eax
and eax, 0xfffffffb
add eax, 9
jmp 0x44342a
cmp dword [ebp - 0x11c], 6
jne 0x443427
cmp dword [ebp - 0x118], 0
jne 0x443410
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 5
jmp 0x44342a
cmp dword [ebp - 0x118], 1
jne 0x443427
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 7
jmp 0x44342a
push 9
pop eax
mov dword [0x46b6a4], eax
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov eax, dword [0x46b6a8]
mov dword [edi], eax
pop edi
pop esi
call fcn.0042dd1f
leave
ret 8

Function at 0x443843
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test ebx, ebx
sete al
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x44392a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x443889
cmp eax, 0x50
je 0x443881
cmp eax, 0xb7
jne 0x443889
xor esi, esi
inc esi
jmp 0x44392a
cmp eax, 3
jne 0x443919
movzx eax, word [edi]
mov ebx, esi
mov ecx, edi
test ax, ax
je 0x443912
push 0x5c
mov edx, eax
pop edi
cmp dx, di
jne 0x4438aa
mov ebx, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x4438a3
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x443912
push esi
xor eax, eax
push edi
mov word [ebx], ax
call fcn.0040415f
mov esi, eax
push 0x5c
pop eax
mov word [ebx], ax
test esi, esi
js 0x44392a
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x44392a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4438fe
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x44392a
push esi
push 0x454
push str.c:_agent_work66_s_srclibsdutil_fileutil.cpp
call fcn.004038ba
jmp 0x44392a
mov esi, 0x80070003
jmp 0x44392a
test eax, eax
jg 0x443921
mov esi, eax
jmp 0x44392a
movzx esi, ax
or esi, 0x80070000
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x443984
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 8]
xor esi, esi
call fcn.00443c72
test eax, eax
je 0x443a0d
test byte [ebp - 4], 7
push ebx
mov ebx, 0x80070000
je 0x4439da
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4439da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4439d0
movzx esi, si
or esi, ebx
test esi, esi
jns 0x4439da
push esi
push 0x5c4
jmp 0x443a02
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x443a0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4439fa
movzx esi, si
or esi, ebx
test esi, esi
jns 0x443a0c
push esi
push 0x5ca
push str.c:_agent_work66_s_srclibsdutil_fileutil.cpp
call fcn.004038ba
pop ebx
mov eax, esi
pop esi
leave
ret 4

Function at 0x443a14
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
xor esi, esi
cmp dword [ebp + 0x10], ebx
setne bl
cmp dword [ebp + 0x14], esi
je 0x443a2b
or ebx, 2
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x443b28
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp dword [ebp + 0x10], esi
jne 0x443a63
cmp edi, 0x50
je 0x443a5b
cmp edi, 0xb7
jne 0x443a63
xor esi, esi
inc esi
jmp 0x443b27
cmp edi, 2
jne 0x443a7c
push esi
push dword [ebp + 8]
call fcn.00443c72
test eax, eax
je 0x443b1e
push 3
pop edi
cmp edi, 3
jne 0x443b16
mov edi, dword [ebp + 0xc]
mov ecx, esi
mov edx, edi
movzx eax, word [edi]
test ax, ax
je 0x443b0f
push 0x5c
mov edi, eax
pop esi
cmp di, si
jne 0x443aa0
mov ecx, edx
add edx, 2
movzx eax, word [edx]
mov edi, eax
test ax, ax
jne 0x443a99
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0x10], ecx
push 0
pop esi
test ecx, ecx
je 0x443b0f
push esi
xor eax, eax
push edi
mov word [ecx], ax
call fcn.0040415f
mov esi, eax
mov eax, dword [ebp + 0x10]
push 0x5c
pop ecx
mov word [eax], cx
test esi, esi
js 0x443b27
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x443b27
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x443afb
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x443b27
push esi
push 0x4d4
push str.c:_agent_work66_s_srclibsdutil_fileutil.cpp
call fcn.004038ba
jmp 0x443b27
mov esi, 0x80070003
jmp 0x443b27
test edi, edi
jg 0x443b1e
mov esi, edi
jmp 0x443b27
movzx esi, di
or esi, 0x80070000
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x445b40
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:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0
push 0
push dword [edi + 4]
push dword [edi]
push dword [ebp + 0xc]
call fcn.0044412e
mov esi, eax
test esi, esi
js 0x445c96
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x445c67
cmp dword [ebp - 4], 0
je 0x445c95
xor ebx, ebx
and dword [ebp + 0x10], ebx
push 0
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
sub eax, ebx
push eax
mov eax, dword [ebp + 0x20]
add eax, ebx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x445c41
add ebx, dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0
je 0x445bc5
cmp ebx, dword [ebp - 4]
jb 0x445b94
add dword [edi], ebx
push 0
pop eax
adc dword [edi + 4], eax
cmp dword [ebp + 0x14], 0xffffffff
je 0x445c0f
push eax
push eax
push eax
push eax
push dword [ebp + 0x14]
mov ebx, eax
mov dword [ebp - 8], eax
call fcn.0044412e
test eax, eax
js 0x445c0f
push 0
lea eax, [ebp - 8]
push eax
push 8
pop eax
sub eax, ebx
push eax
lea eax, [edi + ebx*8]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
add ebx, dword [ebp - 8]
cmp dword [ebp - 8], 0
je 0x445c0f
cmp ebx, 8
jb 0x445be8
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x445c35
cmp dword [eax], 0
je 0x445c35
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [edi + 4]
push dword [edi]
push eax
call fcn.0044547d
mov esi, eax
test esi, esi
js 0x445c95
cmp dword [ebp - 4], 0
jne 0x445b6a
jmp 0x445c95
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x445c58
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x445c5f
mov esi, 0x80004005
push esi
push 0x1a6
jmp 0x445c8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x445c7e
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x445c85
mov esi, 0x80004005
push esi
push 0x19a
push str.c:_agent_work66_s_srclibsdutildlutil.cpp
call fcn.004038ba
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 0x24

Function at 0x4481bd
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
mov dword [ebp - 4], 4
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x20000005
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x44820f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4481fe
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x44820f
push esi
push 0x18
push str.c:_agent_work66_s_srclibsdutilinetutil.cpp
call fcn.004038ba
jmp 0x44821b
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
and dword [edx + 4], 0
mov dword [edx], ecx
mov eax, esi
pop esi
leave
ret 8