joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b3f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4878f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4ac13c]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 0x418]
mov edi, dword [ebp + 0x410]
mov ebx, dword [ebp + 0x414]
mov dword [ebp - 0x14], eax
call dword [0x4ad514]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push edi
mov byte [ebp - 4], 1
call dword [0x49136c]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x40b47d
call fcn.00404b00
mov esi, eax
jmp 0x40b565
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
push edi
call dword [0x491370]
mov esi, eax
test esi, esi
jne 0x40b499
call fcn.00404b00
jmp 0x40b55c
push esi
push edi
call dword [0x491374]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x40b4b2
call fcn.00404b00
jmp 0x40b55c
push esi
push edi
call dword [0x491378]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x14], esi
jae 0x40b4e8
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x40b4d6
lea ecx, [ebp]
call fcn.00405760
lea ecx, [ebp - 0x1c]
call fcn.004056c0
mov eax, 0x8007000e
jmp 0x40b582
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.004078c0
mov dword [ebp - 4], 1
jmp 0x40b511
mov ebx, dword [ebp]
test ebx, ebx
jne 0x40b51f
mov esi, 0x8007000e
jmp 0x40b55e
call dword [0x4ad514]
mov ecx, dword [ebp - 0x20]
push esi
push ebx
push esi
push ecx
push 0
push eax
call dword [0x49137c]
test eax, eax
jne 0x40b540
call fcn.00404b00
jmp 0x40b55c
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00409f20
mov esi, eax
push edi
call dword [0x491380]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x40b580
lea ecx, [ebp]
call fcn.00405760
jmp 0x40b580
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0045b7a6
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40bd20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48a0a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040ba20
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
xor edx, edx
mov dword [esi + 0x2c], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push edx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edx
push eax
mov dword [esp + 0x24], edx
mov byte [ecx + 4], dl
call fcn.00402093
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x40d150
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, ecx
call dword [0x491354]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40d196
push esi
call dword [0x4913a4]
mov esi, eax
mov dword [esp + 0xc], esi
call fcn.004855e0
neg esi
sbb esi, esi
test esi, fcn.004054b0
mov dword [esp + 0x10], eax
pop esi
je 0x40d196
push 0x492eb8
lea eax, [esp + 0xc]
push eax
call fcn.0040ccd0
mov dword [edi], ebx
mov eax, edi
pop edi
pop ebx
add esp, 8
ret

Function at 0x40d1a0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x487c7b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov edi, ecx
push 1
push 2
lea ecx, [esp + 0x34]
call fcn.0040d070
push 0x492ed8
lea eax, [esp + 0x30]
push str.CBtHelper::StopBt
xor ebx, ebx
push eax
mov dword [esp + 0xc0], ebx
call fcn.0040cd30
add esp, 8
push eax
call fcn.0040cd30
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0040cf40
mov ecx, esi
call fcn.0040cb20
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
call fcn.0040c670
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x40d233
mov eax, dword [eax + 4]
jmp 0x40d236
add eax, 4
push eax
call dword [0x491350]
cmp dword [esp + 0x28], esi
jb 0x40d250
mov edx, dword [esp + 0x14]
push edx
call fcn.00451fd9
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov dword [esp + 0xb4], 0xffffffff
call fcn.00407ae0
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x7c], 0x492650
call fcn.0047690c
add esp, 4
cmp byte [edi + 0xd], bl
je 0x40d2a0
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x40d2a0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
push eax
call edx
mov byte [edi + 0xd], bl
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xa8
ret
Function at 0x40fbb0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x487f56
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.004150a0
mov eax, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esi], 0x49343c
mov dword [esi + 4], 0x493414
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esp + 0x24], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov ecx, dword [esp + 0x30]
push 0x14
mov byte [esp + 0x28], 1
mov dword [esi + 0x88], ecx
call fcn.00451fae
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x24], 2
je 0x40fc3d
push esi
mov ecx, eax
call fcn.004066f0
jmp 0x40fc3f
xor eax, eax
mov byte [esp + 0x24], 1
mov dword [esi + 0x6c], eax
call fcn.00448330
mov ecx, esi
mov dword [esi + 0x70], eax
call fcn.00412480
cmp al, bl
jne 0x40fcb5
lea edx, [esp + 0x14]
push edx
call fcn.00435a40
add esp, 4
mov ecx, dword [eax]
mov byte [esp + 0x24], 3
call fcn.00426e30
mov edi, dword [esp + 0x18]
cmp edi, ebx
mov byte [esp + 0x24], 1
je 0x40fcaa
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40fcaa
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40fcaa
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
push str.CDownloadClient::CDownloadClient__ForceExit__n
call dword [0x49134c]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8

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

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x411492
cmp word [eax], 0
je 0x411492
push eax
call dword [0x49133c]
cmp eax, 0xffffffff
je 0x411492
and al, 0x10
cmp al, 0x10
setne al
ret
xor al, al
ret

