joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436880
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x48509b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
push 0x103
lea eax, [esp + 0x11d]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x124], 0
call fcn.0046c870
push 0x103
lea ecx, [esp + 0x25]
push 0
push ecx
mov byte [esp + 0x2c], 0
call fcn.0046c870
add esp, 0x18
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43690b
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0xffffffffffffffff
lea edi, [esi + 0x20]
push 0
mov ecx, edi
mov dword [esp + 0x230], 0
call fcn.0044de30
push 0x104
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x436978
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x436971
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x436a68
lea eax, [esp + 0x14]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x436980
sub eax, edx
add eax, 0xffffffff
cmp byte [esp + 0x14], 0x5c
jne 0x436a31
cmp byte [esp + 0x15], 0x5c
jne 0x436a31
cmp byte [esp + 0x16], 0x3f
jne 0x436a31
cmp byte [esp + 0x17], 0x5c
jne 0x436a31
cmp byte [esp + eax + 0x14], 0x5c
lea esi, [esp + eax + 0x14]
jne 0x436a31
push 0x104
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
mov byte [esi], 0x5c
je 0x436a31
mov eax, dword [edi + 8]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, edi
call fcn.0044e077
push 0x104
lea edx, [esp + 0x18]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
test eax, eax
je 0x436a2b
lea eax, [esp + 0x14]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x436a10
sub eax, edx
add eax, 0xffffffff
cmp byte [esp + 0x14], 0x5c
je 0x436999
jmp 0x436a31
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov dword [esp + 0x228], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436a63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00468ce5
add esp, 0x21c
ret
Function at 0x436a90
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x48914b
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
push 0xffffffffffffffff
xor esi, esi
lea ecx, [ebx + 0xc]
push esi
call fcn.0044de30
mov ecx, ebx
call fcn.00435650
call fcn.0044d630
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x436af8
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x224], esi
mov ecx, dword [ebx + 8]
mov eax, dword [ecx - 0xc]
cmp eax, esi
mov dword [esp + 0x14], eax
jle 0x436b8e
mov ebp, dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
test esi, esi
jl 0x436be1
mov eax, dword [ebx + 8]
cmp esi, dword [eax - 0xc]
jg 0x436be1
movsx edx, byte [eax + esi]
push edx
lea eax, [esp + 0x14]
push str._c:_
push eax
call fcn.004067e0
push 0x200
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.0046c870
mov edi, dword [esp + 0x28]
add esp, 0x18
push 0x200
lea edx, [esp + 0x1c]
push edx
push edi
call ebp
test eax, eax
je 0x436b85
mov eax, dword [ebx + 0x14]
lea ecx, [ebx + 0xc]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0044e077
add esi, 1
cmp esi, dword [esp + 0x14]
jl 0x436b23
lea eax, [edi - 0x10]
mov dword [esp + 0x224], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436bb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00468ce5
add esp, 0x218
ret
push 0x80070057
call fcn.00401db0
int3
Function at 0x43f310
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x486730
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov dword [esp + 0x3c], 0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43f427
cmp dword [esp + 0x24], eax
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], edi
je 0x43f3f8
push str.hjjm.exe_zhj5
lea edx, [esp + 0x28]
push 0x4b90c8
push edx
call fcn.00406070
add esp, 0xc
mov byte [esp + 0x1c], 1
mov esi, dword [eax]
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x43f3b5
push 0x80004005
call fcn.00401db0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push esi
push 1
push 0
push str.Hjjm
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f41c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43f41c
push 0x494704
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push 0x494704
push 1
push 0
push str.Hjjm
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test edi, edi
je 0x43f427
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x43f770
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x487389
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0xc], esi
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43f7b1
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x18], 0
lea ebx, [esi + 4]
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43f7e4
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x18], 1
lea edi, [esi + 8]
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43f814
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x18], 2
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43f841
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
push 0
push 0x494704
mov ecx, edi
mov byte [esp + 0x20], 3
call fcn.004068a0
push 0
push 0x494704
mov ecx, ebx
call fcn.004068a0
push 0x4e
push str.j1U9mTn3CZ_EJ5XdYefgRHzAShDiklq_r6swx8yB0FG2KL_McN_7aO_4uPQtvVopW_Ib_____.
mov ecx, esi
call fcn.004068a0
mov ecx, dword [esi]
mov edx, dword [ecx - 0xc]
or eax, 0xffffffff
mov dword [esi + 0x38], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x440de0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x104], eax
push 0
push 0x1a
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x440e67
lea eax, [esp]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x440e10
sub eax, edx
push eax
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.004068a0
push 0x29
push str.MicrosoftInternet_ExplorerQuick_Launch
mov ecx, esi
call fcn.0040a140
cmp dword [0x4b8f40], 0
je 0x440e4d
push 0x14
push str.User_PinnedTaskBar
mov ecx, esi
call fcn.0040a140
mov eax, 1
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00468ce5
add esp, 0x108
ret
push 0
push 0x494704
mov ecx, esi
call fcn.004068a0
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.00468ce5
add esp, 0x108
ret

Function at 0x440e90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x104], eax
push 0
push 0
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x440ef2
lea eax, [esp]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x440ec0
sub eax, edx
push eax
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.004068a0
mov eax, 1
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00468ce5
add esp, 0x108
ret
push 0
push 0x494704
mov ecx, esi
call fcn.004068a0
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.00468ce5
add esp, 0x108
ret

Function at 0x440f20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x104], eax
push 0
push 0x19
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x440f82
lea eax, [esp]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x440f50
sub eax, edx
push eax
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.004068a0
mov eax, 1
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00468ce5
add esp, 0x108
ret
push 0
push 0x494704
mov ecx, esi
call fcn.004068a0
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.00468ce5
add esp, 0x108
ret
Function at 0x443170
Capabilities:
Get common file path

Disassembly:
sub esp, 0x114
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x110], eax
call fcn.00443520
push 0
push 0x21
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4431ae
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004431d0
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00468ce5
add esp, 0x114
ret
Function at 0x443520
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [esp + 0x18], ebx
call edi
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00446d76
add esp, 4
lea edx, [esp + 0xc]
push edx
mov esi, eax
push esi
push ebx
call edi
mov edi, eax
test edi, edi
je 0x4435ac
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
lea ecx, [ecx]
test dword [esi + 0xc], 0x100000
je 0x443573
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea ecx, [esp + 0xc]
push ecx
push 0
push edi
mov dword [esp + 0x18], 0
call ebx
push esi
call fcn.00446d7b
mov edx, dword [esp + 0x10]
push edx
call fcn.00446d76
add esp, 8
mov esi, eax
lea eax, [esp + 0xc]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x443560
mov ebx, 1
test esi, esi
je 0x4435b9
push esi
call fcn.00446d7b
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x4435c0
Capabilities:
Get file size
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48710b
mov eax, dword fs:[0]
push eax
mov eax, 0x271c
call fcn.00470390
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x2718], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x2730]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44361d
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x2710
lea ecx, [esp + 0x20]
push 0
push ecx
mov dword [esp + 0x2744], 0
call fcn.0046c870
add esp, 0xc
test esi, esi
jne 0x443654
xor eax, eax
jmp 0x44366b
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x443660
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.004068a0
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, edx
jge 0x44369f
push esi
lea ecx, [esp + 0x18]
call fcn.00406390
mov ecx, dword [esp + 0x14]
test esi, esi
mov byte [edi + ecx], 0x5c
jl 0x4437df
cmp esi, dword [ecx - 8]
jg 0x4437df
test ebx, ebx
mov dword [ecx - 0xc], esi
mov byte [esi + ecx], 0
jne 0x4436c3
xor eax, eax
jmp 0x4436d3
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4436c8
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.0040a140
mov ebp, dword [esp + 0x14]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44374e
mov dword [esp + 0x2738], eax
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x443724
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x2730]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2718]
xor ecx, esp
call fcn.00468ce5
add esp, 0x2728
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0x40
mov edi, eax
push esi
sub edi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test edi, edi
jbe 0x4437a7
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp edi, 0x2710
push 0
jbe 0x443799
lea ecx, [esp + 0x1c]
push ecx
push 0x2710
lea edx, [esp + 0x28]
push edx
push esi
call ebx
sub edi, 0x2710
jne 0x443773
jmp 0x4437a7
lea eax, [esp + 0x1c]
push eax
push edi
lea ecx, [esp + 0x28]
push ecx
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
mov dword [esp + 0x2738], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4437d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x443726
push 0x80070057
call fcn.00401db0
int3
Function at 0x443ab0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4870c6
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x460], eax
push ebp
push esi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x470]
mov dword fs:[0], eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x443b03
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x478], 0
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x443b38
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
xor ebp, ebp
push ebp
mov byte [esp + 0x47c], 1
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0xc]
push ecx
push 0x493a20
push 1
push ebp
push 0x493a30
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x443c37
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x14]
push ecx
push 0x493aa0
push eax
call edx
test eax, eax
jl 0x443c2b
push 0x104
lea eax, [esp + 0x268]
push eax
push 0xffffffffffffffff
push edi
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebp
lea edx, [esp + 0x268]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x443c1f
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push 3
push ebp
push eax
call edx
test eax, eax
jl 0x443c1f
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 4
lea edx, [esp + 0x20]
push edx
push 0x104
lea edx, [esp + 0x168]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
lea ecx, [esp + 0x15c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00406a00
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x443c1f
mov ebp, 1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esi - 0x10]
mov byte [esp + 0x478], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443c61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x478], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443c8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x470]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.00468ce5
add esp, 0x470
ret
Function at 0x44a4dd
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x44a516
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0044a4a0
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00425850
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x44c1da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x44c21d
call fcn.004533ca
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x44c21d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44c238
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0044bd91
test ebx, ebx
mov esi, eax
je 0x44c236
test edi, edi
je 0x44c236
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x44fd32
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jne 0x44fd65
push dword [ebp + 8]
call edi
push eax
call fcn.0045de76
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x20]
cmp eax, dword [ebp - 4]
je 0x44fd90
test byte [ebp - 4], 1
je 0x44fd90
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x44fd90
push dword [ebp + 8]
call edi
push eax
call fcn.0045de76
lea eax, [esi + 8]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x44fe40
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0044fc97
pop ecx
lea eax, [esi + 0x10]
pop ecx
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x44fdc6
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0044fc97
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [esi]
or eax, dword [esi + 4]
je 0x44fddf
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.0044fc97
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44fe0a
push dword [ebp + 8]
call edi
push eax
call fcn.0045de76
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x44fe2a
push dword [ebp + 8]
call edi
push eax
call fcn.0045de76
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x44fe40
push dword [ebp + 8]
call edi
push eax
call fcn.0045de76
movzx eax, byte [esi + 0x20]
cmp eax, dword [ebp - 4]
je 0x44fe68
test byte [ebp - 4], 1
jne 0x44fe68
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x44fe68
push dword [ebp + 8]
call edi
push eax
call fcn.0045de76
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4545cb
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x4545d4
xor eax, eax
jmp 0x45463d
cmp dword [esp + 8], 0
jne 0x4545e0
call fcn.0044d52a
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.0046a17f
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x45461b
push dword [esi + 0x10]
call fcn.0046a430
test eax, eax
pop ecx
jne 0x45461b
mov esi, dword [esi + 0xc]
call fcn.0046d1f8
push esi
push dword [eax]
push 1
call fcn.0045de30
push dword [esi + 0x10]
call fcn.0046a45f
test eax, eax
pop ecx
je 0x45463a
push dword [esi + 0x10]
call fcn.0046f6f6
push eax
call fcn.004112a0
pop ecx
pop ecx
jmp 0x454609
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x455dd6
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_recv]
ret 0xc