joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45732c
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xe4
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0045562f
mov ecx, eax
call fcn.0045beee
mov ebx, str.cid_store.dat
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x58]
push eax
call fcn.00413270
mov eax, dword [ebp + 0x5c]
add esp, 0xc
cmp dword [ebp + 0x70], 8
jae 0x457376
lea eax, [ebp + 0x5c]
push eax
call fcn.0046f6e5
xor edi, edi
pop ecx
push edi
test al, al
je 0x45738c
xor esi, esi
inc esi
jmp 0x4574d2
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x54], 7
call fcn.00401d0c
lea eax, [ebp + 0x3c]
push eax
call fcn.0045c938
xor esi, esi
inc esi
pop ecx
test al, al
je 0x45745a
lea eax, [ebp + 0x3c]
push eax
call fcn.0045c5c2
lea ecx, [ebp - 0x6c]
mov dword [esp], 0x4ad52c
call fcn.00401903
push eax
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0042ba05
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x3c]
call fcn.004019ae
push edi
push esi
lea ecx, [ebp - 0x50]
call fcn.00401a65
push edi
push esi
lea ecx, [ebp - 0x6c]
call fcn.00401a65
push ebx
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00413270
mov ecx, dword [ebp + 0x5c]
add esp, 0xc
cmp dword [ebp + 0x70], 8
jae 0x457416
lea ecx, [ebp + 0x5c]
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
jae 0x457422
lea eax, [ebp + 0x24]
push ecx
push eax
call fcn.0046f84f
pop ecx
pop ecx
test eax, eax
je 0x457450
cmp dword [ebp + 0x70], 8
mov ecx, dword [ebp + 0x5c]
jae 0x45743b
lea ecx, [ebp + 0x5c]
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
jae 0x457447
lea eax, [ebp + 0x24]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push edi
push esi
lea ecx, [ebp + 0x20]
call fcn.00401a65
push edi
lea ecx, [ebp + 4]
mov dword [ebp + 0x1c], 7
call fcn.00401d0c
lea eax, [ebp + 4]
push eax
call fcn.0045c845
pop ecx
test al, al
je 0x4574bd
lea eax, [ebp + 4]
push eax
call fcn.0045c5c2
push ebx
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00413270
mov ecx, dword [ebp + 0x5c]
add esp, 0x10
cmp dword [ebp + 0x70], 8
jae 0x45749e
lea ecx, [ebp + 0x5c]
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4574aa
lea eax, [ebp - 0x30]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push edi
push esi
lea ecx, [ebp - 0x34]
call fcn.00401a65
push edi
push esi
lea ecx, [ebp + 4]
call fcn.00401a65
push edi
push esi
lea ecx, [ebp + 0x3c]
call fcn.00401a65
push edi
push esi
lea ecx, [ebp + 0x58]
call fcn.00401a65
push edi
push esi
lea ecx, [ebp - 0x18]
call fcn.00401a65
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047654a
add ebp, 0x78
leave
ret
Function at 0x457c9d
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push eax
mov dword [ebp - 0x48], eax
call fcn.0045c5c2
push esi
call fcn.0045c5c2
xor ebx, ebx
pop ecx
pop ecx
cmp dword [esi + 0x14], ebx
je 0x457ce3
cmp dword [esi + 0x18], 8
jb 0x457cd9
mov eax, dword [esi + 4]
jmp 0x457cdc
lea eax, [esi + 4]
push eax
call fcn.0046f24e
pop ecx
lea ecx, [ebp - 0x60]
call fcn.00411f88
push str.bootstrap.dat
lea ecx, [ebp - 0x20]
call fcn.00401903
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x60]
call fcn.00411e91
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x20]
call fcn.00401a65
push str.dhtnodes.dat
lea ecx, [ebp - 0x20]
call fcn.00401903
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x60]
call fcn.00411e91
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.00401a65
push str.nodes.dat
lea ecx, [ebp - 0x20]
call fcn.00401903
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x60]
call fcn.00411e91
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.00401a65
push str.server.met
lea ecx, [ebp - 0x20]
call fcn.00401903
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x60]
call fcn.00411e91
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.00401a65
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x54]
lea ecx, [ebp - 0x44]
call fcn.00415b29
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x50]
lea ecx, [ebp - 0x68]
call fcn.00415b29
jmp 0x457e05
lea ecx, [ebp - 0x44]
call fcn.004039b4
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x20]
push eax
call fcn.0042ba05
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.004039b4
push eax
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.0042ba05
mov ecx, dword [ebp - 0x38]
add esp, 0xc
cmp dword [ebp - 0x24], 8
jae 0x457dd4
lea ecx, [ebp - 0x38]
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x457de0
lea eax, [ebp - 0x1c]
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
push edi
lea ecx, [ebp - 0x3c]
call fcn.00401a65
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.00401a65
lea ecx, [ebp - 0x44]
call fcn.0040396e
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x44]
call fcn.00412119
test al, al
je 0x457d9a
lea ecx, [ebp - 0x60]
call fcn.00412343
push dword [ebp - 0x60]
call fcn.00476027
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047654a
leave
ret 8
Function at 0x45bf7a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
push edi
lea ecx, [ebp - 0x3c]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [ebp - 0x24], 7
call fcn.00401d0c
lea eax, [ebp - 0x3c]
push eax
call fcn.00439605
mov ecx, eax
call fcn.00437928
push str.dl_uac_tool.dll
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00413270
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 8], 8
jae 0x45bfdd
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x45c033
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetSingleProcessUseDir
push ebx
call edi
push str.GetProfileDir
push ebx
mov dword [esi], eax
call edi
push str.GetComponentsDir
push ebx
mov dword [esi + 4], eax
call edi
push str.GetSingleProcessUseDir
push ebx
mov dword [esi + 8], eax
call edi
push str.SetMultiProcessUseDir
push ebx
mov dword [esi + 0xc], eax
call edi
push str.GetMultiProcessUseDir
push ebx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a65
push edi
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a65
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047654a
leave
ret