Function at 0x412230
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4881a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.0040218f
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x412290
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00411cd0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.0040218f
cmp dword [esp + 0x28], 8
jb 0x4122db
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00451fd9
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x412d50
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x487f08
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3328]
mov edi, ecx
cmp byte [edi + 0x10], 0
jne 0x412def
call fcn.00412480
test al, al
jne 0x412def
lea eax, [esp + 0x10]
push eax
call fcn.00435a40
add esp, 4
mov ecx, dword [eax]
mov dword [esp + 0x20], 0
call fcn.00426e30
mov esi, dword [esp + 0x14]
test esi, esi
mov dword [esp + 0x20], 0xffffffff
je 0x412de4
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x412de4
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x412de4
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push str.CDownloadClient::CreateEmuleTask__ForceExit__n
call dword [0x49134c]
sub esp, 0x1c
mov ecx, esp
lea eax, [esp + 0x14c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
mov dword [esp + 0x2c], esp
mov byte [ecx + 4], 0
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x412e14
sub eax, esi
push eax
lea edx, [esp + 0x150]
push edx
call fcn.004022c0
mov ecx, edi
call fcn.00411ec0
push 0x32fd
call fcn.00451fae
add esp, 4
test eax, eax
je 0x412e50
mov ecx, eax
call fcn.004113b0
mov esi, eax
jmp 0x412e52
xor esi, esi
push 0x32fd
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.0045ca60
mov ecx, dword [edi + 0x70]
add esp, 0xc
push ebp
push esi
push 0x2662
call fcn.0040d2d0
push eax
call dword [0x4915a0]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 0x3304
Function at 0x420f20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x489569
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x2c]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [esi], 0x493ce4
mov dword [esp + 0x24], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x24], 3
mov dword [esi + 0x2c], edi
call fcn.004153e0
mov ebx, eax
mov dword [esp + 0x14], ebx
call fcn.004855e0
neg ebx
sbb ebx, ebx
test ebx, fcn.004054b0
mov dword [esp + 0x18], eax
je 0x420fb4
push str.mutex
lea ecx, [esp + 0x18]
push ecx
call fcn.0040ccd0
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4

Function at 0x420fe0
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
push 0xffffffffffffffff
push 0
mov esi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
push 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call dword [0x491308]
mov eax, dword [esi + 8]
push eax
call dword [0x491360]
push 0
push 0x4ae8f0
call dword [0x491358]
test eax, eax
push 0
je 0x421031
mov ecx, dword [esi + 4]
push ecx
call dword [0x49130c]
pop esi
add esp, 8
ret
mov edx, dword [esi + 4]
push edx
push fcn.00437070
call dword [0x491310]
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
call dword [0x491348]
pop esi
add esp, 8
ret
Function at 0x425600
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x489c48
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push edi
lea eax, [esi + 0x18]
push eax
call dword [0x491358]
test eax, eax
jne 0x425655
mov ecx, esi
call fcn.004212c0
xor esi, esi
call fcn.004855e0
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov dword [ecx], esi
xor eax, eax
jmp 0x4256b9
mov ecx, dword [0x4ae86c]
push ecx
mov dword [esp + 0x18], esi
call dword [0x491324]
mov ebp, dword [0x491320]
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [0x4ae86c]
push edx
push eax
call ebp
mov ebx, dword [esp + 0x2c]
push ebx
push 1
mov ecx, esi
mov dword [esp + 0x2c], edi
call fcn.00423330
test eax, eax
je 0x4256a9
cmp edi, 0xffffffff
je 0x42569b
add edi, 1
push ebx
push 1
mov ecx, esi
call fcn.00423330
test eax, eax
jne 0x425693
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4ae86c]
push ecx
push edx
call ebp
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x425fa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x489e38
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x1c]
sub esp, 0x28
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov dword [eax + 8], ecx
mov dword [esp + 0x30], esp
lea ecx, [eax + 0xc]
push 0xffffffffffffffff
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], 0xf
push edx
mov dword [esp + 0x44], edx
mov byte [ecx + 4], dl
lea edx, [esp + 0x58]
push edx
call fcn.00402093
mov ecx, dword [esi + 8]
call fcn.004253d0
cmp dword [esp + 0x40], 0x10
jb 0x426020
mov eax, dword [esp + 0x2c]
push eax
call fcn.00451fd9
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x28
Function at 0x4266c0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x489f8b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x4ac13c]
xor eax, esp
mov dword [esp + 0x818], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x830]
mov dword fs:[0], eax
push 0x13b
push str.CDownloader::FinalRelease
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0x38]
push 0x3fc
push eax
mov esi, ecx
call fcn.0045c9a6
add esp, 0x14
lea ecx, [esp + 0x2c]
push ecx
call dword [0x491350]
lea edx, [esi + 0x598]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], 0
call fcn.004102e0
cmp byte [esi + 0x65], 0
mov dword [esp + 0x838], 0
je 0x426781
cmp byte [esp + 0x18], 0
mov dword [esp + 0x838], 0xffffffff
je 0x4268aa
mov eax, dword [esp + 0x14]
add dword [eax], 0xffffffff
jne 0x4268aa
xor ecx, ecx
lea edx, [eax + 4]
xchg dword [edx], ecx
jmp 0x426879
mov eax, 0x425f50
mov edx, eax
sub esp, 0x10
mov eax, esp
xor ecx, ecx
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x588]
call fcn.0041c690
mov ecx, dword [esi + 0x58c]
test ecx, ecx
lea edi, [esi + 0x58c]
mov byte [esi + 0x65], 1
je 0x4267c9
call fcn.00485440
mov ecx, edi
call fcn.004388b0
mov eax, dword [esi + 0x5f4]
mov ebp, dword [eax]
lea edi, [esi + 0x5f0]
mov esi, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
test esi, esi
mov ebx, dword [edi + 4]
je 0x4267ec
cmp esi, edi
je 0x4267f1
call fcn.0045c852
cmp ebp, ebx
je 0x426825
test esi, esi
jne 0x4267fe
call fcn.0045c852
cmp ebp, dword [esi + 4]
jne 0x426808
call fcn.0045c852
mov edx, dword [ebp + 0x28]
push edx
call dword [0x491360]
lea ecx, [esp + 0x1c]
call fcn.004171d0
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x4267e1
push 0x14e
push str.CDownloader::FinalRelease
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0x438]
push 0x3fc
push eax
call fcn.0045c9a6
add esp, 0x14
lea ecx, [esp + 0x42c]
push ecx
call dword [0x491350]
cmp byte [esp + 0x18], 0
mov dword [esp + 0x838], 0xffffffff
je 0x4268aa
mov eax, dword [esp + 0x14]
add dword [eax], 0xffffffff
jne 0x4268aa
xor edx, edx
lea ecx, [eax + 4]
xchg dword [ecx], edx
lea ecx, [eax + 8]
mov edx, ecx
mov eax, 0x80000000
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x4268aa
cmp eax, 0x80000000
jle 0x4268aa
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x4268aa
call fcn.0040bb60
push eax
call dword [0x49135c]
mov ecx, dword [esp + 0x830]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.0045b7a6
add esp, 0x828
ret
Function at 0x42fc30
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x48a54b
mov eax, dword fs:[0]
push eax
sub esp, 0x540
mov eax, dword [0x4ac13c]
xor eax, esp
mov dword [esp + 0x53c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x554]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x568]
mov esi, ecx
push str._n____CDownloaderMgr::NotifyOtherDownloaders___n
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
call dword [0x49134c]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
cmp ebx, eax
mov dword [esp + 0x55c], eax
je 0x42fd8a
mov eax, dword [esi + 0x124]
mov edi, dword [eax]
add esi, 0x120
lea ecx, [esp + 0x38]
push ecx
mov ebp, esi
mov ecx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
call fcn.0041e510
mov ebx, eax
add ebx, 8
test ebp, ebp
mov esi, dword [esi + 4]
je 0x42fcde
cmp ebp, dword [esp + 0x14]
je 0x42fce3
call fcn.0045c852
cmp edi, esi
je 0x42fd8a
test ebp, ebp
jne 0x42fcf4
call fcn.0045c852
cmp edi, dword [ebp + 4]
jne 0x42fcfe
call fcn.0045c852
mov ecx, dword [edi + 0xc]
lea edx, [esp + 0xc4]
lea esi, [edi + 0xc]
push edx
call fcn.0041e510
add eax, 8
mov ecx, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42fd36
test dl, dl
je 0x42fd32
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42fd36
add eax, 2
add ecx, 2
test dl, dl
jne 0x42fd16
xor eax, eax
jmp 0x42fd3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42fd70
cmp edi, dword [ebp + 4]
jne 0x42fd49
call fcn.0045c852
mov eax, dword [esp + 0x30]
cmp dword [esi], eax
je 0x42fd70
cmp edi, dword [ebp + 4]
jne 0x42fd5b
call fcn.0045c852
push esi
lea ecx, [esp + 0x1c]
call fcn.0042e1a0
push str._n____CDownloaderMgr::NotifyOtherDownloaders___TARGET_FOUND_n
call dword [0x49134c]
lea ecx, [esp + 0x28]
call fcn.00427030
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
jmp 0x42fcd1
mov esi, dword [esp + 0x1c]
cmp esi, dword [esp + 0x20]
jbe 0x42fd99
call fcn.0045c852
mov ebp, dword [esp + 0x574]
mov ebx, dword [esp + 0x570]
mov edi, esi
lea esp, [esp]
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x1c], esi
jbe 0x42fdbf
call fcn.0045c852
cmp edi, esi
je 0x42fe0c
cmp edi, dword [esp + 0x20]
jb 0x42fdce
call fcn.0045c852
mov esi, dword [edi]
test esi, esi
je 0x42fdfc
mov ecx, dword [esp + 0x34]
push esi
call fcn.0042ee50
test al, al
je 0x42fdfc
mov eax, dword [esp + 0x56c]
mov ecx, dword [esp + 0x564]
mov edx, dword [esi]
mov edx, dword [edx]
push ebp
push ebx
push eax
push ecx
mov ecx, esi
call edx
cmp edi, dword [esp + 0x20]
jb 0x42fe07
call fcn.0045c852
add edi, 4
jmp 0x42fdb0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x42fe1d
push eax
call fcn.00451fd9
add esp, 4
push 0x48c
push str.CDownloaderMgr::NotifyOtherDownloaders
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0x15c]
push 0x3fc
push eax
call fcn.0045c9a6
add esp, 0x14
lea ecx, [esp + 0x150]
push ecx
call dword [0x491350]
mov ecx, dword [esp + 0x554]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x53c]
xor ecx, esp
call fcn.0045b7a6
add esp, 0x54c
ret 0x14
Function at 0x4304c0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0
push 0
push 1
push 0
mov ebp, ecx
call dword [0x4912d8]
mov esi, dword [esp + 0x20]
mov ebx, eax
test ebx, ebx
mov dword [esi + 4], ebx
jne 0x43051e
call dword [0x4913a4]
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x14], edi
call fcn.004855e0
neg edi
sbb edi, edi
test edi, fcn.004054b0
mov dword [esp + 0x18], eax
je 0x43051e
push str.thread.entry_event
lea eax, [esp + 0x18]
push eax
call fcn.0040ccd0
push 0
push 0
push 1
push 0
call dword [0x4912d8]
mov dword [ebp + 8], eax
mov dword [esi + 8], eax
cmp dword [ebp + 8], 0
jne 0x430572
call dword [0x4913a4]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x14], edi
call fcn.004855e0
neg edi
sbb edi, edi
test edi, fcn.004054b0
mov dword [esp + 0x18], eax
je 0x430572
push str.thread.exit_event
lea ecx, [esp + 0x18]
push ecx
call fcn.0040ccd0
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
push 0
push esi
push 0x4285a0
push eax
push 0
mov dword [esp + 0x28], 0
call fcn.0045d8a4
add esp, 0x18
test eax, eax
mov dword [ebp + 4], eax
jne 0x4305f0
call dword [0x4913a4]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
test ebx, ebx
je 0x4305ba
push ebx
call dword [0x491360]
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x4305c8
push ebp
call dword [0x491360]
mov dword [esp + 0x14], edi
call fcn.004855e0
neg edi
sbb edi, edi
test edi, fcn.004054b0
mov dword [esp + 0x18], eax
je 0x4305f0
push str.thread
lea ecx, [esp + 0x18]
push ecx
call fcn.0040ccd0
test ebx, ebx
je 0x430604
push 0xffffffffffffffff
push ebx
call dword [0x491348]
push ebx
call dword [0x491360]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x436430
Capabilities:
Copy file

