joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ac170
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4ac1ae
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4ac198
pop edi
xor eax, eax
pop esi
ret
lea ecx, [esp + 0x10]
push ecx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x4ac1ae
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
xor esi, esi
push eax
push 3
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4ac1d6
mov esi, 1
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
ret

Function at 0x4ac1f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
mov edx, dword [esp + 8]
push 0x5146db
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [eax]
lea ecx, [esp]
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4ac2d6
mov ecx, dword [esp]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push edi
lea eax, [esp + 0x10]
push 0x104
push eax
push 0
push ecx
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x4ac2b5
mov eax, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
push eax
call edi
test eax, eax
je 0x4ac29e
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call fcn.004e1e9b
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x228], 0
call fcn.004ac1f0
add esp, 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x220], 0xffffffff
call fcn.004e1e27
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push 0x104
push ecx
push 0
push edx
call esi
test eax, eax
je 0x4ac24f
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, dword [esp + 0x228]
mov edx, dword [ecx]
push edx
push eax
call edi
pop edi
pop esi
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
add esp, 0x21c
ret

Function at 0x4ac2f0
Capabilities:
Delete registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4ac324
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
ret
Function at 0x4ad4a0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x5148f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push 0x565f4c
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.004e1e9b
mov eax, dword [esp + 4]
push 0x567b38
push eax
lea ecx, [esp + 8]
push SysFreeString
push ecx
mov dword [esp + 0x22c], 1
call fcn.004abfd0
add esp, 0x10
mov eax, dword [esp]
mov byte [esp + 0x21c], 2
cmp word [eax], 0x25
jne 0x4ad529
lea edx, [esp + 0xc]
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [esp + 0xc]
lea ecx, [esp]
push eax
call fcn.004e1fbe
push esi
mov esi, dword [esp + 0x228]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.004e1b94
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x220], 1
call fcn.004e1e27
lea ecx, [esp + 8]
mov byte [esp + 0x220], 0
call fcn.004e1e27
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x220
ret

Function at 0x4ad750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x514978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push 0xa
lea ecx, [esp + 0xc]
call fcn.004db916
lea eax, [esp + 8]
mov dword [esp + 0x2c], 0
push eax
call fcn.004adc20
add esp, 4
lea ecx, [esp + 4]
push 0x567dc8
call fcn.004e1e9b
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 1
push ecx
push SysFreeString
call fcn.004ac1f0
add esp, 8
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 0
call fcn.004e1e27
push 1
push 0x567d64
push 0x5705d0
push 0x567cc8
push SysFreeString
call fcn.004ac0f0
add esp, 0x14
lea ecx, [esp + 8]
push 0
push 0x567c78
call fcn.004dbde4
test eax, eax
jne 0x4ad7fb
push 0x567c78
lea ecx, [esp + 0xc]
call fcn.004dbabf
push 0
push 0x567c28
lea ecx, [esp + 0x10]
call fcn.004dbde4
test eax, eax
jne 0x4ad81d
push 0x567c28
lea ecx, [esp + 0xc]
call fcn.004dbabf
push esi
push 0x5705d0
lea ecx, [esp + 8]
call fcn.004e1e9b
mov esi, dword [esp + 0x10]
mov byte [esp + 0x30], 2
test esi, esi
je 0x4ad888
lea edx, [esi + 8]
lea ecx, [esp + 4]
push edx
call fcn.004e1f6e
lea eax, [esp + 4]
push eax
call fcn.004ad8c0
add esp, 4
test eax, eax
jne 0x4ad864
lea ecx, [esp + 4]
push ecx
call fcn.004ada20
add esp, 4
mov edx, dword [esp + 4]
push 1
push 0x55c278
push edx
push 0x567dc8
push SysFreeString
call fcn.004ac0f0
mov esi, dword [esi]
add esp, 0x14
test esi, esi
jne 0x4ad839
lea ecx, [esp + 4]
mov byte [esp + 0x30], 0
call fcn.004e1e27
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004db98a
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x4adcd0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x210
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], si
mov dword [esp + 0xc], 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x228]
stosw word es:[edi], ax
cmp ecx, esi
mov eax, 0x20019
je 0x4add0b
mov eax, 0x20119
mov ecx, dword [esp + 0x220]
lea edx, [esp + 8]
push edx
push eax
mov ecx, dword [ecx]
mov eax, dword [esp + 0x224]
push esi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4addbc
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
lea ecx, [esp + 0x1c]
push esi
lea edx, [esp + 0x24]
push ecx
push edx
push esi
push eax
call ebx
cmp eax, 0x103
je 0x4addb0
push ebp
mov ebp, dword [esp + 0x22c]
lea ecx, [esp + 0x18]
push 0
push ecx
mov ecx, ebp
call fcn.004dbde4
test eax, eax
jne 0x4add7c
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call fcn.004dbabf
xor eax, eax
mov edx, dword [esp + 0x10]
push eax
mov ecx, 0x41
lea edi, [esp + 0x1c]
push eax
push eax
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
inc esi
push eax
push ecx
push esi
push edx
mov dword [esp + 0x34], 0x104
call ebx
cmp eax, 0x103
jne 0x4add5e
pop ebp
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
pop esi
add esp, 0x210
ret

Function at 0x4ae5d0
Capabilities:
Create process on windows

Disassembly:
push ecx
call fcn.004ae610
test eax, eax
je 0x4ae60b
lea eax, [esp]
push eax
call fcn.004b0fa0
mov ecx, dword [esp + 4]
add esp, 4
push 0
push 0
push 0x5696d0
push ecx
push 0x55cbfc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp]
call fcn.004e1e27
pop ecx
ret

Function at 0x4aed00
Capabilities:
Identify system language via api

Disassembly:
push ecx
push esi
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov esi, dword [esp + 0xc]
push eax
push esi
call fcn.004aed30
add esp, 8
mov eax, esi
pop esi
pop ecx
ret
Function at 0x4aed30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x514b87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push 0x5705d0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0
call fcn.004e1e9b
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp ax, 0x804
jne 0x4aee3b
push 0x569be0
lea ecx, [esp + 8]
call fcn.004e1fbe
lea eax, [esp + 0x28]
push eax
call fcn.00427050
mov eax, dword [eax]
add esp, 4
push eax
push 0
push 0x55e7a0
push 0x55c5a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.004e1e27
test esi, esi
je 0x4aee96
push 0x569bc0
lea ecx, [esp + 0xc]
call fcn.004e1e9b
push 0x55c5a4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 2
call fcn.004e1e9b
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 3
push ecx
call fcn.00427050
lea edx, [esp + 8]
push 0x400
push edx
push eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x38], 4
call fcn.004247f0
add esp, 0x1c
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 3
call fcn.004e1e27
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 2
call fcn.004e1e27
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call fcn.004e1e27
jmp 0x4aee96
mov ecx, eax
and ecx, 0x3ff
shr ax, 0xa
cmp cx, 0x1e
jne 0x4aee54
push 0x569b68
jmp 0x4aee8d
cmp cx, 0x11
jne 0x4aee61
push 0x569b10
jmp 0x4aee8d
cmp ax, 1
jne 0x4aee6e
push 0x569ab8
jmp 0x4aee8d
cmp ax, 0xe
jne 0x4aee7b
push 0x569a60
jmp 0x4aee8d
cmp cx, 1
jne 0x4aee88
push 0x569a08
jmp 0x4aee8d
push 0x5699b0
lea ecx, [esp + 8]
call fcn.004e1fbe
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.004e1b94
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 0
call fcn.004e1e27
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4b0720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x514c60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push 0x55fce8
lea ecx, [esp + 0x10]
call fcn.004e1e9b
push 0x55fd18
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call fcn.004e1e9b
push 0x55cb24
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.004e1e9b
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.004b0a80
lea ecx, [esp + 4]
mov byte [esp + 0x24], 1
call fcn.004e1e27
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.004e1e27
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004e1e27
mov ecx, esi
call fcn.004b0870
mov ecx, esi
call fcn.004b0920
mov ecx, esi
call fcn.004b09d0
mov ecx, esi
call fcn.004b0590
push 0x55fd7c
lea ecx, [esp + 0x1c]
call fcn.004e1e9b
push 0x55fd50
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 3
call fcn.004e1e9b
push 0x55cb24
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.004e1e9b
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x30], 5
call fcn.004b0a80
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
call fcn.004e1e27
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call fcn.004e1e27
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x4b0fd0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x514dc5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
lea eax, [esp + 4]
push edi
push eax
mov dword [esp + 0x10], 0
call fcn.004b13b0
add esp, 4
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push ecx
push 0x104
push edx
push 0
push 0x56b02c
push 0x55eba4
mov dword [esp + 0x238], 1
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [esp + 0x228]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.004e1e9b
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x220], 0
call fcn.004e1e27
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x4b11d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x514e47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x56b44c]
push esi
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
lea ecx, [esp + 8]
mov dword [esp + 0x18], 1
push ecx
call fcn.00425ea0
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 4]
push eax
push pe_nt_image_headers32
push pe_nt_image_headers32
mov byte [esp + 0x24], 2
call fcn.004e226c
push eax
push 0x56b03c
push 0x5643ec
push 0x55c5a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call fcn.004e1e27
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.004e22bc
mov esi, dword [esp + 0x20]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.004e1b94
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 0
call fcn.004e1e27
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4b1410
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x514ea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebp
push esi
push edi
push 0x55d794
lea ecx, [esp + 0x10]
call fcn.004e1ef0
lea eax, [esp + 0x1c]
mov dword [esp + 0x34], 0
push eax
call fcn.00425ea0
add esp, 4
mov esi, dword [eax]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push 0x576c64
push edx
mov byte [esp + 0x40], 1
call fcn.004e2066
mov eax, dword [eax]
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push eax
call esi
lea ecx, [esp + 0x10]
call fcn.004e1e27
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 0
call fcn.004e1e27
or ebp, 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], ebp
call fcn.004e1e27
lea eax, [esp + 0x1c]
push eax
call fcn.00425ea0
mov eax, dword [eax]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x1c]
call fcn.004e1e27
push 0x5625e4
lea ecx, [esp + 0x14]
push 0x576c5c
push ecx
call fcn.004e20cc
mov edi, dword [eax]
push 0x5625e4
lea edx, [esp + 0x20]
push 0x576c64
push edx
mov dword [esp + 0x40], 2
call fcn.004e20cc
mov eax, dword [eax]
push 0
push edi
push eax
call esi
lea ecx, [esp + 0x1c]
call fcn.004e1e27
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], ebp
call fcn.004e1e27
mov eax, dword [0x5710ec]
test eax, eax
je 0x4b163e
push 0x56b13c
lea ecx, [esp + 0x14]
call fcn.004e1ef0
push 0x56b13c
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 3
call fcn.004e1ef0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push 0x576c5c
push ecx
mov byte [esp + 0x40], 4
call fcn.004e2066
mov edi, dword [eax]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x20]
push 0x576c64
push eax
mov byte [esp + 0x40], 5
call fcn.004e2066
mov eax, dword [eax]
push 0
push edi
push eax
call esi
lea ecx, [esp + 0x1c]
call fcn.004e1e27
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 4
call fcn.004e1e27
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 3
call fcn.004e1e27
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], ebp
call fcn.004e1e27
push 0x56b12c
lea ecx, [esp + 0x1c]
call fcn.004e1ef0
push 0x56b12c
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 6
call fcn.004e1ef0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
push ecx
push 0x576c5c
push edx
mov byte [esp + 0x40], 7
call fcn.004e2066
mov edi, dword [eax]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push 0x576c64
push ecx
mov byte [esp + 0x40], 8
call fcn.004e2066
mov eax, dword [eax]
push 0
push edi
push eax
call esi
lea ecx, [esp + 0x24]
call fcn.004e1e27
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 7
call fcn.004e1e27
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 6
call fcn.004e1e27
mov dword [esp + 0x34], ebp
lea ecx, [esp + 0x18]
call fcn.004e1e27
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4d6160
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004bdb50
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4d622b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4d622b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4d61de
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4d61e9
or bh, 8
and edi, 0x8000000
je 0x4d6204
mov eax, dword [0x57a99c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4d622b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d6600
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4d662b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4d664f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4d666a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x4dd172
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4dd194
cmp dword [edi + 0x3c], 0
jne 0x4dd194
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004faff9
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
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004dd1d3
pop edi
pop esi
pop ebx
ret 8

Function at 0x4dd237
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004faff9
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4dd268
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004dd28d
pop edi
pop esi
pop ebx
ret 8

Function at 0x4de8d8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4de910
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004e22e5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004e22bc
jmp 0x4de91c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4e06dd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4e071f
call fcn.004faff9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4e071f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e0716
xor eax, eax
jmp 0x4e0727
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e072d
pop edi
pop esi
pop ebx
ret 4

Function at 0x4f7715
Capabilities:
Create http request

Disassembly:
mov eax, 0x5162d4
call fcn.004c0138
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], 0x5292fc
jne 0x4f774d
call fcn.004faff9
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]
test eax, eax
mov dword [esi + 8], eax
jne 0x4f7772
push eax
push dword [esi + 4]
call fcn.004f9bf7
jmp 0x4f777e
push esi
push eax
mov ecx, 0x5789c8
call fcn.004f778f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18