joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424640
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x46d481
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x358
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
mov dword [esp + 0x24], 0x128
call sub.KERNEL32.dll_Process32First
mov esi, dword [esp + 0x378]
or ebp, 0xffffffff
test eax, eax
je 0x42471b
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call fcn.0045b618
mov eax, dword [esi]
mov edx, dword [esp + 0x14]
push eax
push edx
call fcn.0043e755
add esp, 8
test eax, eax
je 0x4246f2
lea ecx, [esp + 0x14]
mov dword [esp + 0x370], ebp
call fcn.0045b5aa
lea eax, [esp + 0x1c]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x424714
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call fcn.0045b618
mov eax, dword [esi]
mov edx, dword [esp + 0x14]
push eax
push edx
call fcn.0043e755
add esp, 8
test eax, eax
jne 0x4246b1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x14]
mov dword [esp + 0x370], ebp
call fcn.0045b5aa
mov eax, esi
jmp 0x424869
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 0x144]
push eax
push edi
mov dword [esp + 0x14c], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x424867
lea ecx, [esp + 0x264]
push ecx
lea ecx, [esp + 0x14]
call fcn.0045b618
mov edx, dword [esi]
mov ebx, 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x370], ebx
mov eax, dword [edx - 8]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004593cf
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x374], 2
call fcn.0045b6e3
lea ecx, [esp + 0x18]
mov byte [esp + 0x370], bl
call fcn.0045b5aa
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0043e755
add esp, 8
test eax, eax
je 0x42483e
lea ecx, [esp + 0x10]
mov dword [esp + 0x370], ebp
call fcn.0045b5aa
lea edx, [esp + 0x144]
push edx
push edi
call sub.KERNEL32.dll_Module32Next
test eax, eax
je 0x424860
lea eax, [esp + 0x264]
lea ecx, [esp + 0x10]
push eax
call fcn.0045b618
mov ecx, dword [esi]
lea edx, [esp + 0x18]
mov dword [esp + 0x370], ebx
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
push edx
call fcn.004593cf
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x374], 2
call fcn.0045b6e3
lea ecx, [esp + 0x18]
mov byte [esp + 0x370], bl
call fcn.0045b5aa
mov eax, dword [esi]
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.0043e755
add esp, 8
test eax, eax
jne 0x4247b2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x14c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x370], ebp
call fcn.0045b5aa
mov eax, esi
jmp 0x424869
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x368]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x364
ret
Function at 0x424e20
Capabilities:
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46d548
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
mov dword [esp + 8], 0xffffffff
lea ecx, [esp + 0x10]
jne 0x424e6a
call fcn.0045b5aa
mov eax, 1
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret
call fcn.0045b5aa
mov ecx, dword [esp]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0xc
ret
Function at 0x42b343
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x46dc64
call fcn.0043f03c
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
movzx ecx, cx
movzx eax, ax
lea ebx, [ecx + eax + 0x1e]
lea ecx, [ebp - 0x20]
push ebx
call fcn.0042d31e
and dword [ebp - 4], 0
push 4
push 0x48a0d8
push dword [ebp - 0x1c]
call fcn.0043f110
push 2
lea eax, [esi + 0xa]
pop edi
push edi
push eax
mov eax, dword [ebp - 0x1c]
add eax, 4
push eax
call fcn.0043f110
lea eax, [esi + 0xc]
push edi
push eax
mov eax, dword [ebp - 0x1c]
add eax, 6
push eax
call fcn.0043f110
lea eax, [esi + 0xe]
push edi
push eax
mov eax, dword [ebp - 0x1c]
add eax, 8
push eax
call fcn.0043f110
lea eax, [esi + 0x10]
push edi
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0xa
push eax
call fcn.0043f110
lea eax, [esi + 0x12]
push edi
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0xc
push eax
call fcn.0043f110
add esp, 0x48
lea eax, [esi + 0x14]
push 4
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0xe
push eax
call fcn.0043f110
lea eax, [esi + 0x18]
push 4
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0x12
push eax
call fcn.0043f110
lea eax, [esi + 0x1c]
push 4
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0x16
push eax
call fcn.0043f110
push edi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0x1a
push eax
call fcn.0043f110
lea eax, [ebp - 0x14]
push edi
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0x1c
push eax
call fcn.0043f110
movzx ecx, word [ebp - 0x10]
mov eax, dword [esi + 0x3c]
push ecx
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0x1e
push eax
call fcn.0043f110
movzx ecx, word [ebp - 0x14]
mov eax, dword [esi + 0x30]
add esp, 0x48
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x10]
lea eax, [eax + ecx + 0x1e]
push eax
call fcn.0043f110
mov ecx, dword [ebp + 8]
add esp, 0xc
push 1
push ebx
push dword [ebp - 0x1c]
call fcn.0042de41
lea ecx, [esi + 0x2c]
call fcn.0042d34d
mov ecx, dword [ebp + 8]
call fcn.0042d83f
mov ecx, dword [ebp + 8]
mov word [esi + 0x20], ax
call fcn.0042df82
or dword [ebp - 4], 0xffffffff
sub eax, ebx
lea ecx, [ebp - 0x20]
mov dword [esi + 0x28], eax
call fcn.0042d342
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42bf31
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x46dd80
call fcn.0043f03c
sub esp, 0x120
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
cmp byte [esi + 0xe4], 0xff
jne 0x42c049
xor ebx, ebx
push 1
cmp byte [ebp + 0xc], bl
pop edi
jne 0x42c008
cmp dword [esi + 0x60], ebx
jne 0x42bf81
call fcn.0042bcb3
mov ecx, dword [esi + 0x68]
cmp ecx, dword [eax + 0x14]
je 0x42bf84
push 0xffffffffffffff9a
mov ecx, esi
call fcn.0042b89d
jmp 0x42bf84
or edi, 0xffffffff
mov ecx, esi
call fcn.0042bcb3
cmp word [eax + 0xe], 8
jne 0x42bf9c
lea eax, [esi + 0x28]
push eax
call fcn.00430db0
pop ecx
cmp dword [ebp + 8], ebx
je 0x42c008
lea eax, [ebp + 0xc]
mov dword [ebp - 4], ebx
push eax
call fcn.00459b24
mov eax, dword [eax]
mov ecx, esi
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x12c], eax
lea eax, [ebp + 0xc]
mov byte [ebp - 0x11c], bl
push eax
call fcn.0042bcb3
mov ecx, eax
call fcn.0042af54
mov eax, dword [eax]
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 8]
call fcn.00460db8
mov ecx, esi
call fcn.0042bcb3
push dword [eax + 0x24]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x42c004
push 0xfffffffffffffffe
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xe8]
call fcn.0042e5ec
lea ecx, [esi + 0x6c]
mov byte [esi + 0xe4], bl
call fcn.0042d34d
mov ecx, esi
call fcn.0042d151
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
xor eax, eax
jmp 0x42c02a
Function at 0x42c4a7
Capabilities:
Create directory

Disassembly:
mov eax, 0x46de5c
call fcn.0043f03c
push ecx
push ebx
lea ecx, [ebp + 8]
push dword [ebp + 8]
call fcn.0045b618
and dword [ebp - 4], 0
push 0x48855c
lea ecx, [ebp + 8]
call fcn.0045987e
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0042c2a9
push dword [ebp + 8]
mov eax, dword [eax]
mov byte [ebp - 4], 1
push eax
call fcn.0043e4c5
add esp, 0x10
test eax, eax
je 0x42c508
push dword [ebp + 8]
call fcn.0042c57c
cmp eax, 0xffffffff
pop ecx
sete al
test al, al
jne 0x42c508
xor bl, bl
jmp 0x42c50a
mov bl, 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0045b5aa
test bl, bl
jne 0x42c55f
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0042c2a9
push dword [eax]
mov byte [ebp - 4], 2
call fcn.0042c4a7
mov bl, al
add esp, 0xc
neg bl
sbb bl, bl
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
inc bl
call fcn.0045b5aa
test bl, bl
je 0x42c550
xor bl, bl
jmp 0x42c561
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x42c54c
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0045b5aa
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42cd3c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 8]
push dword [ebp + 8]
push eax
call fcn.0042cd69
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
lea ecx, [ebp + 8]
sete bl
call fcn.0045b5aa
mov al, bl
pop ebx
pop ebp
ret

Function at 0x42ce21
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push esi
mov esi, ecx
push dword [esp + 8]
push dword [esi + 0x14]
call fcn.0042cf93
mov dword [esi + 0x14], eax
and eax, 0xff
add eax, dword [esi + 0x18]
mov ecx, esi
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x18], eax
shr eax, 0x18
mov byte [esp + 8], al
push dword [esp + 8]
push dword [esi + 0x1c]
call fcn.0042cf93
mov dword [esi + 0x1c], eax
pop esi
ret 4
Function at 0x450e60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46f7b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, byte [esp + 0x30]
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.00401510
mov edi, 0x48edd8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x3c], ebx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.00402700
test al, al
je 0x450edd
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, 0x48edd8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], bl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x40]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
mov dword [esp + 0x40], 1
call fcn.00402700
test al, al
je 0x450f32
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], bl
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov edi, dword [ecx + 0xb8]
lea esi, [ecx + 0xb4]
mov ecx, esi
mov edx, dword [edi + 4]
push edx
push edi
call fcn.00452d20
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x14]
mov dword [ecx], eax
add eax, 8
push edx
push eax
call fcn.00452d50
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add esp, 8
inc edx
mov dword [esi + 8], edx
mov esi, dword [eax + 0xbc]
dec esi
cmp ecx, ebx
je 0x450fa9
mov al, byte [ecx - 1]
cmp al, bl
je 0x450f9f
cmp al, 0xff
je 0x450f9f
dec al
mov byte [ecx - 1], al
jmp 0x450fa9
dec ecx
push ecx
call fcn.0045b314
add esp, 4
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x458360
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.0043e5d0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x45842b
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 0x45842b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4583de
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4583e9
or bh, 8
and edi, 0x8000000
je 0x458404
mov eax, dword [0x495d5c]
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 0x45842b
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 0x458800
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 0x45882b
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 0x45884f
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 0x45886a
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 0x45bd3b
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 0x45bd5d
cmp dword [edi + 0x3c], 0
jne 0x45bd5d
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00465ef6
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0045bd8a
pop edi
pop esi
pop ebx
ret 8

Function at 0x45d3f6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45d42e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045ba51
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045ba29
jmp 0x45d43a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45eac3
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 0x45eb05
call fcn.00465ef6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45eb05
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45eafc
xor eax, eax
jmp 0x45eb0d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045eb13
pop edi
pop esi
pop ebx
ret 4
Function at 0x460db8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x460de8
push edi
call ebx
push eax
call fcn.0046173d
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
je 0x460e12
test byte [ebp - 4], 1
je 0x460e12
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x460e12
push edi
call ebx
push eax
call fcn.0046173d
cmp dword [esi + 4], edi
lea eax, [esi + 4]
je 0x460eb8
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.00460d05
cmp dword [esi + 8], edi
lea eax, [esi + 8]
pop ecx
pop ecx
je 0x460e44
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00460d05
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
cmp dword [esi], edi
je 0x460e5a
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.00460d05
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push edi
push 0x80
push 3
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x460e84
push 0
call ebx
push eax
call fcn.0046173d
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x460ea2
push eax
call ebx
push eax
call fcn.0046173d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x460eb6
push eax
call ebx
push eax
call fcn.0046173d
xor edi, edi
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
pop esi
je 0x460edf
test byte [ebp - 4], 1
jne 0x460edf
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x460edf
push edi
call ebx
push eax
call fcn.0046173d
pop edi
pop ebx
leave
ret 8

Function at 0x464922
Capabilities:
Create http request

Disassembly:
mov eax, 0x46e8bc
call fcn.0043f03c
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], vtable.CInternetSession.0
jne 0x46495a
call fcn.00465ef6
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]
test eax, eax
mov dword [esi + 8], eax
jne 0x46497f
push eax
push dword [esi + 4]
call fcn.00465704
jmp 0x46498b
push esi
push eax
mov ecx, 0x493f10
call fcn.0046499c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x464b1b
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x46e8f7
call fcn.0043f03c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0046102e
mov eax, dword [0x48a8c4]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x493f10
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.0046499c
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.0045b733
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.004361db
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0045b6e3
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.0045b5aa
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x95d370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x95d38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x986074
push ecx
mov edi, eax
call fcn.00971198
mov esi, eax
add esp, 8
test esi, esi
jne 0x95d3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0097102e
push esi
call fcn.00970fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret