joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d859
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp + 0xc]
push esi
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x43d8b2
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x43d8b7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push dword [ebp + 8]
call fcn.004c2130
test eax, eax
pop ecx
jne 0x43d8cf
leave
ret
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0xc]
push ebx
push ebx
push dword [ebp + 8]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov dword [ebp - 4], eax
ja 0x43d9b0
lea eax, [ebp - 0x20c]
mov edi, SysReAllocStringLen
push eax
push str..htm
push edi
call fcn.0043d859
add esp, 0xc
test eax, eax
jne 0x43d9b0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x20c]
push str._shellopencommand
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.0043d859
add esp, 0xc
test eax, eax
jne 0x43d9b0
lea eax, [ebp - 0x20c]
push str.__1_
push eax
call fcn.004c33b9
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x43d98d
lea eax, [ebp - 0x20c]
push 0x53ab3c
push eax
call fcn.004c33b9
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x43d98d
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [ebp + eax - 0x20d]
jmp 0x43d98f
mov byte [edi], bl
push 0x539b38
push edi
call esi
push dword [ebp + 8]
push edi
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4450d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
and word [ebp - 0x80], 0
push ebx
push esi
push edi
mov word [ebp - 0x7e], 1
mov word [ebp - 0x7c], 8
mov word [ebp - 0x7a], 0x10
mov word [ebp - 0x78], 9
mov word [ebp - 0x76], 2
mov word [ebp - 0x74], 3
mov word [ebp - 0x72], 0xa
mov word [ebp - 0x70], 0x11
mov word [ebp - 0x6e], 0x18
mov word [ebp - 0x6c], 0x20
mov word [ebp - 0x6a], 0x19
mov word [ebp - 0x68], 0x12
mov word [ebp - 0x66], 0xb
mov word [ebp - 0x64], 4
mov word [ebp - 0x62], 5
mov word [ebp - 0x60], 0xc
mov word [ebp - 0x5e], 0x13
mov word [ebp - 0x5c], 0x1a
mov word [ebp - 0x5a], 0x21
mov word [ebp - 0x58], 0x28
mov word [ebp - 0x56], 0x30
mov word [ebp - 0x54], 0x29
mov word [ebp - 0x52], 0x22
mov word [ebp - 0x50], 0x1b
mov word [ebp - 0x4e], 0x14
mov word [ebp - 0x4c], 0xd
mov word [ebp - 0x4a], 6
mov word [ebp - 0x48], 7
mov word [ebp - 0x46], 0xe
mov word [ebp - 0x44], 0x15
mov word [ebp - 0x42], 0x1c
mov word [ebp - 0x40], 0x23
mov word [ebp - 0x3e], 0x2a
mov word [ebp - 0x3c], 0x31
mov word [ebp - 0x3a], 0x38
mov word [ebp - 0x38], 0x39
mov word [ebp - 0x36], 0x32
mov word [ebp - 0x34], 0x2b
mov word [ebp - 0x32], 0x24
mov word [ebp - 0x30], 0x1d
mov word [ebp - 0x2e], 0x16
mov word [ebp - 0x2c], 0xf
mov word [ebp - 0x2a], 0x17
mov word [ebp - 0x28], 0x1e
mov word [ebp - 0x26], 0x25
mov word [ebp - 0x24], 0x2c
mov word [ebp - 0x22], 0x33
mov word [ebp - 0x20], 0x3a
mov word [ebp - 0x1e], 0x3b
mov word [ebp - 0x1c], 0x34
mov word [ebp - 0x1a], 0x2d
mov word [ebp - 0x18], 0x26
mov word [ebp - 0x16], 0x1f
mov word [ebp - 0x14], 0x27
mov word [ebp - 0x12], 0x2e
mov word [ebp - 0x10], 0x35
mov word [ebp - 0xe], 0x3c
mov word [ebp - 0xc], 0x3d
mov word [ebp - 0xa], 0x36
mov word [ebp - 8], 0x2f
mov word [ebp - 6], 0x37
mov word [ebp - 4], 0x3e
mov word [ebp - 2], 0x3f
lea ecx, [ebp - 0x80]
sub edx, eax
mov dword [ebp + 0x10], 0x40
mov esi, dword [edx + eax]
mov ebx, dword [ebp + 0xc]
imul esi, dword [eax]
movzx edi, word [ecx]
add eax, 4
inc ecx
inc ecx
dec dword [ebp + 0x10]
mov dword [ebx + edi*4], esi
jne 0x44526d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x446d52
Capabilities:
Create process on windows
Delete file
Move file

