joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ef4cea
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fc1e0c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0xd0
call fcn.45dd9695
pop ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], 4
test eax, eax
je 0x45ef4d39
push eax
call fcn.45ef54ee
jmp 0x45ef4d3b
xor eax, eax
or dword [esp + 0x30], 0xffffffff
mov dword [edi + 4], eax
cmp dword [edi + 4], 0
je 0x45ef4d9f
mov al, byte [0x4603ba49]
test al, al
jne 0x45ef4d43
push dword [ebp + 8]
lea esi, [esp + 0x14]
call fcn.45f8f423
mov dword [esp + 0x30], 5
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov edx, esi
push edx
call dword [eax + 0xc]
or dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
xor eax, eax
cmp dword [edi + 4], eax
pop ecx
setne al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push 0x449
push 0x45dcdab4
mov esi, 0x8007000e
push esi
call fcn.45f85675
mov eax, dword [esp + 0x1c]
and dword [esp + 0x30], 0
add esp, 0x10
mov dword [esp + 0x1c], eax
push 0x45ff0f98
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x45dc096c
mov dword [esp + 0x20], esi
call fcn.45fb1416
int3

Function at 0x45efa1a5
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fdd868
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.45e11a70
and dword [esp + 0x30], 0
push dword [ebp + 8]
lea eax, [esp + 0x10]
call fcn.45e11c6d
push 0
lea eax, [esp + 0x10]
push eax
call fcn.45efa223
mov bl, al
or dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0xc]
push eax
call fcn.45e11aad
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45f09b22
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fdd868
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.45e11a70
and dword [esp + 0x30], 0
push dword [ebp + 0xc]
lea eax, [esp + 0x10]
call fcn.45e11c6d
mov eax, dword [ebp + 8]
lea ebx, [esp + 0xc]
call fcn.45f09c13
mov bl, al
or dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0xc]
push eax
call fcn.45e11aad
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45f1140d
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fcad48
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, esi
call fcn.45f0e593
lea eax, [esp + 0xc]
push eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x10], ebx
call fcn.45efcd9d
mov edi, dword [0x4603911c]
pop ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], ebx
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.45edda29
mov byte [esp + 0x30], 2
lea eax, [edi - 0xc]
push eax
call fcn.45f8f362
pop ecx
cmp dword [esp + 0xc], ebx
jbe 0x45f114b0
mov ecx, dword [ebp + 8]
lea edi, [esp + 0x18]
call fcn.45ec05d3
mov eax, dword [esi + 0x18]
mov ecx, dword [esi]
push eax
push ecx
mov eax, edi
push eax
lea eax, [esp + 0x1c]
push eax
mov eax, esi
call fcn.45f1427d
inc ebx
cmp ebx, dword [esp + 0xc]
jb 0x45f11487
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.45edd99a
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f3294c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x10
mov eax, 0x45fbf1fc
call fcn.45fb19fd
xor eax, eax
cmp byte [0x4603c5d0], al
sete al
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.45e25058
and dword [ebp - 4], 0
push 5
push 0x6979
mov esi, 0x4603c598
push esi
call fcn.45f8bc3c
push eax
call dword [0x4603b2f8]
mov edi, eax
test edi, edi
jne 0x45f3299f
push 0xb9
push 0x45dc0858
call fcn.45f85b90
push edi
push ecx
push esi
call fcn.45f8bc3c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x45f329c7
push 0xbd
push 0x45dc0858
push 0x8007000e
call fcn.45f85378
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x45f329dc
push 0xc1
jmp 0x45f329b8
push edi
push ecx
push esi
call fcn.45f8bc3c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x45f32a3c
and dword [ebp - 0x14], 0
mov edx, dword [ecx]
lea esi, [ebp - 0x14]
push esi
push dword [ebp - 0x18]
push eax
push ecx
call dword [edx + 0x18]
test eax, eax
jge 0x45f32a19
push 0xce
push 0x45dc0858
push eax
call fcn.45f857be
mov eax, dword [ebp - 0x14]
mov ecx, 0xffff
cmp word [eax + 2], cx
mov esi, eax
sete cl
test cl, cl
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
je 0x45f32a36
add eax, 0xc
push eax
call dword [edx + 0x10]
jmp 0x45f32a49
push eax
push dword [ebp - 0x18]
call fcn.45f35354
pop ecx
pop ecx
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.45e56773
mov eax, esi
call fcn.45fb1ae9
ret 4
Function at 0x45f45800
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fbfbd3
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xec]
test eax, eax
je 0x45f458cd
mov al, byte [0x4603ba80]
test al, al
jne 0x45f4582f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, dword [0x4603911c]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call fcn.45f8f4fd
and dword [esp + 0x30], 0
push 1
mov edi, 0x45dc70c8
push edi
push dword [ebp + 8]
call fcn.45eb62c6
test eax, eax
je 0x45f4588b
push edi
lea eax, [esp + 0x10]
push eax
call fcn.45f8f7e2
lea eax, [esp + 0xc]
push eax
mov eax, dword [ebp + 8]
call fcn.45f8f831
mov eax, dword [esi]
push 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [eax + 8]
or dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
pop ecx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0xa53
push 0x45dd0404
mov esi, 0x80004005
push esi
call fcn.45f85675
mov eax, dword [esp + 0x20]
and dword [esp + 0x30], 0
add esp, 0x10
mov dword [esp + 0x1c], eax
push 0x45ff0f98
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x45dc096c
mov dword [esp + 0x20], esi
call fcn.45fb1416
int3
Function at 0x45f4cc0c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x58], edi
je 0x45f4cc68
mov al, byte [0x4603baf4]
test al, al
jne 0x45f4cc1c
cmp dword [esi + 0x10], edi
je 0x45f4ccb0
mov al, byte [0x4603baf4]
test al, al
jne 0x45f4cc2c
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0x80000000
je 0x45f4ccf4
mov al, byte [0x4603baf4]
test al, al
jne 0x45f4cc3d
mov eax, dword [ebx]
cmp eax, dword [esi + 0x60]
jne 0x45f4cd3b
lea ecx, [esi - 8]
mov eax, dword [ecx]
push edi
jmp 0x45f4cdcf
lea eax, [esp + 0xc]
push eax
push 0xaf6
push 0x45dd072c
mov esi, 0x80004005
push esi
mov dword [esp + 0x1c], edi
call fcn.45f85675
mov eax, dword [esp + 0x1c]
add esp, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0x45dc096c
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], edi
push 0x45ff0f98
lea eax, [esp + 0x1c]
push eax
call fcn.45fb1416
lea eax, [esp + 0x10]
push eax
push 0xaf7
push 0x45dd072c
mov esi, 0x80004005
push esi
mov dword [esp + 0x20], edi
call fcn.45f85675
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], 0x45dc096c
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], edi
push 0x45ff0f98
lea eax, [esp + 0x2c]
jmp 0x45f4ccaa
lea eax, [esp + 0x14]
push eax
push 0xaf8
push 0x45dd072c
mov esi, 0x80004005
push esi
mov dword [esp + 0x24], edi
call fcn.45f85675
mov eax, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], 0x45dc096c
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], edi
push 0x45ff0f98
lea eax, [esp + 0x3c]
jmp 0x45f4ccaa
mov eax, dword [esi + 0x84]
mov edx, dword [ebp + 0xc]
call fcn.45f50f89
test eax, eax
je 0x45f4cdd7
mov eax, dword [esi + 0x9c]
mov edx, dword [ebp + 0xc]
call fcn.45f50f89
cmp eax, 2
jne 0x45f4cd85
lea edi, [esi - 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3dc]
cmp dword [esi + 0x74], eax
je 0x45f4cdd7
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0xd4]
cmp dword [ebx], eax
jne 0x45f4cdd7
lea edi, [esi - 8]
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x124]
test al, al
je 0x45f4cdd7
cmp byte [esi + 0x240], 0
mov eax, dword [edi]
mov ecx, edi
jne 0x45f4cdcd
push 0xffffffffffffffff
push dword [esi + 0x70]
add esi, 0x78
push esi
push ebx
call dword [eax + 0xc0]
mov edx, dword [edi]
xor ecx, ecx
cmp byte [ebp + 0x10], cl
push 0xffffffffffffffff
setne cl
push ecx
push eax
push ebx
mov ecx, edi
call dword [edx + 0x17c]
jmp 0x45f4cdd7
push 1
push 1
call dword [eax + 0x37c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45f63f9e
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov esi, ecx
call edi
test ax, ax
jl 0x45f64011
push 0x11
call edi
test ax, ax
jl 0x45f64011
push 3
pop edi
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x68
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
jne 0x45f63fdd
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
shr eax, 0x10
cwde
cdq
xor eax, edx
sub eax, edx
imul eax, dword [ebp - 4]
push 0x78
pop ecx
xor edx, edx
div ecx
cmp dword [ebp + 8], 0
mov edx, dword [esi]
mov ecx, esi
push eax
mov dword [ebp - 4], eax
setl al
movzx eax, al
push eax
call dword [edx + 0x340]
mov al, 1
jmp 0x45f64013
xor al, al
pop edi
pop esi
leave
ret 8

Function at 0x45f66c15
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x45fc687b
call fcn.45fb19fd
xor eax, eax
cmp byte [0x4603c5d0], al
sete al
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.45e25058
and dword [ebp - 4], 0
push 5
push 0x4e4a
mov esi, 0x4603c598
push esi
call fcn.45f8bc3c
push eax
call dword [0x4603b2f8]
mov edi, eax
test edi, edi
jne 0x45f66c68
push 0xb9
push 0x45dc0858
call fcn.45f85b90
push edi
push esi
call fcn.45f8bc3c
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x45f66c8e
push 0xbd
push 0x45dc0858
push 0x8007000e
call fcn.45f85378
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x45f66ca3
push 0xc1
jmp 0x45f66c7f
push edi
push esi
call fcn.45f8bc3c
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x45f66d01
and dword [ebp - 0x14], 0
mov edx, dword [ecx]
lea esi, [ebp - 0x14]
push esi
push dword [ebp - 0x18]
push eax
push ecx
call dword [edx + 0x18]
test eax, eax
jge 0x45f66cde
push 0xce
push 0x45dc0858
push eax
call fcn.45f857be
mov eax, dword [ebp - 0x14]
mov ecx, 0xffff
cmp word [eax + 2], cx
mov esi, eax
sete cl
test cl, cl
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
je 0x45f66cfb
add eax, 0xc
push eax
call dword [edx + 0x14]
jmp 0x45f66d0e
push eax
push dword [ebp - 0x18]
call fcn.45f35354
pop ecx
pop ecx
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.45e56773
mov eax, esi
call fcn.45fb1ae9
ret 4
Function at 0x45f6cd42
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [esi + 0x3a8], 0
push edi
jne 0x45f6cd62
lea ecx, [esi + 4]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
mov eax, esi
call fcn.45f6c9c4
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
mov edi, dword [esi + 0x3a8]
push 4
push eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x3ac], 1
pop edi
pop ecx
pop ebp
ret 0x10