Disassembly:
sub esp, 0x20
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov dword [esp], eax
mov eax, dword [esp + 0x24]
lea edx, [esp]
push edx
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov word [esp + 0x14], 0x614
call dword [0x49141c]
test eax, eax
sete al
add esp, 0x20
ret

Function at 0x436490
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x22c
mov eax, dword [0x4ac13c]
xor eax, esp
mov dword [esp + 0x228], eax
mov ecx, dword [esp + 0x234]
mov edx, dword [esp + 0x238]
mov eax, dword [esp + 0x230]
push esi
mov esi, dword [esp + 0x244]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x240]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x28], eax
call dword [0x49164c]
test eax, eax
jl 0x436514
mov eax, dword [esp + 8]
push eax
push str.CLSID_sLocalServer32
lea ecx, [esp + 0x2c]
push 0x103
push ecx
call dword [0x491424]
mov edx, dword [esp + 0x18]
add esp, 0x10
push edx
call dword [0x491664]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0x80000000
call dword [0x491020]
test eax, eax
jne 0x436566
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
push edx
push esi
lea eax, [esp + 0x18]
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x104
call dword [0x49101c]
test eax, eax
je 0x43657e
mov edx, dword [esp + 4]
push edx
call dword [0x491004]
xor al, al
pop esi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0045b7a6
add esp, 0x22c
ret
mov eax, dword [esp + 4]
push eax
call dword [0x491004]
mov ecx, dword [esp + 0x22c]
pop esi
xor ecx, esp
mov al, 1
call fcn.0045b7a6
add esp, 0x22c
ret

Function at 0x4365b0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x108
mov eax, dword [0x4ac13c]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.0045c2f0
push 0x103
lea ecx, [esp + 0x10]
push 0x4945c8
push ecx
call fcn.0045ce00
add esp, 0x18
lea edx, [esp]
push edx
push 0x80000001
call dword [0x491428]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0045b7a6
add esp, 0x108
ret