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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54bcb9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5a68a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 8]
push 0x57e170
call fcn.0040ab30
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, eax
cmp ebx, esi
je 0x403abe
push 0x208
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, esi
je 0x403b5c
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSize]
push eax
push esi
push edi
call fcn.0051fb60
add esp, 0xc
cmp edi, esi
je 0x403b5c
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, eax
cmp ebx, esi
je 0x403ae0
cmp ebx, 0x104
jbe 0x403b29
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp eax, esi
je 0x403af3
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp ebx, esi
je 0x403b5c
lea esi, [ebx + 1]
lea ebx, [esi + esi]
call fcn.00401000
mov edi, eax
test edi, edi
je 0x403b5c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x403b18
cmp eax, esi
jbe 0x403b27
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x403b5c
push edi
push 0
jmp 0x403b55
xor esi, esi
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x403b30
mov ecx, dword [ebp + 8]
sub eax, edx
sar eax, 1
push eax
push edi
call fcn.0040a9f0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp eax, esi
je 0x403b5c
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp + 8]
call fcn.00403ea0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
mov eax, dword [eax]
push esi
xor esi, esi
cmp dword [eax - 0xc], esi
je 0x403b9d
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x403b9d
test al, 0x10
lea eax, [esi + 1]
jne 0x403b9f
mov eax, esi
pop esi
ret
Function at 0x403e40
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x403e4b
xor eax, eax
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call esi
cmp eax, 0xffffffff
je 0x403e5e
test al, 0x10
je 0x403e65
mov eax, 1
pop esi
ret
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x403e86
push eax
call esi
cmp eax, 0xffffffff
je 0x403e86
test al, 1
je 0x403e86
and eax, 0xfffffffe
push eax
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
ret

Function at 0x406750
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b60b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5a68a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0053d96f
push 4
mov dword [ebp - 4], 0
call fcn.0041eb8c
mov edi, eax
add esp, 4
test edi, edi
je 0x4067cc
call fcn.0053dcbf
mov dword [edi], eax
call fcn.0053daed
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0053da11
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4067c2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0053da39
jmp 0x4067ce
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a580
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40a59b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40a5d4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40a5d0
jmp 0x40a5c0
cmp esi, eax
jae 0x40a5d4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40a5c0
cmp esi, eax
jb 0x40a5db
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x412250
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0
push 4
push 0
push 0
push edi
push 0x412320
mov dword [edi + 0x1198], eax
call fcn.00430376
mov dword [edi + 0x1018], eax
cmp byte [0x5af33e], 0
mov eax, 0x85
je 0x412288
mov eax, 0x8a
mov edx, dword [edi + 0x101c]
lea ebx, [edi + 0x101c]
push edi
push eax
mov eax, dword [edx + 0x13c]
mov ecx, ebx
call eax
push ecx
mov ecx, dword [edi + 0x2a4]
mov eax, 0x21
mov esi, esp
mov dword [ebp - 4], esp
call fcn.0041de00
mov ecx, ebx
call fcn.00418380
push 0
mov ecx, ebx
call fcn.00424be8
mov ecx, dword [edi + 0x103c]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 5
mov ecx, ebx
call fcn.0042897c
mov edx, dword [edi + 0x20]
push 0
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004252f4
mov ecx, eax
call fcn.004289be
mov eax, dword [edi + 0x1018]
test eax, eax
je 0x412316
mov dword [eax + 0x28], 0
mov eax, dword [edi + 0x1018]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x413d50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi - 0xc], ebx
jne 0x413d88
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413d7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x3c
lea ecx, [ebp - 0x3c]
push ebx
push ecx
call fcn.0051fb60
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x4040
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], 1
cmp byte [ebp + 0xc], bl
je 0x413e07
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x38], 0x4440
call esi
test eax, eax
je 0x413ddb
mov eax, dword [ebp - 4]
push eax
jmp 0x413e19
mov eax, dword [ebp - 0x1c]
cmp eax, 0x1f
je 0x413de8
cmp eax, 0x1b
jne 0x413e21
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x38], 0x4040
call esi
test eax, eax
je 0x413e03
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x413e21
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x413e21
mov ecx, dword [ebp - 4]
push ecx
mov bl, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
movzx eax, bl
push edx
push eax
push str.__OpenFile_result__d__:_URL__S__r_n
mov eax, 0x5af198
call fcn.00416a20
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413e5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x416920
Capabilities:
Resume thread

Disassembly:
push 0
push 0x5a9018
push 0x5a8ffc
push 0
push 0
push 4
push 0
push 2
push 0x580618
call fcn.004303ed
push eax
call fcn.0053e51b
add esp, 0x14
mov dword [esi + 0x1b0], eax
test eax, eax
je 0x41697f
mov dword [eax + 0x28], 0
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esi + 0x1b0]
mov eax, dword [edx + 0x1bc]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret

Function at 0x416a80
Capabilities:
Check mutex on windows

Disassembly:
push esi
push str.GlobalEPSON_Manual_Launcher
mov esi, 1
push esi
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x416acb
push str.Epson_Manuals
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x416ac7
push esi
call dword [sym.imp.USER32.dll_IsIconic]
push esi
test eax, eax
je 0x416ac1
call dword [sym.imp.USER32.dll_OpenIcon]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
pop esi
ret
push str.GlobalEPSON_Manual_Launcher
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x416ac7
mov eax, esi
pop esi
ret
Function at 0x41c570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e228
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x5a68a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x14], esi
push 0x57e170
cmp dword [eax + 8], esi
jne 0x41c5b5
mov ecx, edi
call fcn.0040ab30
jmp 0x41c67c
lea ecx, [ebp - 0x10]
call fcn.0040ab30
mov dword [ebp - 4], esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x200
push 8
mov dword [ebp - 0x14], 0x100
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x41c60b
push 0x57e170
mov ecx, edi
call fcn.0040ab30
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41c670
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [eax + 4]
push esi
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x41c636
push esi
lea ecx, [ebp - 0x10]
call fcn.0040aae0
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.0040a450
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c67c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41c6a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e228
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5a68a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, ecx
xor esi, esi
mov dword [ebp + 0x10], esi
mov eax, dword [eax]
sub eax, 0x10
mov dword [ebp + 0x10], esi
push eax
cmp dword [edi + 8], esi
jne 0x41c704
call fcn.0040a450
mov ecx, eax
mov eax, dword [ebp + 8]
add esp, 4
add ecx, 0x10
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0040a450
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0x10]
cmp eax, esi
jne 0x41c7cd
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
lea edx, [ebp + 0x10]
push edx
push esi
push esi
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp + 0x10]
cmp eax, esi
jbe 0x41c790
add eax, 2
push eax
call fcn.0041ebc6
mov esi, eax
add esp, 4
test esi, esi
je 0x41c790
mov edx, dword [ebp + 0x10]
add edx, 2
push edx
push 0
push esi
call fcn.0051fb60
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 4]
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push esi
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c787
push esi
lea ecx, [ebp - 0x10]
call fcn.0040aae0
mov ebx, dword [ebp - 0x10]
push esi
call fcn.0041ebbb
add esp, 4
lea esi, [ebx - 0x10]
push esi
call fcn.0040a450
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c85c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x41c85c
add eax, 2
push eax
call fcn.0041ebc6
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c7ed
lea esi, [ebx - 0x10]
push esi
call fcn.0040a450
add esp, 4
jmp 0x41c838
mov eax, dword [ebp + 0x10]
add eax, 2
push eax
push 0
push esi
call fcn.0051fb60
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 4]
add esp, 0xc
lea ecx, [ebp + 0x10]
push ecx
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c826
push esi
lea ecx, [ebp - 0x10]
call fcn.0040aae0
mov ebx, dword [ebp - 0x10]
push esi
call fcn.0041ebbb
lea esi, [ebx - 0x10]
push esi
call fcn.0040a450
add esp, 8
mov edi, dword [ebp + 8]
or edx, 0xffffffff
add eax, 0x10
mov dword [ebp - 4], edx
lea ecx, [esi + 0xc]
mov dword [edi], eax
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c85c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41c880
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 8], 0
push esi
mov esi, eax
jne 0x41c896
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push esi
lea ecx, [ebp - 4]
call fcn.0040ab30
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
lea ecx, [eax + eax + 2]
mov eax, dword [edi + 4]
push ecx
push esi
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 4]
neg esi
sbb esi, esi
add eax, 0xfffffff0
inc esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c8e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41c930
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
lea eax, [esp + 0x1c]
push eax
push 0x20019
xor esi, esi
push esi
push 0x580230
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
mov dword [esp + 0x2c], vtable.Registry.0
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x20], eax
cmp eax, 1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], 0x20019
jne 0x41c9cd
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
push esi
push str.Accepted
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esp + 0x10], 1
jne 0x41c9b8
mov bl, 1
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x41c9c9
push eax
call edi
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], vtable.Registry.0
cmp eax, esi
je 0x41c9dc
push eax
call edi
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41d800
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x5af33e], 0
push ebx
push esi
push edi
mov ebx, ecx
mov eax, 0x85
je 0x41d81c
mov eax, 0x8a
mov edx, dword [ebx + 0x44]
lea edi, [ebx + 0x44]
push edi
push eax
mov eax, dword [edx + 0x13c]
mov ecx, edi
call eax
push ecx
mov ecx, dword [0x5af32c]
mov eax, 0x20
mov esi, esp
mov dword [ebp - 4], esp
call fcn.0041de00
mov ecx, edi
call fcn.00418380
mov ecx, dword [ebx + 0x64]
push 5
push ecx
mov dword [ebx + 0x20], edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebx + 0x64]
push 0x53
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 0x1bc]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4286b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x428700
call fcn.004205a9
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x428700
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42871c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00428231
mov esi, eax
test edi, edi
je 0x42871a
test ebx, ebx
je 0x42871a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x428f1c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x542576
call fcn.0051f1dc
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x428f41
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x428f87
lea ecx, [ebp - 0x10]
call fcn.0040a290
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004ba76e
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040a830
mov eax, esi
call fcn.0051f2b4
ret 8

Function at 0x42c4ee
Capabilities:
Create http request

Disassembly:
mov edi, edi
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 0x42c519
call fcn.004205a9
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_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x42c53c
push eax
push dword [esi + 4]
call fcn.0042c44e
push esi
push eax
mov ecx, 0x5aadd0
call fcn.0042c0d5
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x42cf30
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x53ecd9
call fcn.0051f1dc
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0042cef0
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.0040a290
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x42cf96
push eax
push dword [esi + 8]
call fcn.0042c44e
push dword [esi + 0xc]
mov ecx, 0x5aadd0
push eax
call fcn.0042c0d5
mov eax, esi
call fcn.0051f2b4
ret 0x18
Function at 0x42df6d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00426d63
call fcn.00423b6a
cmp eax, esi
pop esi
jne 0x42df89
mov ecx, 0x5ab210
jmp fcn.004411be
ret

Function at 0x42ea36
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.004205a9
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42ea6f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0042e682
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x42eacd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x42eaf1
cmp dword [edi + 0x54], 0
jne 0x42eaf1
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004205a9
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0042ea8e
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8