Function at 0x45c271
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4c7dfc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 8
xor ecx, ecx
pop ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
cmp dword [0x4c7e10], ebx
jae 0x45c2a7
mov eax, 0x4c7dfc
push ecx
push ecx
push 0x2001f
push ecx
push ecx
push eax
push closesocket
lea ecx, [ebp - 0x28]
call fcn.0045c189
test eax, eax
jne 0x45c36f
push str.AppName
lea ecx, [ebp - 0x20]
call fcn.00401903
cmp dword [edi + 0x18], ebx
jb 0x45c2dd
mov edi, dword [edi + 4]
jmp 0x45c2e0
add edi, 4
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], ebx
jae 0x45c2eb
lea eax, [ebp - 0x1c]
push 1
push edi
push eax
lea ecx, [ebp - 0x28]
call fcn.0045c1d7
push str.AppPath
lea ecx, [ebp - 0x20]
call fcn.00401a41
cmp dword [esi + 0x18], ebx
jb 0x45c30e
mov esi, dword [esi + 4]
jmp 0x45c311
add esi, 4
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], ebx
jae 0x45c31c
lea eax, [ebp - 0x1c]
push 1
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.0045c1d7
push 0x4ada50
lea ecx, [ebp - 0x20]
call fcn.00401a41
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], ebx
jae 0x45c340
lea eax, [ebp - 0x1c]
push 4
lea ecx, [ebp - 0x2c]
push ecx
push 4
push 0
push eax
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 3
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x28]
call fcn.0045009a
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a65
lea ecx, [ebp - 0x28]
call fcn.0045009a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0047654a
leave
ret
Function at 0x45c388
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x44
xor ebx, ebx
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.004764d0
push 0x10
lea eax, [ebp - 0x34]
push ebx
push eax
mov dword [ebp - 0x94], 0x44
mov dword [ebp - 0x68], 0x80
call fcn.004764d0
add esp, 0x18
mov eax, 0x4a6e7c
push eax
push edi
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00409daf
add esp, 0xc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00413270
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.00401a65
cmp esi, ebx
je 0x45c41b
push 0x4b24d4
lea ecx, [ebp - 0x20]
call fcn.0040198a
push esi
lea ecx, [ebp - 0x20]
call fcn.0040198a
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x94]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x20]
call fcn.00416ac0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x45c461
mov byte [ebp - 0x21], bl
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a65
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x21]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047654a
leave
ret
cmp byte [ebp + 0x10], bl
je 0x45c471
push 0xffffffffffffffff
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
mov byte [ebp - 0x21], 1
jmp 0x45c444
Function at 0x45c845
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp + 0x1a8], eax
push esi
push edi
mov edi, dword [ebp + 0x1b4]
xor eax, eax
push 0x206
mov word [ebp - 0x60], ax
xor esi, esi
lea eax, [ebp - 0x5e]
push esi
push eax
call fcn.004764d0
add esp, 0xc
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
jne 0x45c898
xor al, al
jmp 0x45c921
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x45c8ee
lea ecx, [ebp - 0x64]
push ecx
push esi
push esi
push 0x4ad9c4
mov dword [ebp - 0x64], esi
call eax
cmp dword [ebp - 0x64], esi
je 0x45c891
push dword [ebp - 0x64]
call fcn.00476464
pop ecx
push dword [ebp - 0x64]
cmp eax, 0x104
jbe 0x45c8d8
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x45c891
lea eax, [ebp - 0x60]
push eax
call fcn.004764ac
pop ecx
pop ecx
push dword [ebp - 0x64]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x45c8fd
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push 0x25
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x80]
call fcn.00401903
push 0xffffffffffffffff
push esi
push eax
mov ecx, edi
call fcn.004019ae
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.00401a65
mov al, 1
mov ecx, dword [ebp + 0x1a8]
pop edi
xor ecx, ebp
pop esi
call fcn.0047654a
add ebp, 0x1ac
leave
ret

Function at 0x45c938
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp + 0x1a8], eax
push esi
push edi
mov edi, dword [ebp + 0x1b4]
xor eax, eax
push 0x206
mov word [ebp - 0x60], ax
xor esi, esi
lea eax, [ebp - 0x5e]
push esi
push eax
call fcn.004764d0
add esp, 0xc
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
jne 0x45c98b
xor al, al
jmp 0x45ca14
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x45c9e1
lea ecx, [ebp - 0x64]
push ecx
push esi
push esi
push 0x4ad9d4
mov dword [ebp - 0x64], esi
call eax
cmp dword [ebp - 0x64], esi
je 0x45c984
push dword [ebp - 0x64]
call fcn.00476464
pop ecx
push dword [ebp - 0x64]
cmp eax, 0x104
jbe 0x45c9cb
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x45c984
lea eax, [ebp - 0x60]
push eax
call fcn.004764ac
pop ecx
pop ecx
push dword [ebp - 0x64]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x45c9f0
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push 0x23
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x80]
call fcn.00401903
push 0xffffffffffffffff
push esi
push eax
mov ecx, edi
call fcn.004019ae
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.00401a65
mov al, 1
mov ecx, dword [ebp + 0x1a8]
pop edi
xor ecx, ebp
pop esi
call fcn.0047654a
add ebp, 0x1ac
leave
ret
Function at 0x45f150
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a0d4b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c2f90]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
xor edx, edx
test ecx, ecx
setl dl
mov esi, dword [eax + 0xc]
dec edx
and edx, ecx
mov ecx, dword [eax]
mov edi, edx
xor edx, edx
test ecx, ecx
setl dl
dec edx
and edx, ecx
mov ebp, edx
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0xc]
cmp esi, ecx
jle 0x45f1a6
mov esi, ecx
mov edx, dword [edx + 8]
mov eax, dword [eax + 8]
cmp eax, edx
jle 0x45f1b2
mov eax, edx
sub eax, ebp
mov ebx, eax
sub esi, edi
test ebx, ebx
jle 0x45f25e
test esi, esi
jle 0x45f25e
push 0x1c
call fcn.00476574
add esp, 4
mov dword [esp + 0x30], eax
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp eax, ecx
je 0x45f1f1
push esi
push ebx
push 4
mov ecx, eax
call fcn.0045da50
mov dword [esp + 0x30], eax
jmp 0x45f1f5
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
push edi
push ebp
mov dword [esp + 0x28], 0xffffffff
call fcn.0045dbc0
mov edi, eax
mov eax, dword [esp + 0x30]
mov ebp, dword [eax + 0x14]
test esi, esi
jle 0x45f260
mov dword [esp + 0x14], esi
mov edx, ebp
test ebx, ebx
jle 0x45f239
mov eax, dword [esp + 0x2c]
lea ecx, [edi + eax]
mov esi, ebx
mov al, byte [ecx]
mov byte [edx], al
inc edx
add ecx, 4
sub esi, 1
jne 0x45f228
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
add edi, dword [ecx + 0x10]
add ebp, dword [eax + 0x10]
sub dword [esp + 0x14], 1
jne 0x45f219
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x460270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push edi
mov edi, dword [esp + 0x64]
cmp dword [edi + 0x20], 7
jne 0x4602af
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x68]
push ecx
push edx
push edi
push eax
call fcn.0045ffe0
add esp, 0x20
pop edi
add esp, 0x50
ret
cmp dword [edi + 4], 0
mov cl, byte [esp + 0x78]
mov byte [esp + 0x50], 0
mov byte [esp + 0x4c], cl
mov dword [esp + 0x48], 1
jne 0x4602d1
xor eax, eax
pop edi
add esp, 0x50
ret
mov edx, dword [esp + 0x68]
push esi
mov esi, dword [esp + 0x78]
push esi
push edx
call fcn.0045cd60
mov dword [esp + 0x68], eax
test eax, eax
jne 0x4602ef
pop esi
pop edi
add esp, 0x50
ret
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub eax, dword [esi]
sub ecx, dword [esi + 4]
mov edi, dword [edi + 0xc]
push ebx
mov ebx, dword [esp + 0x74]
push ebp
mov ebp, dword [esp + 0x7c]
add eax, ebx
add ecx, ebp
push edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], edi
call fcn.00460f30
push edi
call fcn.00460f40
mov edi, eax
add esp, 8
test edi, edi
je 0x460462
jmp 0x460340
cmp dword [edi + 0x18], 0
je 0x46044b
lea edx, [esp + 0x14]
push edx
push edi
call fcn.00460e70
add esp, 8
lea eax, [esp + 0x14]
push eax
call fcn.00467c00
test eax, eax
jne 0x46044b
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00466e20
test eax, eax
je 0x46044b
mov eax, ebp
neg eax
push eax
mov ecx, ebx
neg ecx
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00467c80
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
neg ecx
push ecx
neg edx
mov dword [esp + 0x34], eax
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00467c80
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0045f0a0
mov esi, eax
add esp, 8
test esi, esi
je 0x460429
push 0
push 0
push esi
call fcn.0045f2a0
mov eax, dword [0x4c7e58]
mov ecx, dword [eax]
mov edx, dword [esp + 0x94]
push edx
mov edx, dword [edi + 0x18]
lea eax, [esp + 0x54]
push eax
push edx
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push edx
push 0
push 0
push esi
call eax
push esi
call fcn.0045f280
add esp, 0x30
jmp 0x46044b
mov edx, dword [edi + 0x18]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [0x4c7e50]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
call fcn.0045ff90
add esp, 0x14
mov eax, dword [esp + 0x10]
push eax
call fcn.00460f40
mov edi, eax
add esp, 4
test edi, edi
jne 0x460340
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0045cd40
pop ebp
pop ebx
pop esi
mov eax, 1
pop edi
add esp, 0x50
ret
Function at 0x46e201
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x46eeac
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4dc
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
test eax, eax
je 0x46ef88
xor ecx, ecx
cmp cx, word [eax]
je 0x46ef88
push 0x4adbc8
push eax
call fcn.0047aed8
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x46eef3
inc eax
jmp 0x46ef8b
lea eax, [ebp - 0x4dc]
push esi
push eax
call fcn.0046e201
push edi
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0047ac76
add esp, 0x14
jmp 0x46ef41
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x4dc]
push eax
call fcn.0046ec10
push edi
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0047ac76
add esp, 0x1c
test eax, eax
ja 0x46ef1a
lea eax, [ebp - 0x4dc]
push ebx
push eax
call fcn.0046ecae
push 0xd8
lea eax, [ebp - 0x4dc]
push 0
push eax
call fcn.004764d0
push edi
call fcn.0047a9a2
add esp, 0x18
pop esi
push edi
test eax, eax
je 0x46ef7e
call fcn.0047a633
pop ecx
push 2
jmp 0x46ef8a
call fcn.0047a633
pop ecx
xor eax, eax
jmp 0x46ef8b
push 3
pop eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0047654a
leave
ret

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

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x46f23f
xor eax, eax
cmp ax, word [esi]
je 0x46f23f
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46f24a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46f23b
test al, 0x10
je 0x46f23b
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
push 0x132b3a1
call fcn.0046f866
pop ecx
xor al, al
pop esi
ret
Function at 0x46f6ea
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x46f78e
xor eax, eax
cmp ax, word [edi]
je 0x46f78e
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x46f78a
inc eax
push esi
push eax
call fcn.004752e5
mov esi, eax
pop ecx
cmp esi, ebx
je 0x46f789
push esi
push dword [ebp + 8]
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x46f782
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x4b27d0
push esi
mov dword [ebp - 4], ebx
mov dword [ebp + 8], 0x34
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x46f782
mov eax, dword [ebp - 4]
mov cx, word [eax + 0xa]
mov edx, dword [ebp + 0xc]
mov word [edx], cx
mov cx, word [eax + 8]
mov edx, dword [ebp + 0x10]
mov word [edx], cx
mov cx, word [eax + 0xe]
mov edx, dword [ebp + 0x14]
mov word [edx], cx
mov ax, word [eax + 0xc]
mov ecx, dword [ebp + 0x18]
mov word [ecx], ax
mov bl, 1
push esi
call fcn.004761fc
pop ecx
pop esi
mov al, bl
jmp 0x46f79b
push 0x132b3a1
call fcn.0046f866
pop ecx
xor al, al
pop edi
pop ebx
leave
ret

Function at 0x474e39
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4d0018], 0
push esi
jne 0x474dac
call fcn.00474cd2
test eax, eax
je 0x474def
mov eax, dword [0x4d0018]
cmp eax, 1
jne 0x474dcd
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x474def
pop esi
ret
push eax
call dword [0x4d0020]
test eax, eax
jne 0x474e37
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x474df3
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4d0018]
call dword [0x4d0020]
mov edi, eax
test edi, edi
je 0x474e18
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x474e34
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4d0018]
call dword [0x4d001c]
add edi, 0x10
cmp edi, esi
jb 0x474e20
mov eax, edi
pop edi
pop esi
ret
jmp 0x474d99

Function at 0x47654a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c2f90]
jne 0x476554
repz ret
jmp fcn.004825b4