Function at 0x45f6cdab
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push edi
mov edi, dword [esi + 0x3a8]
test edi, edi
je 0x45f6cdd3
cmp byte [esi + 0x3ac], 0
je 0x45f6cdd3
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [esi + 0x3b4], 0xffffffff
mov byte [esi + 0x3ac], 0
mov dword [esi + 0x3b0], VariantInit
pop edi
ret
Function at 0x45f8716d
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fcf8f1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push ecx
mov esi, esp
mov dword [esp + 0x14], esp
push 0x45dc08a4
mov ebx, 0x45f87268
call fcn.45f8f423
and dword [esp + 0x34], 0
push dword [ebp + 8]
or dword [esp + 0x38], 0xffffffff
mov ecx, ebx
call fcn.45f86086
call fcn.45f86fce
lea eax, [esp + 0xc]
push eax
call fcn.45f0b7b6
mov dword [esp + 0x30], 1
cmp dword [esp + 0xc], 0
je 0x45f87218
mov al, byte [0x4603bb12]
test al, al
jne 0x45f871db
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
or dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0xc]
push eax
call fcn.45df1a56
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0x1e0
push 0x45dd3ed4
mov esi, 0x80004005
push esi
call fcn.45f85675
mov eax, dword [esp + 0x20]
and dword [esp + 0x30], 0
add esp, 0x10
mov dword [esp + 0x1c], eax
push 0x45ff0f98
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x45dc096c
mov dword [esp + 0x20], esi
call fcn.45fb1416
int3

Function at 0x45f88d8a
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x45f88d9a
push 0xd
pop eax
jmp 0x45f88dca
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add edi, eax
add esi, eax
cmp eax, 1
jne 0x45f88da1
mov eax, dword [ebp + 8]
push esi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x45f88dd3
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x46039020]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
or ecx, 0x2001f
push ecx
push eax
push dword [esi]
xor edi, edi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x110], edi
call fcn.45e751de
mov ebx, eax
cmp ebx, edi
je 0x45f88e40
lea ecx, [ebp - 0x114]
call fcn.45e25bf4
mov eax, ebx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.45fa9e5d
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x45f88e5e
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x114]
call fcn.45f88dd3
cmp eax, edi
jne 0x45f88ea3
lea eax, [ebp - 0x124]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x10c]
push eax
push edi
push dword [ebp - 0x114]
mov dword [ebp - 0x118], 0x100
call ebx
test eax, eax
je 0x45f88e48
lea ecx, [ebp - 0x114]
call fcn.45e25bf4
push dword [ebp - 0x11c]
call fcn.45e75226
lea ecx, [ebp - 0x114]
mov esi, eax
call fcn.45e25bf4
mov eax, esi
jmp 0x45f88e2f
Function at 0x45f8b858
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
call esi
movzx eax, ax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.45e667ac
lea eax, [ebp - 8]
push eax
mov eax, 0x45db3438
push eax
push eax
call fcn.45f8b6c9
test eax, eax
jl 0x45f8b8a4
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x45f8b8a4
call esi
movzx eax, ax
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.45df1a56
mov eax, esi
pop esi
leave
ret
Function at 0x45f8c0ff
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x45fb969d
call fcn.45fb1a35
cmp dword [ebp + 0xc], 0
je 0x45f8c244
cmp dword [ebp + 0x10], 0
je 0x45f8c244
test ecx, 0xffff0000
jne 0x45f8c244
mov eax, ecx
shr eax, 4
inc eax
and ecx, 0xf
mov ebx, ecx
push 6
push eax
push dword [ebp + 8]
call dword [0x4603b2f8]
mov esi, eax
test esi, esi
je 0x45f8c20e
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jbe 0x45f8c20e
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45f8c20e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x45f8c20e
lea edx, [eax + edi]
test ebx, ebx
jbe 0x45f8c19a
cmp eax, edx
jae 0x45f8c227
movzx ecx, word [eax]
lea eax, [eax + ecx*2 + 2]
dec ebx
jne 0x45f8c188
cmp eax, edx
jae 0x45f8c227
movzx ecx, word [eax]
lea esi, [eax + ecx*2 + 2]
cmp esi, edx
ja 0x45f8c227
and dword [ebp - 0x14], 0
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
add eax, 2
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor esi, esi
cmp dword [ebp - 0x14], esi
jge 0x45f8c209
mov dword [ebp - 4], esi
lea eax, [ebp + 0xc]
push eax
call fcn.45e667ac
mov byte [ebp - 4], 1
lea eax, [ebp + 0xc]
push eax
push 0x4b7
push 0x45dd41d8
push dword [ebp - 0x14]
call fcn.45f85675
add esp, 0x10
push dword [ebp + 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov byte [ebp - 4], 0
lea eax, [ebp + 0xc]
push eax
call fcn.45df1a56
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
jmp 0x45f8c249
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x45f8c222
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x14], eax
jmp 0x45f8c1be
mov dword [ebp - 0x14], 0x80004005
jmp 0x45f8c1be
mov eax, 0x80070057
call fcn.45fb1ae9
ret

Function at 0x45f8c420
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fc9f7a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x45f8c49c
mov al, byte [0x4603bb1c]
test al, al
jne 0x45f8c44b
push dword [ebp + 0xc]
lea eax, [esp + 0xc]
push eax
call fcn.45f8c31a
and dword [esp + 0x30], 0
push dword [esp + 8]
mov ecx, dword [ebp + 8]
push dword [esp + 0x10]
call fcn.45f90614
or dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0x10]
call fcn.45f8f411
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
and dword [esp + 4], 0
lea eax, [esp + 4]
push eax
push 0x59e
push 0x45dd41d8
push 0x80070057
call fcn.45f85675
mov eax, dword [esp + 0x14]
and dword [esp + 0x30], 0
add esp, 0x10
mov dword [esp + 0x1c], eax
push 0x45ff0f98
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x45dc096c
mov dword [esp + 0x20], 0x80070057
call fcn.45fb1416
int3
Function at 0x45f8dd89
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x1c
mov eax, 0x45fbe4a6
call fcn.45fb1a35
mov dword [ebp - 0x20], 0x45dd3e70
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 2
push 2
push ebx
push dword [ebp + 0xc]
call dword [0x4603b348]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, ebx
jne 0x45f8dde6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x45f8dde1
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x14], eax
jmp 0x45f8dde9
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], ebx
je 0x45f8de08
push ebx
push ebx
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
push 0xc97
push 0x45dd41d8
push dword [ebp - 0x14]
call fcn.45f85378
push 0x45dd41ac
push dword [ebp + 0x10]
push edi
call dword [0x4603b2f8]
mov esi, eax
cmp esi, ebx
jne 0x45f8de43
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x45f8de31
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x14], eax
push ebx
push ebx
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
push 0xca3
jmp 0x45f8ddfb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp + 0xc], edi
cmp edi, ebx
jne 0x45f8de7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x45f8de68
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x14], eax
push ebx
push ebx
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
push 0xcac
jmp 0x45f8ddfb
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp byte [esi + edi], bl
je 0x45f8dec0
lea eax, [esi + 1]
push eax
call dword [fcn.45db146c]
pop ecx
mov edi, eax
cmp edi, ebx
jne 0x45f8dead
push 0x48
push 0x45dd442c
push 0x8007000e
jmp 0x45f8de03
mov dword [ebp + 8], edi
push esi
push dword [ebp + 0xc]
push edi
call fcn.45fb1426
add esp, 0xc
mov byte [edi + esi], bl
push dword [ebp + 0x14]
mov ecx, edi
lea edx, [ebp - 0x28]
call fcn.45f8e584
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push eax
call fcn.45f8e990
mov dword [ebp - 4], ebx
jmp 0x45f8def7
cmp dword [ebp - 0x1c], ebx
je 0x45f8df2f
mov dword [ebp + 8], ebx
lea eax, [ebp + 8]
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SetErrorInfo]
test eax, eax
jl 0x45f8df27
push dword [ebp + 8]
push ebx
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x45f8df2f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x45f8df2f
push ebx
push ebx
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.45f85fa9
mov eax, dword [ebp - 0x14]
call fcn.45fb1ae9
ret 0x10