joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cc60
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], 0
mov esi, edx
cmp dword [edi + 0x14], 8
jb 0x41cc8b
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
jmp 0x41cc90
mov eax, edi
mov dword [ebp - 0x20], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41ccd0
test al, 0x10
je 0x41ccb3
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x41ccbd
mov dword [esi], 0xfffffff7
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.0040d5f0
cmp dword [edi + 0x14], 8
jb 0x41cce5
mov ecx, dword [edi]
jmp 0x41cce7
mov ecx, edi
cmp dword [ebp - 8], 8
lea edx, [ebp - 0x1c]
mov eax, dword [edi + 0x10]
mov ebx, eax
cmovae edx, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], eax
cmovb ebx, dword [ebp - 0xc]
test ebx, ebx
jne 0x41cd22
xor eax, eax
test eax, eax
jne 0x41cd43
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0xc]
cmp ecx, eax
jb 0x41cd43
ja 0x41cd43
test esi, esi
je 0x41cd88
mov dword [esi], 0xfffffffc
xor bl, bl
jmp 0x41cd8e
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x41cd35
add edx, 2
add ecx, 2
sub ebx, 1
jmp 0x41cd00
movzx eax, word [edx]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x41cd04
mov edx, esi
lea ecx, [ebp - 0x1c]
call fcn.0041cc60
test al, al
je 0x41cd88
push 0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41cd8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xb7
jne 0x41cd7b
mov ecx, edi
call fcn.0041ca00
test al, al
jne 0x41cd8c
test esi, esi
je 0x41cd88
mov ecx, ebx
call fcn.0041f9b0
mov dword [esi], eax
xor bl, bl
jmp 0x41cd8e
mov bl, 1
lea ecx, [ebp - 0x1c]
call fcn.0040d070
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret
Function at 0x41cdb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov word [ebp - 0x210], ax
mov esi, ecx
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x41cf29
cmp eax, 0x104
ja 0x41cf29
xor eax, eax
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
cmp word [ebp - 0x210], ax
jne 0x41ce1e
xor ecx, ecx
jmp 0x41ce36
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ce27
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.00401a46
sub esp, 8
lea eax, [ebp - 0x228]
cmp dword [ebp - 0x214], 8
mov ecx, esp
cmovae eax, dword [ebp - 0x228]
mov dword [ecx], eax
mov eax, dword [ebp - 0x218]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x258]
call fcn.0040cfd0
sub esp, 8
mov edx, esp
cmp dword [eax + 0x14], 8
jb 0x41ce87
mov ecx, dword [eax]
jmp 0x41ce89
mov ecx, eax
mov dword [edx], ecx
lea ecx, [ebp - 0x240]
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
call fcn.0040cfd0
lea ecx, [ebp - 0x240]
call fcn.0040dd80
lea eax, [ebp - 0x240]
cmp esi, eax
je 0x41cebd
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00401cc4
lea ecx, [ebp - 0x240]
call fcn.0040d070
lea ecx, [ebp - 0x258]
call fcn.0040d070
mov eax, dword [ebp - 0x214]
cmp eax, 8
jb 0x41cf18
mov ecx, dword [ebp - 0x228]
inc eax
cmp eax, 0x7fffffff
ja 0x41cf3a
add eax, eax
cmp eax, 0x1000
jb 0x41cf0f
test cl, 0x1f
jne 0x41cf3f
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x41cf44
sub ecx, eax
cmp ecx, 4
jb 0x41cf49
cmp ecx, 0x23
ja 0x41cf4e
mov ecx, eax
push ecx
call fcn.00460c6b
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00460c27
mov esp, ebp
pop ebp
ret
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
int3

Function at 0x41cf60
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ecx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.0040dac0
test al, al
jne 0x41cfcc
mov ecx, esi
call fcn.0040dac0
test al, al
jne 0x41cfcc
cmp dword [edi + 0x10], 0x104
jae 0x41cfcc
cmp dword [esi + 0x10], 0x104
jae 0x41cfcc
cmp dword [esi + 0x14], 8
jb 0x41cf95
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x41cf9d
mov edi, dword [edi]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x41cfcc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41cfcc
test al, 1
je 0x41cfc6
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov al, 1
pop edi
pop esi
pop ecx
ret
pop edi
xor al, al
pop esi
pop ecx
ret
Function at 0x41cfe0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0xc]
nop dword [eax]
push 0x22c
push 0
push esi
call fcn.00463e50
add esp, 0xc
mov dword [esi], 0x22c
cmp byte [edi + 8], 0
push esi
push dword [edi + 4]
jne 0x41d01c
mov byte [edi + 8], 1
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x41d022
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
setne al
test al, al
je 0x41d075
mov ebx, dword [edi + 0x238]
test ebx, ebx
je 0x41d06c
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x41cff0
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ecx]
jne 0x41cff0
lea ecx, [esi + 0x24]
push str.explorer.exe
push ecx
call fcn.00469339
add esp, 8
test eax, eax
jne 0x41cff0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41d570
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov dword [ebp - 4], 0
lea ecx, [esi + 4]
mov dword [esi], 0x4956f8
call fcn.004225d0
mov al, byte [ebp + 8]
mov byte [esi + 0x100], al
mov dword [esi + 0x104], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 0x104], eax
cmp eax, 0xffffffff
jne 0x41d5b9
mov byte [0], 0
call fcn.0041db70
lea ecx, [esi + 0x10c]
mov dword [esi + 0x108], eax
call fcn.0041dbe0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4220f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx eax, word [edx + 0x14]
add eax, 0x18
mov dword [ebp - 4], edx
add eax, edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp edi, dword [eax + 0xc]
lea ecx, [eax + 0xc]
jae 0x422118
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
push ebx
movzx ebx, word [edx + 6]
xor eax, eax
push esi
test ebx, ebx
je 0x422161
lea esi, [eax + 1]
cmp esi, ebx
jne 0x422130
mov edx, dword [edx + 0x50]
jmp 0x422133
mov edx, dword [ecx + 0x28]
cmp edi, dword [ecx]
jb 0x42213b
cmp edi, edx
jb 0x422149
mov eax, esi
add ecx, 0x28
cmp eax, ebx
jae 0x422161
mov edx, dword [ebp - 4]
jmp 0x422124
mov edx, dword [ebp - 8]
lea eax, [eax + eax*4]
pop esi
pop ebx
mov ecx, dword [edx + eax*8 + 0x14]
sub ecx, dword [edx + eax*8 + 0xc]
lea eax, [edi + ecx]
pop edi
mov esp, ebp
pop ebp
ret
pop esi
pop ebx
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x422600
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
push edi
mov edi, edx
mov dword [ebp - 8], eax
mov esi, dword [esi]
test esi, esi
jne 0x422620
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
xor ebx, ebx
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
add edi, ecx
sub esi, ecx
add ebx, ecx
test ecx, ecx
je 0x42264f
test esi, esi
je 0x42265f
mov eax, dword [ebp - 8]
jmp 0x422623
test eax, eax
je 0x42265f
pop ebx
pop edi
mov eax, 8
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [eax], ebx
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x424090
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x16c]
mov ebx, edx
push 0
push eax
mov esi, ecx
call fcn.00463e50
push esi
push 0x495f64
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x1d0], 0
push 0x104
push eax
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1cc], 0x67452301
mov dword [ebp - 0x1c8], 0xefcdab89
mov dword [ebp - 0x1c4], 0x98badcfe
mov dword [ebp - 0x1c0], 0x10325476
call fcn.00423f30
lea ecx, [ebp - 0x16c]
add esp, 0x1c
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424120
sub ecx, edx
lea edx, [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x1d4]
call fcn.0042e370
lea ecx, [ebp - 0x1d4]
call fcn.0042e430
lea ecx, [ebp - 0x1d4]
call fcn.0042e430
movups xmm0, xmmword [ebp - 0x17c]
push 0x40
lea eax, [ebp - 0x64]
push 0
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.00463e50
add esp, 0x10
xor esi, esi
nop
movzx eax, byte [ebp + esi - 0x20]
xorps xmm0, xmm0
push eax
push str._02x
lea eax, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
push 8
push eax
call fcn.00423f30
lea eax, [ebp - 0x64]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424197
sub eax, edx
lea ecx, [ebp - 0x10]
mov edx, 0x40
lea edi, [ecx + 1]
sub edx, eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4241b0
sub ecx, edi
lea eax, [ebp - 0x10]
cmp ecx, edx
cmovl edx, ecx
push edx
push eax
lea eax, [ebp - 0x64]
push 0x40
push eax
call fcn.0047316d
inc esi
add esp, 0x10
cmp esi, 0x10
jl 0x424170
test ebx, ebx
je 0x424204
mov esi, dword [ebp + 8]
push esi
push 0
push ebx
call fcn.00463e50
lea eax, [ebp - 0x64]
push eax
push 0x495f64
lea eax, [esi - 1]
push eax
push ebx
call fcn.00423f30
push esi
push ebx
call fcn.004732f4
add esp, 0x24
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret
Function at 0x424620
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.00461a60
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x2d10], eax
test eax, eax
je 0x424786
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
nop
push esi
push 0x495f68
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.00423fb0
add esp, 0x10
lea eax, [ebp - 0x204]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x424769
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x2d0c], 0
lea eax, [ebp - 0x2cfc]
movq qword [ebp - 0x2d08], xmm0
push 0
push eax
mov dword [ebp - 0x2d00], 0
mov dword [ebp - 0x2d08], 0
mov dword [ebp - 0x2d04], 0
call fcn.00463e50
add esp, 0xc
lea eax, [ebp - 0x2d0c]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42475e
push 0x3e8
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.00463e50
mov edx, dword [ebp - 0x2ce4]
lea eax, [ebp - 0x5ec]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x2cfc]
call fcn.0042e540
add esp, 8
lea eax, [ebp - 0x5ec]
mov edx, 0x64
push 0x7ffffffe
push eax
push ecx
mov ecx, dword [ebp - 0x2d10]
call fcn.00424040
test eax, eax
mov eax, 1
cmove ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x424773
inc esi
cmp esi, 0x10
jl 0x424650
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
Function at 0x424ad0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f4
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x4f4], ebx
test ebx, ebx
je 0x424cc9
push esi
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00463e50
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x4e0]
add esp, 0xc
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push 0x80000002
call esi
test eax, eax
jne 0x424c98
push edi
xor edi, edi
mov dword [ebp - 0x4e4], 0x104
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push edi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x424c89
lea eax, [ebp - 0x4e8]
push eax
push 1
push 0
lea eax, [ebp - 0x2d4]
push eax
push dword [ebp - 0x4e0]
call esi
test eax, eax
jne 0x424c53
lea eax, [ebp - 0x4ec]
mov dword [ebp - 0x4f0], 1
push eax
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x4ec], 0x208
push eax
lea eax, [ebp - 0x4f0]
push eax
push 0
push 0x496074
push dword [ebp - 0x4e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x424c4b
push 0x64
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00463e50
add esp, 8
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0x4dc]
call fcn.004249b0
add esp, 4
test eax, eax
je 0x424c4b
cmp byte [ebp - 0x68], 0
je 0x424c0f
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x424c4b
lea ecx, [ebp - 0x68]
mov edx, 0x64
lea esi, [ebp - 0xcc]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7fffff9a]
test eax, eax
je 0x424c3a
mov al, byte [esi + ecx]
test al, al
je 0x424c3a
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x424c21
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov byte [eax], 0
push dword [ebp - 0x4e8]
call ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x4e4]
mov dword [ebp - 0x4e4], 0x104
push eax
lea eax, [ebp - 0x2d4]
inc edi
push eax
push edi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x424b64
push dword [ebp - 0x4e0]
call ebx
mov ebx, dword [ebp - 0x4f4]
pop edi
cmp byte [ebp - 0x68], 0
pop esi
je 0x424cc9
push 0x7ffffffe
lea eax, [ebp - 0x68]
mov edx, 0x64
push eax
push ecx
mov ecx, ebx
call fcn.00424040
not eax
shr eax, 0x1f
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret
Function at 0x424ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x400
lea eax, [ebp - 0x508]
mov dword [ebp - 0x510], 1
push 0
push eax
mov dword [ebp - 0x50c], 0x400
call fcn.00463e50
add esp, 0xc
lea eax, [ebp - 0x50c]
push eax
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x510]
push eax
push 0x49608c
push str.Software360SafeLiveup
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x425001
lea eax, [ebp - 0x508]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424f48
sub eax, edx
cmp eax, 0x40
jne 0x425001
push 0x20
lea eax, [ebp - 0x508]
mov edx, 0x80
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.00424040
push 0x7ffffffe
lea eax, [ebp - 0x4e8]
mov edx, 0x80
push eax
push ecx
lea ecx, [ebp - 0x108]
call fcn.00424040
push 0x400
lea eax, [ebp - 0x508]
push 0
push eax
call fcn.00463e50
add esp, 0xc
lea edx, [ebp - 0x508]
lea ecx, [ebp - 0x88]
push 0x400
call fcn.00424090
add esp, 4
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x425001
lea eax, [ebp - 0x88]
mov edx, 0x80
push eax
mov ecx, 0x4b6c60
call fcn.00423e90
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret

Function at 0x4256e0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push 0x3c
lea eax, [ebp - 0x3c]
mov esi, edx
push 0
push eax
mov edi, ecx
call fcn.00463e50
push 0x2454
push 0
push esi
call fcn.00463e50
lea eax, [esi + 8]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], eax
add esp, 0x18
lea eax, [esi + 0x2148]
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x48]
mov dword [ebp - 0x10], eax
lea eax, [esi + 0x1048]
mov dword [ebp - 8], eax
lea eax, [esi + 0x2348]
mov dword [ebp - 0x20], eax
lea eax, [esi + 0x2048]
mov dword [ebp - 0x18], eax
mov eax, edi
mov dword [ebp - 0x28], 0x100
mov dword [ebp - 0xc], 0x800
mov dword [ebp - 4], 0x800
mov dword [ebp - 0x1c], 0x80
lea edx, [eax + 2]
mov dword [ebp - 0x14], 0x80
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425770
lea ecx, [ebp - 0x3c]
sub eax, edx
push ecx
push dword [ebp + 8]
sar eax, 1
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4257d7
mov ecx, dword [ebp - 0x30]
cmp ecx, 3
je 0x4257a4
cmp ecx, 4
je 0x4257a4
cmp ecx, 1
jne 0x4257d7
mov ax, word [ebp - 0x24]
mov word [esi], ax
mov eax, 1
pop edi
mov dword [esi + 0x2448], 0
mov dword [esi + 0x244c], 0
mov dword [esi + 4], ecx
mov dword [esi + 0x2450], 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4257e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
je 0x4257f4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea edi, [esi + 0x5d530]
push str.MetalinkFile
push edi
call fcn.0046218f
add esp, 8
test eax, eax
je 0x425824
xor ecx, ecx
mov word [eax], cx
add eax, 0x1a
push eax
call fcn.004736c8
add esp, 4
mov dword [esi + 0x2694], eax
mov ecx, dword [esi + 0x62ce0]
mov eax, 0xe1800e19
sub ecx, dword [esi + 0x62cdc]
imul ecx
add edx, ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x42585d
push eax
lea edx, [esi + 0x10]
mov ecx, edi
call fcn.004256e0
add esp, 4
test eax, eax
jne 0x42585d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2464], eax
test eax, eax
je 0x4258a1
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push esi
push 0x425ba0
push 0
push 0
mov dword [esi + 0x5d0f8], 8
call fcn.00473498
add esp, 0x18
mov dword [esi + 0xc], eax
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4267a0
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x26d8]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x28], 2
cmp dword [eax + 4], 1
je 0x426828
cmp dword [edi + 0x2480], 0
je 0x426803
push dword [esi + 0xc]
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp + 8]
push eax
push dword [edi + 0x2484]
push dword [edi + 0x2480]
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x42680f
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, 1
pop edi
pop esi
pop ecx
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x426858
mov eax, 1
pop edi
pop esi
pop ecx
pop ebp
ret 4
cmp dword [esi], 0
jne 0x426843
mov eax, dword [esi + 4]
test eax, eax
je 0x426843
mov dword [esi + 0x18], eax
mov eax, 1
pop edi
pop esi
pop ecx
pop ebp
ret 4
push 1
push ecx
mov ecx, edi
mov dword [esi + 0x28], 0
call fcn.00427e20
test eax, eax
jne 0x426803
pop edi
xor eax, eax
pop esi
pop ecx
pop ebp
ret 4
Function at 0x427050
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x26d8]
mov esi, dword [eax + ebx*4]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x28], 6
cmp dword [eax + 4], 1
je 0x4270dc
cmp dword [edi + 0x2480], 0
je 0x427112
push dword [esi + 0xc]
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp + 8]
push eax
push dword [edi + 0x2484]
push dword [edi + 0x2480]
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x4270c3
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x3e5
sete cl
mov eax, ecx
pop edi
pop esi
pop ebx
pop ebp
ret 4
cmp dword [esi], 0
jne 0x4270f7
mov eax, dword [esi + 4]
test eax, eax
je 0x4270f7
mov dword [esi + 0x18], eax
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 1
push ebx
mov dword [esi + 0x28], 4
call fcn.00427e20
test eax, eax
jne 0x427112
push ebx
mov ecx, edi
call fcn.00427900
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x427240
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x26d8]
mov edi, dword [eax + ebx*4]
mov eax, dword [edi + 0x20]
cmp dword [eax + 4], 1
je 0x4273e1
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4272a1
lea ecx, [ebp - 4]
mov dword [ebp + 8], 0
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp + 8]
mov dword [ebp - 8], 4
push ecx
push 0x20000013
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4272a1
mov eax, dword [ebp + 8]
jmp 0x4272a3
xor eax, eax
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x4272b0
mov dword [ecx + 0x2450], eax
cmp dword [edi], 0
jne 0x42736c
cmp eax, 0xce
jne 0x42736c
cmp dword [esi + 0x5d100], 0xffffffff
jne 0x4272da
cmp dword [esi + 0x5d104], 0xffffffff
je 0x427388
push edi
mov ecx, esi
call fcn.00428310
test eax, eax
je 0x427399
cmp dword [edi + 0x38], 0xffffffff
mov edx, dword [edi + 0x3c]
jne 0x4272fc
cmp edx, 0xffffffff
je 0x427399
mov eax, dword [edi + 0x8040]
mov ecx, dword [eax + 8]
add ecx, dword [edi + 0x38]
mov eax, dword [eax + 0xc]
adc eax, edx
cmp dword [esi + 0x5d108], 0
mov edx, dword [esi + 0x5d10c]
jne 0x427320
test edx, edx
je 0x42732c
cmp dword [esi + 0x5d108], ecx
jne 0x427341
cmp edx, eax
jne 0x427341
cmp dword [esi + 0x5d100], ecx
jne 0x427399
cmp dword [esi + 0x5d104], eax
jne 0x427399
jmp 0x4273f0
mov eax, dword [edi + 0x20]
test eax, eax
je 0x427352
mov dword [eax + 0x244c], 1
push ebx
mov ecx, esi
call fcn.00427900
push 4
mov ecx, esi
call fcn.00426190
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x1f4
jne 0x4273af
mov ecx, esi
push 1
push ebx
mov dword [edi + 0x28], 4
call fcn.00427e20
test eax, eax
jne 0x4273a1
cmp dword [esi + 0x26f0], 0
je 0x427399
push ecx
mov ecx, esi
call fcn.00429980
push ebx
mov ecx, esi
call fcn.00427900
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x194
jne 0x427388
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4273c7
mov dword [eax + 0x244c], 1
push ebx
mov ecx, esi
call fcn.00427900
push 4
mov ecx, esi
call fcn.00426190
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [edi], 0
jne 0x427375
mov eax, dword [edi + 4]
test eax, eax
je 0x427375
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x20]
cmp dword [eax + 0x2448], 0xffffffff
jne 0x42740e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x20]
sub eax, dword [edi + 8]
mov dword [ecx + 0x2448], eax
cmp dword [esi + 0x26f0], 0
je 0x42742f
push 4
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x4e20
push eax
push 6
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [edi + 0x8040]
cmp dword [eax + 4], 0
jne 0x427399
mov dword [eax + 4], 1
mov eax, 1
mov dword [edi + 0x28], 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4