Disassembly:
mov eax, 0x4fcc84
call fcn.004c13fc
sub esp, 0xfc
push ebx
push esi
lea eax, [ebp - 0x24]
mov ebx, 0x549908
push edi
push eax
mov ecx, ebx
call fcn.00446f25
push str.UpdateLiveUpdate.exe
push eax
lea eax, [ebp - 0x18]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.004db0a7
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004dae12
push edi
push dword [ebp - 0x18]
call fcn.004c24d0
mov esi, eax
pop ecx
neg esi
sbb esi, esi
pop ecx
inc esi
call fcn.00446a4b
cmp eax, edi
mov dword [ebp - 0x1c], eax
je 0x446e08
cmp esi, edi
je 0x446e6d
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], edi
push ecx
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x20]
push edi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
push edi
push 1
push 0xab5
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x1388
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.00446f25
push str.LiveUpdate.exe
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
call fcn.004db0a7
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.004dae12
cmp esi, edi
je 0x446e4b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x90
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.004c1810
add esp, 0xc
call fcn.00401a32
cmp eax, edi
jne 0x446e75
xor esi, esi
jmp 0x446e78
push 1
pop edi
jmp 0x446f08
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00446f25
push esi
mov byte [ebp - 4], 6
push dword [eax]
lea eax, [ebp - 0x10]
push str.__sLiveUpdate.exe___d
push eax
call fcn.004d261f
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004dae12
push 0x44
lea eax, [ebp - 0x78]
pop esi
push esi
push edi
push eax
call fcn.004c1810
add esp, 0xc
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x78], esi
push eax
lea eax, [ebp - 0x78]
push eax
push edi
push edi
push 0x20
push edi
push edi
push edi
push edi
call fcn.004db242
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x446efc
call fcn.00446a4b
test eax, eax
jne 0x446ef9
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x446edf
push 1
pop edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004dae12
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004dae12
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44f77f
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4fd6a4
call fcn.004c13fc
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
push 0x53b740
lea ecx, [ebp - 0x1c]
call fcn.004dae80
mov eax, dword [0x542d10]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], eax
mov esi, 0x5499e4
push str.glt.exe
lea eax, [ebp - 0x14]
push esi
push eax
mov byte [ebp - 4], 1
call fcn.004db0a7
push ebx
mov byte [ebp - 4], 2
push dword [ebp - 0x14]
call fcn.004c24d0
pop ecx
cmp eax, 0xffffffff
pop ecx
je 0x44f8ac
mov eax, dword [edi + 0x9d9]
add eax, 0xc4
push eax
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.004db041
push 0x539b00
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.004db0a7
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.004dae12
push ebx
push dword [ebp - 0x18]
call fcn.004c24d0
pop ecx
cmp eax, 0xffffffff
pop ecx
jne 0x44f829
push dword [ebp - 0x18]
call fcn.004a82b0
pop ecx
cmp edi, ebx
jne 0x44f831
xor eax, eax
jmp 0x44f834
mov eax, dword [edi + 0x1c]
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push str._x___s_
push eax
call fcn.004d261f
mov eax, dword [ebp - 0x1c]
add esp, 0x10
mov eax, dword [eax - 8]
cmp eax, ebx
jle 0x44f87b
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.004d1ce6
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.004db22a
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.004dae12
cmp dword [ebp + 8], ebx
je 0x44f884
push 1
jmp 0x44f886
push 2
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x44f8a0
mov dword [edi + 0x84c], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004dae12
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004dae12
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004dae12
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004dae12
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x44ffe8
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4fd784
call fcn.004c13fc
push ecx
mov eax, dword [0x542d10]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], eax
mov eax, 0x104
xor esi, esi
push eax
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.004db242
push eax
push dword [0x549970]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 1
push esi
push esi
push dword [ebp - 0x10]
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push esi
push 0xe141
push 0x111
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dae12
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x451c69
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4fd9d8
call fcn.004c13fc
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
call fcn.004f02b8
mov ebx, 0x547498
push 1
push ebx
mov edi, str.System
push str.WebXiadan
lea eax, [ebp - 0x10]
mov esi, 0x549908
push edi
push eax
mov ecx, esi
call fcn.00495f1e
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov dword [ebp - 4], ecx
push 1
cmp dword [eax - 8], ecx
je 0x451cc0
push ecx
push ecx
push eax
push ecx
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x451d0f
push ebx
push str.WebXiadan2
lea eax, [ebp - 0x18]
push edi
push eax
mov ecx, esi
call fcn.00495f1e
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004daf4b
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004dae12
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x451d06
push eax
push ecx
mov ecx, dword [ebp - 0x14]
push 0x805c
call fcn.004526b8
jmp 0x451d0f
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00451d2a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dae12
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x451d2a
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4fda0c
call fcn.004c13fc
sub esp, 0x14
push ebx
push esi
push edi
mov esi, 0x5499e4
push str.xiadan.exe
lea eax, [ebp - 0x10]
push esi
mov edi, ecx
push eax
call fcn.004db0a7
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
push dword [ebp - 0x10]
call fcn.004c24d0
pop ecx
cmp eax, 0xffffffff
pop ecx
je 0x451e3c
mov eax, dword [0x542d10]
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004dab87
mov eax, dword [0x542d10]
mov dword [ebp - 0x1c], eax
push 0xef97
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.004db9dc
cmp dword [ebp + 8], ebx
je 0x451dd4
push 0x53b5fc
push dword [ebp + 8]
call fcn.004c1a60
pop ecx
test eax, eax
pop ecx
jne 0x451dd4
cmp edi, ebx
jne 0x451db7
xor edi, edi
jmp 0x451dba
mov edi, dword [edi + 0x1c]
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push dword [ebp - 0x20]
push edi
push str._x___s___s_UIDXiadan_r_nCommandNormalCall_r_n
push eax
call fcn.004d261f
add esp, 0x14
jmp 0x451df4
cmp edi, ebx
jne 0x451ddc
xor edi, edi
jmp 0x451ddf
mov edi, dword [edi + 0x1c]
push dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push edi
push str._x___s___A_UIDXiadan_r_nCommandNormalCall_r_n
push eax
call fcn.004d261f
add esp, 0x10
push 1
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004dae12
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004dae12
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004dae12
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dae12
push 1
pop eax
jmp 0x451ee7
call fcn.004f02b8
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0xe0]
lea esi, [eax + 0xe0]
cmp ecx, ebx
je 0x451e59
cmp dword [ecx], 0x20
ja 0x451e60
mov ecx, eax
call fcn.004961c4
mov esi, dword [esi]
cmp esi, ebx
je 0x451ed9
mov eax, dword [esi + 0x14]
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x451ed9
push dword [edi + 0x33c]
push dword [edi + 0x338]
call dword [ebp - 0x20]
mov eax, dword [0x542d10]
fstp st(0)
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x451ea1
cmp byte [eax], bl
je 0x451ea1
push eax
lea ecx, [ebp - 0x18]
call fcn.004daf9b
push 0x5499fc
lea ecx, [ebp - 0x18]
call fcn.004db22a
push dword [ebp - 0x18]
call fcn.00401a32
push dword [eax + 0x1c]
call dword [esi + 4]
lea ecx, [ebp - 0x18]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.004dae12
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dae12
mov eax, esi
jmp 0x451ee7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dae12
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4526b8
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4fdb10
call fcn.004c13fc
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
push edi
mov edi, ecx
je 0x4526de
push 1
push esi
push esi
push dword [ebp + 0x10]
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x45272a
mov eax, dword [0x542d10]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 8], esi
mov dword [ebp - 4], esi
je 0x452710
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call fcn.004dbb71
cmp eax, esi
je 0x452710
lea ecx, [ebp + 0xc]
push esi
push ecx
mov ecx, eax
push dword [ebp + 8]
call fcn.0045273a
push esi
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00452797
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004dae12
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x459a44
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4fe1c0
call fcn.004c13fc
push esi
push edi
xor esi, esi
lea ecx, [ebp + 0xc]
push esi
push esi
push esi
push 8
mov dword [ebp - 4], esi
call fcn.004e9e1d
push esi
push esi
push esi
push 8
lea ecx, [ebp + 0xc]
call fcn.004e9e1d
mov esi, dword [ebp + 8]
push 1
mov ecx, esi
call fcn.004df89d
mov eax, dword [esi]
push 0x7f7f7f
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [ebp + 0x1c]
mov edx, dword [esi]
lea edi, [ebp + 0xc]
push 0x64
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.004dae12
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x45a258
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x4fe240
call fcn.004c13fc
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
or byte [esi + 3], 2
mov edi, dword [edx]
mov eax, dword [esi]
cmp edi, 0x6f
je 0x45a299
cmp edi, 0xd
je 0x45a299
cmp edi, 0x6d
je 0x45a292
cmp edi, 0x6b
je 0x45a292
mov ecx, edi
and cx, 0xf0
cmp cl, 0x20
jne 0x45a2a0
or eax, 0x1000000
jmp 0x45a29e
and eax, 0xfeffffff
mov dword [esi], eax
mov eax, dword [edx]
cmp eax, 0x69
ja case.default.0x45a2c2
cmp eax, 0x60
jb case.default.0x45a2c2
add eax, 0xffffffd0
mov dword [edx], eax
and byte [esi + 2], 0
movzx ecx, byte [edx]
mov eax, dword [esi]
add ecx, 0xffffffd0
cmp ecx, 9
ja case.default.0x45a2c2
jmp dword [ecx*4 + 0x45a3d0]
or eax, 0xb0000
jmp 0x45a30d
or eax, 0x20000
jmp 0x45a30d
or eax, 0x30000
jmp 0x45a30d
or eax, 0x40000
jmp 0x45a30d
or eax, 0x50000
jmp 0x45a30d
or eax, 0x60000
jmp 0x45a30d
or eax, 0x70000
jmp 0x45a30d
or eax, 0x80000
jmp 0x45a30d
or eax, 0x90000
jmp 0x45a30d
or eax, 0xa0000
mov dword [esi], eax
cmp dword [edx], 0x6e
jne 0x45a328
mov dword [edx], 0xbe
mov eax, dword [esi]
and eax, 0xff34ffff
or eax, 0x340000
mov dword [esi], eax
mov edi, dword [ebp + 0x10]
push 0x14
push 0x14
mov ecx, edi
call fcn.004db242
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
push 0xffffffffffffffff
mov ecx, edi
mov esi, eax
call fcn.004db291
cmp esi, 4
jle 0x45a3bb
push ebx
lea eax, [ebp + 8]
push 3
push eax
mov ecx, edi
call fcn.004d21ff
mov eax, dword [eax]
push 0x53bb38
push eax
call fcn.004c141b
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp + 8]
inc bl
call fcn.004dae12
test bl, bl
pop ebx
je 0x45a3bb
mov eax, dword [edi]
push str.Num_Lock
push eax
call fcn.004c141b
pop ecx
test eax, eax
pop ecx
je 0x45a3bb
add esi, 0xfffffffc
lea eax, [ebp + 0xc]
push esi
push eax
mov ecx, edi
call fcn.004d2183
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004daf4b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004dae12
mov eax, dword [edi]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, dword [eax - 8]
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x46244a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4febd4
call fcn.004c13fc
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, edi
je 0x4624ef
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
mov dword [ebp + 0xc], eax
je 0x4624ef
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, edi
je 0x4624ef
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0xc]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4624e5
test edi, edi
je 0x4624e5
push ebx
push eax
push edi
call fcn.004c14d0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
push ebx
push esi
call fcn.00461cfc
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x4624f1
xor edi, edi
jmp 0x4624da
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x4753ba
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
xor ebx, ebx
mov esi, 0x5494e0
push ebx
push esi
call fcn.004c24d0
pop ecx
test eax, eax
pop ecx
jne 0x4753f9
push 0x24
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004c1810
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.004c4d27
mov eax, dword [ebp - 0x14]
add esp, 0x14
cmp eax, ebx
mov dword [ebp - 4], eax
jg 0x4753fd
xor eax, eax
jmp 0x47544a
inc eax
push edi
push eax
call fcn.004db3f6
pop ecx
mov edi, eax
push esi
push dword [ebp - 4]
push edi
push 0x547498
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [edi], bl
mov esi, edi
je 0x47543f
mov ecx, dword [ebp + 0xc]
push esi
push dword [ecx + 8]
call fcn.004d4e56
push esi
call fcn.004c2130
cmp byte [esi + eax + 1], bl
lea esi, [esi + eax + 1]
pop ecx
jne 0x475422
push edi
call fcn.004db41f
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x47544e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
push ebx
push esi
xor ebx, ebx
mov esi, 0x5494e0
push ebx
push esi
call fcn.004c24d0
pop ecx
test eax, eax
pop ecx
jne 0x475490
push 0x24
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.004c1810
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.004c4d27
mov eax, dword [ebp - 0x18]
add esp, 0x14
cmp eax, ebx
mov dword [ebp - 8], eax
jg 0x475494
xor eax, eax
jmp 0x475505
inc eax
push edi
push eax
call fcn.004db3f6
pop ecx
mov edi, eax
push esi
mov dword [ebp - 4], edi
push dword [ebp - 8]
push edi
push 0x547498
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp + 8]
call ebx
mov eax, edi
cmp byte [eax], 0
je 0x4754f8
push esi
lea eax, [ebp - 0xac]
push 0x7f
push eax
push 0x547498
push edi
push dword [ebp + 8]
call ebx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xac]
push eax
push dword [ecx + 8]
call fcn.004d4e56
push edi
call fcn.004c2130
cmp byte [edi + eax + 1], 0
lea edi, [edi + eax + 1]
pop ecx
jne 0x4754bf
push dword [ebp - 4]
call fcn.004db41f
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4843ef
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x500918
call fcn.004c13fc
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0048347f
and dword [ebp - 4], 0
push 1
push 3
push 3
push 0x53b51c
mov ecx, esi
mov dword [esi], 0x512a50
mov dword [esi + 4], 0x16
mov dword [esi + 0xc], 5
call fcn.004835f2
mov ecx, dword [esi + 0xb4]
lea eax, [esi + 0xb4]
push str.DIF_MACD
mov dword [ecx], 0xc
mov ecx, dword [eax]
mov dword [ecx + 4], 0x1a
mov eax, dword [eax]
mov dword [eax + 8], 9
mov eax, dword [esi + 0xcc]
and dword [eax], 0
lea eax, [esi + 0x30]
push eax
call fcn.004c23e0
pop ecx
mov eax, esi
pop ecx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret