joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4112cb
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
cmp dword [esi], ebp
jbe 0x411346
push ebx
push edi
lea edi, [esi + 4]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x411254
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x411322
push str.CreateThread_failed
push 0x4335ac
call fcn.00406427
pop ecx
pop ecx
mov ecx, 0x4335ac
call fcn.0042354c
push 2
mov ecx, 0x4335ac
call fcn.004063cd
mov dword [edi], ebx
inc dword [esi + 0x84]
mov eax, dword [0x44f58c]
test eax, eax
je 0x41133c
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebp
add edi, 4
cmp ebp, dword [esi]
jb 0x4112db
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret

Function at 0x417701
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x429927
call fcn.0041a554
push ecx
push ebx
push esi
mov esi, ecx
push 1
lea ecx, [esi + 4]
mov dword [ebp - 0x10], esi
call fcn.00409756
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
lea ecx, [esi + 0x4b38]
call fcn.0041257a
lea ecx, [esi + 0x98d0]
call fcn.00412f76
lea ecx, [esi + 0xe65c]
mov byte [ebp - 4], 5
call fcn.0040ab5e
push 1
lea ecx, [esi + 0xe694]
mov byte [ebp - 4], 6
call fcn.00409756
lea eax, [esi + 0xe6a4]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0xe6b4]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0xe6c4]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xa
mov dword [esi], eax
mov dword [esi + 0x4b34], ebx
mov byte [esi + 0x4c38], bl
mov byte [esi + 0x4c48], bl
mov byte [esi + 0x4c49], bl
mov byte [esi + 0x4c4a], bl
mov dword [esi + 0x1c], 1
call fcn.004110e9
push ebx
mov ecx, esi
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0xe6d8], ebx
mov dword [esi + 0xe6dc], ebx
call fcn.00415852
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4196b8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x48]
test eax, eax
jl 0x4196ec
cmp dword [ebp - 4], esi
jne 0x41972d
call ebx
sub eax, dword [ebp - 0xc]
cmp eax, 0x7d0
ja 0x41972d
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4196d6
push esi
push esi
push esi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4196d6
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x48]
cmp eax, esi
mov dword [ebp + 8], eax
jl 0x419798
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x41978e
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x42b1a8
push eax
call dword [ecx]
cmp eax, esi
mov dword [ebp + 8], eax
jl 0x419785
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp eax, esi
mov dword [ebp + 8], eax
jl 0x41977c
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 8], esi
jl 0x419798
cmp dword [ebp - 4], esi
jne 0x4197e7
cmp dword [edi + 8], esi
je 0x4197e7
cmp dword [edi + 0x18], esi
jne 0x4197e7
mov eax, dword [edi + 0x14]
cmp eax, esi
je 0x4197e7
push eax
mov ecx, edi
call fcn.004194e6
mov ebx, eax
cmp ebx, esi
je 0x4197e7
push 0x204
push esi
push esi
push esi
push esi
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
call fcn.0041a57e
pop ecx
xor eax, eax
cmp dword [ebp + 8], esi
pop edi
pop esi
setge al
pop ebx
leave
ret 8
Function at 0x419b21
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0x18]
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0
push edi
mov dword [esi + 8], edi
mov byte [esi + 0x1e], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call fcn.00419aba
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push 2
lea eax, [ebp - 0x10]
push eax
push edi
call ebx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
test eax, eax
je 0x419b88
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
push esi
push dword [esi]
sub edi, eax
push 0
push dword [ebp + 0xc]
lea ecx, [eax + 1]
dec edi
mov dword [ebp + 0x18], ecx
dec edi
call ebx
push eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
push edi
push dword [ebp - 0xc]
xor edi, edi
push dword [ebp + 0x18]
push 0x40000000
push edi
push str.RarHtmlClassName
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 4], eax
cmp dword [esi + 0x10], edi
jne 0x419c0a
cmp dword [ebp + 0xc], edi
je 0x419c20
cmp dword [esi + 0x18], edi
jne 0x419c20
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x419c20
push eax
mov ecx, esi
call fcn.004194e6
mov esi, eax
cmp esi, edi
je 0x419c20
push 5
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.0041a57e
pop ecx
jmp 0x419c20
cmp eax, edi
je 0x419c20
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x419c27
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x42b198
push 1
xor ebx, ebx
push ebx
push 0x42b258
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x419cf8
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x42b248
push eax
call dword [ecx]
test eax, eax
jl 0x419cef
cmp byte [ebp + 8], bl
je 0x419c7a
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x419c97
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x419ca9
push 0x42a73c
jmp 0x419cac
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x419cc1
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x419cd2
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x419ce6
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x419d12
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x41e74e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430298]
jne 0x41e758
repz ret
jmp fcn.00423ef4
Function at 0x425785
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041e7cf
and dword [ebp - 4], 0
cmp dword [0x4501f0], 0
mov ebx, eax
jne 0x425836
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4258e7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4258e7
push eax
call fcn.0041e75d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4501f0], eax
call esi
push eax
call fcn.0041e75d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4501f4], eax
call esi
push eax
call fcn.0041e75d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4501f8], eax
call esi
push eax
call fcn.0041e75d
pop ecx
mov dword [0x450200], eax
test eax, eax
je 0x425836
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041e75d
pop ecx
mov dword [0x4501fc], eax
mov eax, dword [0x4501fc]
cmp eax, ebx
je 0x42588e
cmp dword [0x450200], ebx
je 0x42588e
push eax
call fcn.0041e7d8
push dword [0x450200]
mov esi, eax
call fcn.0041e7d8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42588e
test edi, edi
je 0x42588e
call esi
test eax, eax
je 0x425885
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x425885
test byte [ebp - 0xc], 1
jne 0x42588e
or dword [ebp + 0x10], 0x200000
jmp 0x4258c7
mov eax, dword [0x4501f4]
cmp eax, ebx
je 0x4258c7
push eax
call fcn.0041e7d8
pop ecx
test eax, eax
je 0x4258c7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4258c7
mov eax, dword [0x4501f8]
cmp eax, ebx
je 0x4258c7
push eax
call fcn.0041e7d8
pop ecx
test eax, eax
je 0x4258c7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4501f0]
call fcn.0041e7d8
pop ecx
test eax, eax
je 0x4258e7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4258e9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..3ean
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0xfbf20a8
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..7LWLf
nop
mov ebx, 0x42f3f8
mov ecx, 0x55514603
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4048d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00415917

Function at 0x404bd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x404bf9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x404c0f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404c06
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x404c42
nop
cmp esi, ecx
jae 0x404c06
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x404c30
cmp esi, ecx
jae 0x404c06
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x404cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x404dde
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404dde
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404dde
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x404d67
cmp esi, ecx
jae 0x404dde
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x404d51
cmp esi, ecx
jae 0x404dde
movzx eax, word [esi]
test ax, ax
je 0x404dde
mov edx, dword [ebx]
mov edi, eax
mov dword [ebp + 8], eax
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x404d9a
push edi
mov ecx, ebx
call fcn.00402220
mov edx, dword [ebx]
movzx eax, word [esi]
jmp 0x404d9d
mov eax, dword [ebp + 8]
movzx ecx, ax
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.005581fe
add esp, 0x10
cmp eax, 0x50
ja case.0x404dbb.1
movzx eax, byte [eax + 0x404e0c]
jmp dword [eax*4 + 0x404dfc]
mov ecx, dword [ebx]
cmp edi, dword [ecx - 8]
jg 0x404dec
mov dword [ecx - 0xc], edi
xor edx, edx
mov ecx, dword [ebx]
lea eax, [edx + 1]
mov word [ecx + edi*2], dx
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
call fcn.00419c2c
push 0x80070057
call fcn.004022d0
call fcn.00419c12
nop
ret 0x404d
Function at 0x404e60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
call fcn.004265b1
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x404f61
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x404f61
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404f61
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404f61
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x404ee8
cmp esi, ecx
jae 0x404f61
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x404ed2
cmp esi, ecx
jae 0x404f61
movzx eax, word [esi]
test ax, ax
je 0x404f61
mov edx, dword [ebx]
mov edi, eax
mov dword [ebp + 8], eax
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x404f1b
push edi
mov ecx, ebx
call fcn.00402220
mov edx, dword [ebx]
movzx eax, word [esi]
jmp 0x404f1e
mov eax, dword [ebp + 8]
movzx ecx, ax
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.005581fe
add esp, 0x10
cmp eax, 0x50
ja case.0x404f3c.1
movzx eax, byte [eax + 0x404f90]
jmp dword [eax*4 + 0x404f80]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x404f71
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00419c2c
push 0x80070057
call fcn.004022d0
call fcn.00419c12
inc ebx
dec edi
inc eax
add byte [edi + ecx*2 + 0x40], ch
add byte [ebx + 0x4f], bh
inc eax
add byte [ebx + 0x4f], bh
inc eax
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3
Function at 0x408aed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
mov eax, ecx
push edi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x408b32
call fcn.0042574f
push 0xf0
push dword [ebp + 0xc]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x408b2f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x408b77
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 8]
push ebx
xor ebx, ebx
inc ebx
test esi, esi
je 0x408b56
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push edi
call dword [0x580a08]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov edi, dword [edi + 0x70]
test edi, edi
je 0x408b74
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x580a08]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x414d57
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x414daa
push esi
push dword [ebp + 8]
call fcn.00414f46
mov edi, eax
test edi, edi
je 0x414da5
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x414da5
mov eax, dword [ebp - 8]
jmp 0x414dbc
mov eax, dword [ebp + 0x10]
jmp 0x414dbc
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc
Function at 0x414dc2
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5727cc
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.0054f500
mov eax, dword [0x5d9ff4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x58], 0
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x201c], edi
mov dword [ebp - 0x2024], eax
je 0x414ef9
push 0
push edx
call fcn.00414f46
mov ebx, eax
test ebx, ebx
jne 0x414e2a
push esi
jmp 0x414f21
call fcn.0041a104
push eax
lea ecx, [ebp - 0x2014]
call fcn.00402020
xor ecx, ecx
lea eax, [ebp - 0x2018]
push eax
push ecx
lea eax, [ebp - 0x2020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x2024]
mov dword [ebp - 0x2020], ecx
push ebx
mov dword [ebp - 0x2018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x201c], eax
test eax, eax
jne 0x414eb8
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2014]
shr eax, 1
push eax
call fcn.00402280
lea ecx, [ebp - 0x2018]
push ecx
push eax
lea eax, [ebp - 0x2020]
push eax
push 0
push dword [ebp - 0x2024]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x201c], eax
call fcn.00415084
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x201c], 0
jne 0x414ee6
mov esi, dword [ebp - 0x2014]
add esi, 0xfffffff0
push esi
call fcn.00405250
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00402130
jmp 0x414f28
push esi
mov ecx, edi
call fcn.00405af0
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x414edf
test esi, esi
jne 0x414f02
mov esi, 0x5bb540
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x2010]
push 0x1000
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2010]
push eax
mov ecx, edi
call fcn.00405af0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054eba5
leave
ret 0x10

Function at 0x41596f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.0042574f
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4159a2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.004159b5
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41fad6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x41fb15
call fcn.0042574f
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41fb15
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41fb1d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.004258fe
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x42050a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x420596
cmp dword [esi + 0x20], 0
je 0x420596
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x420596
cmp dword [ebp + 8], 0
je 0x420596
xor edi, edi
mov ebx, edi
call fcn.0042574f
push 0x584270
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x42057a
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x420596
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.004c1a97
mov edi, eax
add esp, 0xc
test edi, edi
je 0x420592
mov ecx, esi
call fcn.004202ac
mov eax, edi
jmp 0x420598
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x424d25
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x571dad
call fcn.0054f364
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x424d4b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x424dab
call fcn.0041a104
push eax
lea ecx, [ebp - 0x10]
call fcn.00402020
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x580a08]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005593d1
push eax
call fcn.00404c60
add esp, 0x14
test esi, esi
je 0x424d9e
push esi
call fcn.005583a4
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402130
mov eax, ebx
call fcn.0054f32d
ret 8