joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445210
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4a68ab
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x4e0c44]
xor eax, esp
mov dword [esp + 0x330], eax
push ebp
push esi
push edi
mov eax, dword [0x4e0c44]
xor eax, esp
push eax
lea eax, [esp + 0x344]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00444b60
mov eax, dword [edi + 0x24]
cmp eax, dword [edi + 0x18]
jae 0x4453d1
mov eax, dword [edi + 0x10]
lea esi, [edi + 0x10]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
jge 0x44527e
push 0
mov ecx, esi
call fcn.00432780
mov eax, dword [esi]
push 0
push 0
lea ecx, [esp + 0x248]
push ecx
lea edx, [esp + 0x144]
push edx
push eax
call fcn.0047e92f
push 0
push 0
lea eax, [esp + 0x25c]
push eax
lea ecx, [esp + 0x158]
push ecx
lea edx, [esp + 0x164]
push edx
call fcn.0047e721
add esp, 0x28
push 0
lea eax, [esp + 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x1c]
call fcn.00411db0
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
mov dword [esp + 0x34c], 0
jge 0x4452ff
push 0
mov ecx, esi
call fcn.00432780
mov esi, dword [esi]
push 1
push esi
lea ecx, [esp + 0x24]
call fcn.00411e60
cmp eax, 1
jne 0x4453bd
mov ecx, dword [edi + 0x14]
push 4
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00411fc0
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
mov ebp, dword [edi + 0x20]
add edi, 0x1c
mov edx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jmp 0x445348
mov eax, dword [esp + 0x18]
cmp edx, edi
jne 0x44539e
cmp eax, ebp
sete cl
test cl, cl
sete cl
test cl, cl
je 0x4453a8
test edx, edx
je 0x44539e
cmp eax, dword [edx + 4]
je 0x4453a3
mov esi, dword [eax + 0x10]
test esi, esi
je 0x44538d
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 2
call fcn.00411fc0
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.0043c400
add esp, 8
lea ecx, [esp + 0x14]
call fcn.0043d460
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x445344
jmp fcn.0043d3e0
jmp fcn.0043d360
push 1
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 3
call fcn.00411fc0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34c], 0xffffffff
call fcn.00411e00
mov eax, 1
mov ecx, dword [esp + 0x344]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.0047e4dd
add esp, 0x340
ret
Function at 0x445480
Capabilities:
Get disk size

Disassembly:
sub esp, 0x64
mov eax, dword [0x4e0c44]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push 0x3f
lea eax, [esp + 0x2d]
push 0
push eax
mov ebx, ecx
mov byte [esp + 0x34], 0
call fcn.0047ec20
mov eax, dword [ebx + 0xc]
lea esi, [ebx + 0xc]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
add esp, 0xc
or ecx, dword [eax + 8]
jge 0x4454c7
push 0
mov ecx, esi
call fcn.00432780
mov eax, dword [esi]
push edi
push 0
push 0
push 0
lea edx, [esp + 0x38]
push edx
push eax
call fcn.0047e92f
lea edi, [esp + 0x40]
add esp, 0x14
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4454e5
mov cx, word [0x4c4e7c]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
mov word [edi], cx
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
pop edi
jne 0x44552b
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0047e4dd
add esp, 0x64
ret
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.00445400
mov ecx, dword [esp + 0xc]
cmp ecx, dword [esp + 0x14]
ja 0x44554d
jb 0x445518
mov edx, dword [esp + 8]
cmp edx, dword [esp + 0x10]
jb 0x445518
mov ecx, dword [esp + 0x68]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0047e4dd
add esp, 0x64
ret

Function at 0x447540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a6d15
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4e0c44]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x34]
push eax
push 0xce
call fcn.0046560d
xor ebx, ebx
lea ecx, [esi + 0x74]
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CLanguageSelectDlg.0
call fcn.0046a85c
lea ecx, [esi + 0x84]
mov byte [esp + 0x1c], 1
call fcn.0046a85c
lea ecx, [esi + 0x94]
mov byte [esp + 0x1c], 2
call fcn.0046a85c
lea ecx, [esi + 0xa4]
mov byte [esp + 0x1c], 3
call fcn.0046a85c
mov dword [esi + 0x104], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
lea edi, [esi + 0x110]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
lea ecx, [esi + 0x128]
mov byte [esp + 0x1c], 6
call fcn.00449b30
lea ecx, [esi + 0x1d8]
mov byte [esp + 0x1c], 7
call fcn.00449b30
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xf4], ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, edi
mov byte [esp + 0x20], 8
mov dword [esi + 0xf8], edx
mov dword [esi + 0xfc], eax
call fcn.004473e0
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x447638
xor edi, edi
jmp 0x447640
mov edi, dword [edi + 8]
sub edi, eax
sar edi, 2
cmp edi, 3
mov dword [esi + 0xb4], edi
jg 0x447652
mov eax, 1
jmp 0x447662
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
lea eax, [edx + eax + 1]
mov dword [esi + 0xb8], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x14
Function at 0x448380
Capabilities:
Capture screenshot

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0xd4]
push edi
lea eax, [esi + 0xa0]
push eax
push ecx
call fcn.00437bc0
mov ecx, dword [esi + 0xa4]
add esp, 8
cmp eax, 1
lea eax, [esi + 0xa8]
push eax
push 0x18
sete dl
push ecx
mov byte [esi + 0x54], dl
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0x20]
cdq
sub eax, edx
mov edx, dword [esi + 0xb0]
sar eax, 1
mov dword [esi + 0xc8], eax
lea eax, [esi + 0x58]
push eax
push ecx
mov dword [esi + 0xcc], edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0046adca
mov ebp, eax
test ebp, ebp
je 0x4483ff
mov eax, dword [ebp + 4]
push eax
lea edi, [esi + 0x68]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.0046add8
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x60]
add eax, eax
push ecx
push eax
mov eax, dword [ebp + 4]
push eax
lea ebx, [esi + 0x78]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.0046b09f
test ebx, ebx
je 0x448437
mov ebx, dword [ebx + 4]
mov ecx, dword [esi + 0x6c]
push ebx
push ecx
call fcn.0046b124
push 1
mov ecx, edi
mov dword [esi + 0x80], eax
call fcn.0046a703
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
push 0
mov ecx, edi
call eax
mov eax, dword [ebp + 4]
push eax
lea ebx, [esi + 0x84]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, ebx
call fcn.0046add8
mov ecx, dword [esi + 0xd4]
lea edi, [esi + 0x94]
push edi
push ecx
call fcn.00437bc0
add esp, 8
test edi, edi
je 0x448490
mov edi, dword [edi + 4]
mov edx, dword [esi + 0x88]
push edi
push edx
call fcn.0046b124
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x6c]
push 0xff0062
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0x64]
push eax
add ecx, ecx
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
add eax, eax
test ebx, ebx
je 0x4484cf
mov ebx, dword [ebx + 4]
push 0xcc0020
push 0
push 0
push ebx
push ecx
push eax
mov eax, dword [esi + 0x6c]
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp + 4]
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x448382
Capabilities:
Capture screenshot

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0xd4]
push edi
lea eax, [esi + 0xa0]
push eax
push ecx
call fcn.00437bc0
mov ecx, dword [esi + 0xa4]
add esp, 8
cmp eax, 1
lea eax, [esi + 0xa8]
push eax
push 0x18
sete dl
push ecx
mov byte [esi + 0x54], dl
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0x20]
cdq
sub eax, edx
mov edx, dword [esi + 0xb0]
sar eax, 1
mov dword [esi + 0xc8], eax
lea eax, [esi + 0x58]
push eax
push ecx
mov dword [esi + 0xcc], edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0046adca
mov ebp, eax
test ebp, ebp
je 0x4483ff
mov eax, dword [ebp + 4]
push eax
lea edi, [esi + 0x68]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.0046add8
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x60]
add eax, eax
push ecx
push eax
mov eax, dword [ebp + 4]
push eax
lea ebx, [esi + 0x78]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.0046b09f
test ebx, ebx
je 0x448437
mov ebx, dword [ebx + 4]
mov ecx, dword [esi + 0x6c]
push ebx
push ecx
call fcn.0046b124
push 1
mov ecx, edi
mov dword [esi + 0x80], eax
call fcn.0046a703
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
push 0
mov ecx, edi
call eax
mov eax, dword [ebp + 4]
push eax
lea ebx, [esi + 0x84]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, ebx
call fcn.0046add8
mov ecx, dword [esi + 0xd4]
lea edi, [esi + 0x94]
push edi
push ecx
call fcn.00437bc0
add esp, 8
test edi, edi
je 0x448490
mov edi, dword [edi + 4]
mov edx, dword [esi + 0x88]
push edi
push edx
call fcn.0046b124
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x6c]
push 0xff0062
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0x64]
push eax
add ecx, ecx
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
add eax, eax
test ebx, ebx
je 0x4484cf
mov ebx, dword [ebx + 4]
push 0xcc0020
push 0
push 0
push ebx
push ecx
push eax
mov eax, dword [esi + 0x6c]
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp + 4]
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x44dc20
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
push edi
mov edi, dword [esp + 0x14]
cmp esi, edi
sete al
mov ebx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x44dcb4
push ebp
lea ebp, [eax - 1]
shr ebp, 3
add ebp, 1
lea ebx, [ebx]
cmp dword [esp + 0x14], 0
je 0x44dc68
lea ecx, [esi + 4]
push ecx
push esi
mov ecx, ebx
call fcn.0044d2d0
add esi, 8
jmp 0x44dcae
movzx edx, byte [esi]
mov byte [edi], dl
mov al, byte [esi + 1]
mov byte [edi + 1], al
movzx ecx, byte [esi + 2]
mov byte [edi + 2], cl
movzx edx, byte [esi + 3]
mov byte [edi + 3], dl
movzx ecx, byte [esi + 4]
lea eax, [edi + 4]
mov byte [eax], cl
movzx edx, byte [esi + 5]
mov byte [edi + 5], dl
movzx ecx, byte [esi + 6]
mov byte [edi + 6], cl
movzx edx, byte [esi + 7]
push eax
push edi
mov ecx, ebx
mov byte [edi + 7], dl
call fcn.0044d2d0
add esi, 8
add edi, 8
sub ebp, 1
jne 0x44dc50
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x451a70
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
mov ebp, 0x811c9dc5
cmp esi, 0xfffffffe
je 0x451a95
test esi, esi
je 0x451a90
cmp esi, dword [esp + 0x1c]
je 0x451a95
call fcn.00495ff4
cmp edi, dword [esp + 0x20]
je 0x451b06
cmp esi, 0xfffffffe
mov ebx, edi
je 0x451ac8
test esi, esi
jne 0x451aab
call fcn.00495ff4
cmp dword [esi + 0x18], 8
jb 0x451ab6
mov eax, dword [esi + 4]
jmp 0x451ab9
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp edi, edx
jb 0x451ac8
call fcn.00495fb5
add edi, 2
cmp esi, 0xfffffffe
je 0x451af6
test esi, esi
jne 0x451ad9
call fcn.00495ff4
cmp dword [esi + 0x18], 8
jb 0x451ae4
mov eax, dword [esi + 4]
jmp 0x451ae7
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp ebx, edx
jb 0x451af6
call fcn.00495fb5
movzx eax, word [ebx]
imul ebp, ebp, 0x1000193
xor ebp, eax
jmp 0x451a81
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
Function at 0x455ed0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a818a
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e0c44]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x40]
push 5
push eax
call fcn.0044f950
mov edi, dword [eax]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
add esp, 8
add ecx, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], edx
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], ecx
push 0xd8
call fcn.0045f665
add esp, 4
mov dword [esp + 0x1c], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x58], esi
je 0x455f4a
mov ecx, eax
call fcn.0044ba10
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi]
mov edx, dword [edx + 0x134]
mov dword [esp + 0x20], edi
movzx edi, byte [esp + 0x14]
add ecx, ebp
push edi
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x30], ecx
push eax
lea ecx, [esp + 0x28]
push ecx
push 0x50000000
push 0x4c4e85
mov ecx, esi
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x38], ebp
call edx
cmp eax, 1
jne 0x455ff1
cmp byte [0x4e31fe], 0
push str.Launcherupdate_select.dat
push str.Launcherupdate_focus.dat
jne 0x455fb7
mov eax, dword [esp + 0x1c]
push str.Launcher_Europe_bg_4.dat
push 0
push eax
jmp 0x455fc3
mov ecx, dword [esp + 0x1c]
push str.Launcher_Europe_bg_5.dat
push 0
push ecx
mov ecx, esi
call fcn.0044c540
mov ecx, dword [ebx + 0x14]
test ecx, ecx
mov edx, dword [esp + 0x3c]
lea ebp, [edx + ebp + 1]
je 0x456008
mov eax, dword [ebx + 0x18]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x456008
mov dword [ecx + edi*4], esi
push 0
mov ecx, esi
call fcn.0045f83e
mov al, byte [esp + 0x14]
add al, 1
cmp al, 3
mov byte [esp + 0x14], al
jae 0x45600d
mov edi, dword [esp + 0x30]
jmp 0x455f26
jmp fcn.004559a0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret

Function at 0x456860
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x4e0c44]
xor eax, esp
mov dword [esp + 0x10c], eax
mov ecx, dword [esp + 0x118]
mov eax, dword [esp + 0x114]
push esi
push edi
mov edi, dword [esp + 0x124]
lea edx, [esp + 8]
push edx
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4568d9
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x114]
pop edi
pop esi
xor ecx, esp
call fcn.0047e4dd
add esp, 0x110
ret 0xc
Function at 0x456b20
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4e0c44]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x214]
push ebp
mov ebp, dword [esp + 0x214]
push esi
push edi
push eax
push 0
push 0
push ebp
push str.open
push 0
mov edi, ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x456c12
lea ecx, [esp + 0xc]
push ecx
push str..htm
push SysReAllocString
mov ecx, edi
call fcn.00456860
test eax, eax
jne 0x456c30
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._shellopencommand
lea edx, [esp + 0x14]
push edx
call ebx
lea eax, [esp + 0x10]
push eax
mov ecx, eax
push ecx
push SysReAllocString
mov ecx, edi
call fcn.00456860
test eax, eax
jne 0x456c2c
lea edx, [esp + 0x10]
push str.__1_
push edx
call fcn.00481466
mov esi, eax
add esp, 8
test esi, esi
jne 0x456bef
lea eax, [esp + 0x10]
push 0x4b84bc
push eax
call fcn.00481466
mov esi, eax
add esp, 8
test esi, esi
jne 0x456bef
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x456bf2
mov byte [esi], 0
push 0x4c5130
push esi
call ebx
push ebp
push esi
call ebx
mov edx, dword [esp + 0x224]
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0047e4dd
add esp, 0x20c
ret 8
mov eax, esi
jmp 0x456c11
mov eax, esi
jmp 0x456c12
Function at 0x457940
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a8431
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e0c44]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.CHTMLAtom.0
call fcn.00466e93
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45798b
push 0x80004005
call fcn.00432500
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
lea ebx, [esi + 8]
mov ecx, ebx
mov dword [esp + 0x20], 0
call fcn.0045bd30
mov byte [esp + 0x20], 1
lea ebp, [esi + 0x44]
call fcn.00466e93
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4579ce
push 0x80004005
call fcn.00432500
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov edi, dword [esp + 0x28]
lea ecx, [edi + 4]
push ecx
lea ecx, [esi + 4]
mov byte [esp + 0x24], 2
call fcn.004578a0
lea edx, [edi + 8]
push edx
mov ecx, ebx
call fcn.0045be90
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov dx, word [edi + 0x3c]
lea ecx, [edi + 0x44]
mov word [esi + 0x3c], dx
mov eax, dword [edi + 0x40]
push ecx
mov ecx, ebp
mov dword [esi + 0x40], eax
call fcn.004578a0
mov dl, byte [edi + 0x48]
mov byte [esi + 0x48], dl
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x45c160
Capabilities:
Set registry value

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4e0c44]
xor eax, esp
mov dword [esp + 0x28], eax
lea eax, [esp + 0xc]
push eax
call fcn.004368f0
mov eax, dword [esp + 0x14]
add esp, 4
cmp dword [esp + 0x24], 0x10
jae 0x45c18a
lea eax, [esp + 0x10]
lea ecx, [esp]
push ecx
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45c1ef
cmp dword [esp + 0x24], 0x10
mov eax, dword [esp + 0x10]
jae 0x45c1b4
lea eax, [esp + 0x10]
lea edx, [esp + 8]
push edx
lea ecx, [esp + 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x45c1ef
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jb 0x45c238
mov edx, dword [esp + 0x10]
add eax, 1
push eax
push edx
jmp 0x45c230
movzx eax, byte [0x4e31fd]
mov edx, dword [esp]
push 4
lea ecx, [esp + 8]
push ecx
push 4
push 0
push str.Division
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jb 0x45c238
mov ecx, dword [esp + 0x10]
add eax, 1
push eax
push ecx
call fcn.00406140
add esp, 8
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0047e4dd
add esp, 0x2c
ret

Function at 0x45c460
Capabilities:
Resolve dns

Disassembly:
cmp dword [esp + 0x1c], 0x10
mov eax, dword [esp + 8]
jae 0x45c46f
lea eax, [esp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x45c4b2
cmp dword [esp + 0x1c], 0x10
mov eax, dword [esp + 8]
jae 0x45c48a
lea eax, [esp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x45c4b2
mov eax, dword [esp + 0x1c]
cmp eax, 0x10
jb 0x45c4af
add eax, 1
push eax
mov eax, dword [esp + 0xc]
push eax
call fcn.00406140
add esp, 8
xor eax, eax
ret
mov eax, dword [esp + 0x1c]
cmp eax, 0x10
jb 0x45c4cc
mov ecx, dword [esp + 8]
add eax, 1
push eax
push ecx
call fcn.00406140
add esp, 8
mov eax, 1
ret

Function at 0x45e650
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x404
mov eax, dword [0x4e0c44]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 4], edi
je 0x45e698
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je 0x45e698
push ecx
push eax
lea eax, [esp + 0x10]
push 0x4b95b8
push eax
call fcn.0047eb6a
add esp, 0x10
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x408]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
pop edi
pop esi
xor ecx, esp
call fcn.0047e4dd
add esp, 0x404
ret

Function at 0x45e760
Capabilities:
Print debug messages

Disassembly:
mov dword [ecx], vtable.CMStream.0
jmp fcn.0045e650
Function at 0x45fd7e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4a8f4d
call fcn.004823f7
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x45fda3
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x45fdef
call fcn.00466e93
push eax
lea ecx, [ebp - 0x10]
call fcn.004326f0
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.0045f69a
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00432520
mov eax, esi
call fcn.004824cf
ret 8

Function at 0x463893
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4638cc
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.00463856
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00456db0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x4654e3
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 0x465526
call fcn.0046a5c8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x465526
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x465541
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0046509a
test ebx, ebx
mov esi, eax
je 0x46553f
test edi, edi
je 0x46553f
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4