joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442390
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46eccc
mov eax, dword fs:[0]
push eax
mov eax, 0x1094
call fcn.004674c0
mov eax, dword [0x490654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x1090], eax
mov dword [ebp - 0x108c], ecx
mov dword [ebp - 0x1094], esi
call fcn.004025a5
mov dword [ebp - 4], esi
mov ebx, 1
push 0x48
mov dword [ebp - 0x1094], ebx
mov dword [ebp - 0x1080], esi
call fcn.00453217
add esp, 4
cmp eax, esi
je 0x4425f0
mov dword [ebp - 0x1084], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x1084]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x1084]
mov dword [eax + 8], eax
mov edx, dword [ebp - 0x1084]
mov byte [edx + 0x44], bl
mov eax, dword [ebp - 0x1084]
mov byte [eax + 0x45], bl
lea ecx, [ebp - 0x1010]
push ecx
push esi
push esi
push 0x1c
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [ebp - 0x1010]
push edx
lea eax, [ebp - 0x102c]
call fcn.004025cc
mov esi, eax
push str.localappdata
lea eax, [ebp - 0x1048]
mov byte [ebp - 4], 2
call fcn.004025cc
mov edx, eax
lea ecx, [ebp - 0x1088]
mov byte [ebp - 4], 3
call fcn.00422320
mov edi, eax
mov eax, esi
call fcn.00405f24
mov esi, eax
mov eax, edi
call fcn.00403976
lea ecx, [ebp - 0x1048]
call fcn.004025fd
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], bl
call fcn.004025fd
push 0x800
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [ebp - 0x1010]
push ecx
lea eax, [ebp - 0x1048]
call fcn.004025cc
mov esi, eax
push str.windir
lea eax, [ebp - 0x102c]
mov byte [ebp - 4], 4
call fcn.004025cc
mov edx, eax
lea ecx, [ebp - 0x1088]
mov byte [ebp - 4], 5
call fcn.00422320
mov edi, eax
mov eax, esi
call fcn.00405f24
mov esi, eax
mov eax, edi
call fcn.00403976
lea ecx, [ebp - 0x102c]
call fcn.004025fd
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], bl
call fcn.004025fd
lea edx, [ebp - 0x1078]
push edx
lea ecx, [ebp - 0x1088]
call fcn.0043d440
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x108c]
push eax
lea eax, [ebp - 0x102c]
call fcn.004025cc
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1090]
push ecx
push eax
lea edx, [ebp - 0x1078]
push edx
call fcn.004435f0
lea ecx, [ebp - 0x102c]
call fcn.004025fd
mov eax, dword [ebp - 0x1078]
test eax, eax
je 0x442587
push eax
call fcn.004531bb
add esp, 4
mov dword [ebp - 0x1078], 0
lea edi, [ebp - 0x1054]
call fcn.0043edb0
lea ecx, [ebp - 0x1074]
call fcn.004025fd
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x1084]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x108c]
lea esi, [ebp - 0x1088]
call fcn.004224c0
mov eax, dword [ebp - 0x1084]
push eax
call fcn.004531bb
mov eax, dword [ebp - 0x1090]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452c94
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x10a0]
call fcn.00401039
push 0x486bfc
lea ecx, [ebp - 0x10a0]
push ecx
call fcn.00456c71
int3
Function at 0x442690
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4709d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x490654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
mov esi, ecx
mov dword [ebp - 0x34], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
test eax, eax
je 0x4426e9
lea ecx, [ebp - 0x34]
push ecx
call eax
lea eax, [esi + 4]
call fcn.00402637
lea edx, [ebp - 0x2c]
push edx
mov ecx, eax
call fcn.00442390
add esp, 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00402637
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x442722
mov byte [ebp - 0x2d], 1
test al, 0x10
je 0x442726
mov byte [ebp - 0x2d], 0
push str.Wow64RevertWow64FsRedirection
push str.kernel32.dll
call edi
push eax
call ebx
test eax, eax
je 0x44273f
lea ecx, [ebp - 0x34]
push ecx
call eax
lea ecx, [ebp - 0x2c]
call fcn.004025fd
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452c94
mov esp, ebp
pop ebp
ret

Function at 0x4427f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4709d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x490654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
mov esi, ecx
mov dword [ebp - 0x34], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
test eax, eax
je 0x442849
lea ecx, [ebp - 0x34]
push ecx
call eax
lea eax, [esi + 4]
call fcn.00402637
lea edx, [ebp - 0x2c]
push edx
mov ecx, eax
call fcn.00442390
add esp, 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00402637
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x442882
mov byte [ebp - 0x2d], 1
test al, 0x10
jne 0x442886
mov byte [ebp - 0x2d], 0
push str.Wow64RevertWow64FsRedirection
push str.kernel32.dll
call edi
push eax
call ebx
test eax, eax
je 0x44289f
lea ecx, [ebp - 0x34]
push ecx
call eax
lea ecx, [ebp - 0x2c]
call fcn.004025fd
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452c94
mov esp, ebp
pop ebp
ret
Function at 0x443ac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x443b6a
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443ad2
push ebx
sub eax, edx
sar eax, 1
push esi
mov ebx, eax
push edi
lea edi, [ebx + 1]
push edi
call fcn.0045221e
push ebx
mov esi, eax
push 0
push esi
call fcn.0045e840
add esp, 0x10
test edi, edi
je 0x443b2d
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
push 0
push edi
push esi
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, edi
jae 0x443b23
mov byte [eax + esi], 0
jmp 0x443b2d
cmp byte [edi + esi - 1], 0
je 0x443b2d
mov byte [esi], 0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x443b32
mov edi, dword [ebp + 8]
sub eax, edx
push 0
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [edi]
push esi
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call fcn.004531bb
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x4440a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push str.getHDDSerialAlternate_start
push str.INFO
mov ecx, esi
mov edi, eax
call fcn.00417780
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edx, dword [ebp - 4]
mov ecx, 0x5f
push 0xa
mov word [edi], cx
push 0xff
add edi, 2
push edi
push edx
call fcn.004537ad
add esp, 0x10
push str.getHDDSerialAlternate_end
push str.INFO
mov ecx, esi
call fcn.00417780
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x448a20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4734d3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x490654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
push 0xb8
mov dword [ebp - 4], ebx
call fcn.00453217
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x448aa1
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [edx + 0x18]
push edi
push ecx
mov ecx, dword [ebp + 0x10]
push eax
push ecx
sub esp, 8
mov eax, esp
mov dword [ebp + 0x18], esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
push eax
lea eax, [ebp + 0x28]
call fcn.00449770
mov edx, dword [ebp + 0xc]
push edx
push esi
call fcn.0044e890
mov esi, eax
jmp 0x448aa3
xor esi, esi
mov byte [ebp - 4], 0
mov al, byte [ebp + 0x24]
push 0x24
mov byte [esi + 0xac], al
call fcn.00453217
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x448aca
lea eax, [ebx + 4]
call fcn.004025a5
jmp 0x448acc
xor ebx, ebx
push edi
lea ecx, [ebx + 4]
push ecx
mov dword [ebx], esi
call fcn.0040260b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp + 0x1c]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0xa8], ecx
test eax, eax
je 0x448afa
push eax
lea edi, [esi + 0x40]
call fcn.00402626
lea edx, [ebp - 0x14]
push edx
push 0
push ebx
push 0x448720
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 8
mov edi, eax
call fcn.00453217
add esp, 4
test eax, eax
je 0x448b27
mov dword [eax], edi
mov dword [eax + 4], esi
jmp 0x448b29
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0x24], eax
add esi, 0x1c
lea eax, [ebp + 0x24]
call fcn.0044f830
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x2c]
test esi, esi
je 0x448b71
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x448b71
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x448b71
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
Function at 0x4498e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x4499a3
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4499a3
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4499a3
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x44999c
push esi
push edi
push eax
call fcn.00456910
add esp, 0xc
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
push ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x449995
mov ecx, dword [ebp - 4]
push ecx
call fcn.004498a0
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esi]
cmp eax, edi
je 0x449995
mov ecx, dword [eax + 8]
mov dword [eax + 8], edi
cmp ecx, edi
jne 0x449985
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
cmp ecx, edi
je 0x449993
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi], edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x449ce0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d88b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x490654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, ebx
add edi, 0x34
call fcn.0040107f
mov esi, dword [edi + 0x10]
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, esi
cmp esi, ecx
jae 0x449d2e
mov ecx, esi
push ecx
mov eax, edi
call fcn.0040331a
mov ecx, ebx
call fcn.00404317
add esp, 4
test eax, eax
jne 0x449d58
mov eax, dword [ebp - 0x10]
cmp esi, eax
jb 0x449d58
xor ecx, ecx
cmp esi, eax
setne cl
mov eax, ecx
test eax, eax
je 0x449db1
push ebx
call fcn.00402626
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x24
call fcn.00453217
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x449d99
push ebx
call fcn.004025cc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], eax
jmp 0x449d9b
xor esi, esi
lea ecx, [ebp - 0x14]
push ecx
push 0
push esi
push 0x449bc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x44a100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x44a118
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x44a14a
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x44a146
cmp esi, eax
jae 0x44a14a
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x44a138
cmp esi, eax
jb 0x44a150
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x44cf80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ed08
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x490654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 0x20]
mov eax, edi
mov dword [ebp - 4], 0
call fcn.00404ff4
lea esi, [eax - 1]
cmp dword [edi + 0x10], esi
ja 0x44cfc5
call fcn.004037d3
mov eax, edi
call fcn.0040331a
movzx eax, word [eax + esi*2]
cmp eax, 0x5c
je 0x44cfda
cmp eax, 0x2f
jne 0x44cfe8
push 0
lea eax, [ebp + 8]
push eax
or eax, 0xffffffff
call fcn.004030d1
mov eax, edi
call fcn.00402637
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x481d30
mov eax, edi
call fcn.00402637
push eax
call fcn.00453a0b
add esp, 8
mov dword [ebx + 0x1c], eax
lea ecx, [ebp + 8]
test eax, eax
jne 0x44d030
call fcn.004025fd
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
call fcn.004025fd
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x44d050
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x1c]
push 0
push eax
push ecx
call fcn.0045ad70
mov edx, dword [esi + 0x1c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edx
push eax
push 1
push ecx
call fcn.00453fc0
mov edx, dword [esi + 0x1c]
push edx
call fcn.00454c71
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x44d120
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dc2d
mov eax, dword fs:[0]
push eax
mov eax, 0x227c
call fcn.004674c0
mov eax, dword [0x490654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
mov eax, ebx
mov esi, ecx
mov dword [ebp - 0x2280], ebx
mov dword [ebp - 0x227c], edi
call fcn.004025a5
mov dword [ebp - 4], edi
mov dword [ebp - 0x227c], 1
cmp dword [esi + 0x1c], edi
je 0x44d296
lea ebx, [esi + 4]
push ebx
mov dword [ebp - 0x2288], ebx
mov byte [ebp - 0x2284], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x1c]
push edi
push edi
push eax
mov dword [ebp - 0x2278], 0x67452301
mov dword [ebp - 0x2274], 0xefcdab89
mov dword [ebp - 0x2270], 0x98badcfe
mov dword [ebp - 0x226c], 0x10325476
mov dword [ebp - 0x2268], edi
mov dword [ebp - 0x2264], edi
call fcn.0045ad70
mov ecx, dword [esi + 0x1c]
push ecx
push 0x2000
lea edx, [ebp - 0x2220]
push 1
push edx
call fcn.00453dd7
add esp, 0x1c
cmp eax, edi
jbe 0x44d231
lea ecx, [ecx]
push eax
lea eax, [ebp - 0x2220]
push eax
lea eax, [ebp - 0x2278]
call fcn.0044f920
mov ecx, dword [esi + 0x1c]
push ecx
push 0x2000
lea edx, [ebp - 0x2220]
push 1
push edx
call fcn.00453dd7
add esp, 0x18
cmp eax, edi
ja 0x44d200
lea eax, [ebp - 0x20]
push eax
lea esi, [ebp - 0x2278]
call fcn.0044fa30
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
xor ecx, ecx
add esp, 4
mov word [ebp - 0x220], cx
xor esi, esi
movzx edx, byte [ebp + esi - 0x20]
push edx
lea eax, [ebp - 0x220]
push eax
push str._s_02x
mov ecx, eax
push 0x100
push ecx
call edi
inc esi
add esp, 0x14
cmp esi, 0x10
jb 0x44d254
mov edi, dword [ebp - 0x2280]
lea edx, [ebp - 0x220]
push edx
call fcn.00402626
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x44d298
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452c94
mov esp, ebp
pop ebp
ret 4
Function at 0x44e890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dbe1
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x490654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.download::FileDownloader.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea edi, [esi + 0x14]
mov eax, edi
call fcn.004025a5
lea eax, [esi + 0x30]
mov byte [ebp - 4], 2
mov dword [eax], ebx
mov dword [eax + 4], ebx
push eax
lea eax, [ebp + 0x10]
call fcn.00449770
lea eax, [esi + 0x40]
call fcn.004025a5
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push ecx
push edx
push eax
lea ecx, [esi + 0x5c]
push ecx
mov byte [ebp - 4], 4
call fcn.0044e480
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov byte [ebp - 4], 5
mov dword [esi + 0xa4], edx
mov edx, dword [ebp + 0xc]
push edx
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], ecx
mov dword [esi + 0xa0], esi
call fcn.00402626
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x38], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x3c], ecx
mov dword [esi + 0xa8], ebx
mov byte [esi + 0xac], bl
mov dword [esi + 0xa4], edx
cmp eax, ebx
je 0x44e998
mov edi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x44e998
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x44e998
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x450a90
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
push 0x5000
push 0x40
mov byte [ebp - 1], 0
call esi
push 0x5000
push 0x40
mov ebx, eax
call esi
push 0x5000
mov edi, eax
push 0x40
mov dword [ebp - 0xc], edi
call esi
push 0x5000
push 0x40
mov dword [ebp - 8], eax
call esi
push 0x5000
push 0x40
mov dword [ebp - 0x10], eax
call esi
mov edx, dword [ebp - 0x10]
mov esi, eax
xor eax, eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov eax, 0x2800
mov dword [ebp - 0x30], edx
lea edx, [ebp - 0x4c]
push edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], eax
mov eax, 0x104
push ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
push ecx
push eax
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x450b61
mov edi, dword [ebp + 0xc]
push ebx
mov byte [ebp - 1], 1
call fcn.00402626
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp + 0x10]
push ecx
call fcn.00402626
mov edx, dword [ebp - 8]
mov edi, dword [ebp + 0x14]
push edx
call fcn.00402626
mov edi, dword [ebp - 0xc]
mov ax, word [ebp - 0x34]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
mov word [ecx], ax
call ebx
push edi
call ebx
mov edx, dword [ebp - 0x10]
push edx
call ebx
push esi
call ebx
mov eax, dword [ebp - 8]
push eax
call ebx
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450b90
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
push 0
push 0
push 0
push 0
push str.httpget
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x450c92
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp - 8]
push ecx
push 0x1f
push eax
mov dword [ebp - 8], 0x3100
call edi
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 4]
push eax
push 0x32
push ecx
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
je 0x450c15
test byte [ebp - 4], 0x10
je 0x450c15
mov eax, dword [esi + 0x1c]
push 8
lea edx, [ebp - 0x14]
push edx
push 0x32
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0
call edi
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ebx
xor ecx, ecx
push edx
mov word [ebx], cx
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
call fcn.00402637
push eax
call fcn.00450a90
add esp, 0x14
test al, al
je 0x450c92
mov eax, dword [esi + 0x1c]
push 4
lea edx, [esi + 0x28]
push edx
push 2
push eax
call edi
test eax, eax
je 0x450c92
mov edx, dword [esi + 0x1c]
push 4
lea ecx, [esi + 0x2c]
push ecx
push 6
push edx
call edi
test eax, eax
je 0x450c92
movzx eax, word [ebx]
push 0
push 0
push 3
push 0
push 0
push eax
mov eax, dword [ebp + 0xc]
call fcn.00402637
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
xor edx, edx
test eax, eax
mov dword [esi + 0x20], eax
setne al
pop edi
mov esp, ebp
pop ebp
ret 0x10
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x10