joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406020
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aea65
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x625e6c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 0
push 0x288
call fcn.00439299
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0x288
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
je 0x4060b6
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
push 0x288
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.005827fb
add esp, 8
mov edx, dword [ebp - 0x20]
push edx
call fcn.0058ca39
add esp, 4
mov dword [ebp - 0x14], eax
push 0x5f932f
lea ecx, [ebp - 0x1c]
call fcn.00406af0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00406b90
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x406187
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x406187
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1a0], 6
jne 0x40617a
mov dword [ebp - 0x18], 0
jmp 0x40611f
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0x190]
jae 0x406178
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x194]
push edx
push 0x5fb17c
lea eax, [ebp - 0x24]
push eax
call fcn.00407df0
add esp, 0xc
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00406a90
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x190]
sub eax, 1
cmp dword [ebp - 0x18], eax
jae 0x406176
push 0x5fb184
lea ecx, [ebp - 0x1c]
call fcn.00406a70
jmp 0x406116
jmp 0x406187
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
jmp 0x4060f7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
push 0x288
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005827fb
add esp, 8
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00406b70
mov eax, dword [ebp - 0x2c]
or eax, 1
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00406ad0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00406ad0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4065f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aeae0
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x625e6c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.00586690
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00586690
add esp, 0xc
lea ecx, [ebp - 0x280]
call fcn.004392f4
mov dword [ebp - 4], 0
lea edx, [ebp - 0x218]
push edx
call fcn.0040a290
add esp, 4
lea eax, [ebp - 0x218]
push eax
push str._s_resourceOracleCon.exe
lea ecx, [ebp - 0x114]
push ecx
call fcn.00402210
add esp, 0xc
push 0
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x280]
call fcn.0043959a
test eax, eax
jne 0x4066d4
push 0x5fb208
push str.Function___s_Fail__tmiddle.exe_is_not_exist_
call fcn.00406800
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call fcn.00439497
mov eax, dword [ebp - 0x220]
jmp 0x4067e6
push 0x3c
push 0
lea eax, [ebp - 0x264]
push eax
call fcn.00586690
add esp, 0xc
mov dword [ebp - 0x264], 0x3c
mov dword [ebp - 0x260], 0x40
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0x5fb248
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x254], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp dword [ebp - 0x244], 0x20
jae 0x406795
mov ecx, dword [ebp - 0x244]
push ecx
push str.CallOracleExe
push 0x5fb260
call fcn.00406800
add esp, 0xc
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call fcn.00439497
mov eax, dword [ebp - 0x224]
jmp 0x4067e6
push 0xffffffffffffffff
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x228], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call fcn.00439497
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00582196
mov esp, ebp
pop ebp
ret
Function at 0x40d9e0
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x625e6c]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x18]
call fcn.00406b90
push 0
push 0
push 3
push 0
push 3
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x40da2b
mov dword [ebp - 0x1c], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00406ad0
mov eax, dword [ebp - 0x1c]
jmp 0x40da8f
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], 0
push 0
lea edx, [ebp - 0x20]
push edx
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x2d1080
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x40da7e
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00406ad0
mov eax, dword [ebp - 0x24]
jmp 0x40da8f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x18]
call fcn.00406ad0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00582196
mov esp, ebp
pop ebp
ret
Function at 0x40daa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aee60
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x625e6c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.00586690
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00586690
add esp, 0xc
lea ecx, [ebp - 0x278]
call fcn.004392f4
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x40db33
mov byte [ebp - 0x219], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00439497
mov al, byte [ebp - 0x219]
jmp 0x40dc97
push str.diskpart
lea edx, [ebp - 0x114]
push edx
call fcn.00402210
add esp, 8
push 0x3c
push 0
lea eax, [ebp - 0x25c]
push eax
call fcn.00586690
add esp, 0xc
mov dword [ebp - 0x25c], 0x3c
mov dword [ebp - 0x258], 0x40
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], str.runas
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp dword [ebp - 0x23c], 0x20
jae 0x40dc08
mov ecx, dword [ebp - 0x23c]
push ecx
push 0x5fc6c0
push 0x5fc6d0
call fcn.00406800
add esp, 0xc
mov byte [ebp - 0x21a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00439497
mov al, byte [ebp - 0x21a]
jmp 0x40dc97
push 0xffffffffffffffff
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x220], 0
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x220], 0
je 0x40dc78
mov edx, dword [ebp - 0x220]
push edx
push str.CallDiskpartExe
push str.Function___s_Fail__tError_code_is__d_
call fcn.00406800
add esp, 0xc
mov byte [ebp - 0x21b], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00439497
mov al, byte [ebp - 0x21b]
jmp 0x40dc97
mov byte [ebp - 0x21c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00439497
mov al, byte [ebp - 0x21c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00582196
mov esp, ebp
pop ebp
ret
Function at 0x40fcb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x625e6c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x110], 0x5fca34
push 0x104
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.00586690
add esp, 0xc
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x118], 0
push 0x5fca54
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.00588e5a
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x40fd3b
push 0x20c0
push 0
push 0x635080
call fcn.00586690
add esp, 0xc
jmp 0x40fe0f
mov edx, dword [ebp - 0x114]
push edx
call fcn.0058964a
add esp, 4
mov dword [ebp - 0x10c], 0
jmp 0x40fd65
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x10
jge 0x40fe0f
mov ecx, dword [ebp - 0x10c]
push ecx
push 0x5fca58
push 0x5fca64
lea edx, [ebp - 0x108]
push edx
call fcn.00402210
add esp, 0x10
mov eax, dword [ebp - 0x110]
push eax
push 0
push 0x5fca6c
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
imul edx, dword [ebp - 0x10c], 0x20c
mov word [edx + 0x635082], ax
mov eax, dword [ebp - 0x110]
push eax
push 0x104
imul ecx, dword [ebp - 0x10c], 0x20c
add ecx, 0x635188
push ecx
push 0
push 0x5fca78
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x40fe0a
mov al, byte [0x62fcec]
add al, 1
mov byte [0x62fcec], al
jmp 0x40fd56
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00582196
mov esp, ebp
pop ebp
ret
Function at 0x40fe20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aefb0
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x625e6c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x240]
call fcn.004392f4
mov dword [ebp - 4], 0
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00586690
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x114]
push ecx
call fcn.00586690
add esp, 0xc
mov dword [ebp - 0x220], 0x5fca8c
push 0
push 0x5fcaac
lea ecx, [ebp - 0x240]
call fcn.0043959a
test eax, eax
jne 0x40fec6
push 0
push str.C:QAToolgsChInfo
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x5fcad4
mov edx, dword [ebp - 0x220]
push edx
call fcn.00588e5a
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x40fef8
mov eax, dword [ebp - 0x21c]
push eax
call fcn.0058964a
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
push str.gsChInfo
push str._s__d_
lea edx, [ebp - 0x218]
push edx
call fcn.00402210
add esp, 0x10
movzx eax, word [ebp + 0xe]
push eax
push 0x5fcaec
lea ecx, [ebp - 0x114]
push ecx
call fcn.00402210
add esp, 0xc
mov edx, dword [ebp - 0x220]
push edx
lea eax, [ebp - 0x114]
push eax
push str.u16PortPos
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea edx, [ebp + 0x114]
push edx
push 0x5fcafc
lea eax, [ebp - 0x114]
push eax
call fcn.00402210
add esp, 0xc
mov ecx, dword [ebp - 0x220]
push ecx
lea edx, [ebp - 0x114]
push edx
push str.s08DevHubInstPath
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.00439497
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00582196
mov esp, ebp
pop ebp
ret 0x210

Function at 0x413210
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af39d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x625e6c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x30]
call fcn.004392f4
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], str.C:QAToolgsChInfogsChInfo.ini
push 0x20c0
push 0
push 0x635080
call fcn.00586690
add esp, 0xc
mov byte [0x62fcec], 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.0043959a
test eax, eax
je 0x413285
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00439497
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41d1d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b014d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x625e6c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x4d8
call fcn.00435bf0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041bb60
mov dword [ebp - 4], 0
push 0x64
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00435d90
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41d29d
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x3a8], 0
je 0x41d262
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x3a8]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3a8], 0
mov dword [ebp - 0x14], 0
push 8
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41d28d
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3a8], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 1
mov ecx, dword [ebp - 0x10]
call fcn.0041b8f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0041c870
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x41eb10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x41eb19
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41eb5a
mov eax, dword [ebp - 8]
jmp 0x41ebbd
cmp dword [ebp - 0xc], 1
je 0x41eb6d
cmp dword [ebp - 0xc], 2
je 0x41eb6d
mov eax, 0xd
jmp 0x41ebbd
cmp dword [ebp + 0xc], 0
je 0x41ebb3
cmp dword [ebp - 4], 0
je 0x41eba4
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 1
div ecx
test edx, edx
jne 0x41eb9b
mov edx, dword [ebp - 4]
shr edx, 0
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + edx - 1]
test ecx, ecx
je 0x41eba2
mov eax, 0xd
jmp 0x41ebbd
jmp 0x41ebb3
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 0xc]
mov byte [ecx + eax], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x432c90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1815
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x625e6c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
call fcn.00433e40
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.Json::BuiltStyledStreamWriter.0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.0042ebb0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.004069f0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0x4a
lea edx, [ebp + 8]
push edx
call fcn.00402ac0
add esp, 4
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00419220
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0x48], ecx
lea edx, [ebp + 0x24]
push edx
call fcn.00402ac0
add esp, 4
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.00419220
lea eax, [ebp + 0x3c]
push eax
call fcn.00402ac0
add esp, 4
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.00419220
lea ecx, [ebp + 0x54]
push ecx
call fcn.00402ac0
add esp, 4
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x7c
call fcn.00419220
mov edx, dword [ebp - 0x10]
mov al, byte [edx + 0x94]
and al, 0xfe
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x94], al
mov edx, dword [ebp - 0x10]
mov al, byte [edx + 0x94]
and al, 0xfd
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x94], al
mov dl, byte [ebp + 0x6c]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 0x10]
mov cl, byte [eax + 0x94]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x94], cl
mov al, byte [ebp + 0x70]
and al, 1
shl al, 3
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + 0x94]
and dl, 0xf7
or dl, al
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x94], dl
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x74]
mov dword [ecx + 0x98], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x78]
mov dword [eax + 0x9c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00406900
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x24]
call fcn.00406900
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x3c]
call fcn.00406900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x54]
call fcn.00406900
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x74
Function at 0x43dcdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x43dd1b
call fcn.00460d34
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43dd1b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43dd23
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.004452a3
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x43e755
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x43e7e1
cmp dword [esi + 0x20], 0
je 0x43e7e1
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43e7e1
cmp dword [ebp + 8], 0
je 0x43e7e1
xor edi, edi
mov ebx, edi
call fcn.00460d34
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
test eax, eax
je 0x43e7c5
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43e7e1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.00464a2e
mov edi, eax
add esp, 0xc
test edi, edi
je 0x43e7dd
mov ecx, esi
call fcn.0043e4f3
mov eax, edi
jmp 0x43e7e3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x443709
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5b22bf
call fcn.00582cac
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x44372f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x443789
lea ecx, [ebp - 0x10]
call fcn.00406b90
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x5c2b00]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00593386
push eax
call fcn.0040b2a0
add esp, 0x14
test esi, esi
je 0x44377c
push esi
call fcn.00592200
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402540
mov eax, ebx
call fcn.00582c7a
ret 8

Function at 0x443fff
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x44402a
cmp dword [edi + 0x80], 0
jne 0x44402a
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.00460d34
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00444298
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x444057
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.00460d34
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44408a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.0044409d
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x449612
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x5b2949
call fcn.00582cac
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x1c]
push edi
push dword [ebp + 8]
call fcn.004496ba
xor ebx, ebx
mov dword [esi], vtable.CFtpConnection.0
lea ecx, [esi + 0x18]
mov dword [ebp - 4], ebx
call fcn.00406b90
mov byte [ebp - 4], 1
test edi, edi
je 0x449659
push edi
call fcn.00592200
pop ecx
mov ebx, eax
push ebx
push edi
lea ecx, [esi + 0x18]
call fcn.00407970
push dword [esi + 8]
mov eax, dword [ebp + 0x20]
neg eax
sbb eax, eax
and eax, 0x8000000
push eax
mov eax, dword [ebp + 8]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0x1c]
push edi
push dword [eax + 8]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
je 0x4496aa
push dword [esi + 0xc]
mov ecx, 0x62d220
push eax
call fcn.00449d2d
mov eax, esi
call fcn.00582c7a
ret 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 8]
call fcn.004499e0
int3

Function at 0x44971a
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x449743
call fcn.00460d34
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
je 0x449770
push esi
push eax
mov ecx, 0x62d220
call fcn.00449d2d
mov eax, esi
pop esi
pop ebp
ret 0x18
push 0
push dword [esi + 4]
call fcn.004499e0
int3