joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401040
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54ee91
mov eax, dword fs:[0]
push eax
sub esp, 0x144
push esi
push edi
mov eax, dword [0x5ac1d0]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.0041c2ef
xor edi, edi
push edi
call fcn.0041ce27
push 0xc
call fcn.0041b439
add esp, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x158], edi
cmp eax, edi
je 0x4010bf
mov ecx, eax
call fcn.0041d5d6
mov edi, eax
push 0x57dd28
mov ecx, esi
mov dword [esp + 0x15c], 0xffffffff
call fcn.0041d765
push 0
push 0x66
lea ecx, [esp + 0x24]
call fcn.00424161
mov dword [esp + 0x158], 1
lea ecx, [esp + 0xd8]
mov dword [esp + 0x1c], vtable.CKModzLauncherDlg.0
call fcn.00425cf6
mov dword [esp + 0xd8], vtable.CProgressCtrl.0
mov byte [esp + 0x158], 2
call fcn.0042b93c
call fcn.0042b93c
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0xd4], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x158], 3
mov dword [esi + 0x20], ecx
call fcn.0041e704
test edi, edi
je 0x40115b
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0x158], 4
call fcn.0041ed33
lea ecx, [esp + 0xc8]
mov dword [esp + 0x158], 6
call fcn.00421fac
mov byte [esp + 0x158], 5
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], vtable.CBrush.0
call fcn.004016b0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x158], 0xffffffff
call fcn.0041df5e
xor eax, eax
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4045c0
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]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4045db
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404612
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40460e
jmp 0x404600
cmp esi, eax
jae 0x404612
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x404600
cmp esi, eax
jb 0x404619
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404c50
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0051ff80
mov eax, dword [0x5ac1d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push edi
push 0xf0000000
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push 0x5b58c0
mov edi, ecx
call esi
test eax, eax
jne 0x404cc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x8009000f
jne 0x404cb1
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push 0x5b58c0
call esi
test eax, eax
jne 0x404cc4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051b896
mov esp, ebp
pop ebp
ret
push 0x57ea10
push edi
call fcn.0051cb85
mov esi, eax
xor edi, edi
add esp, 8
cmp esi, edi
jne 0x404cf2
mov eax, dword [0x5b58c0]
cmp eax, edi
je 0x404ceb
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x404e1c
mov ecx, dword [0x5b58c0]
xor eax, eax
mov dword [ebp - 0x1018], eax
mov dword [ebp - 0x1014], eax
mov dword [ebp - 0x1010], eax
mov dword [ebp - 0x100c], eax
mov dword [ebp - 0x1008], eax
lea eax, [ebp - 0x1008]
push eax
push edi
push edi
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push esi
call fcn.0051cb9c
add esp, 4
test eax, eax
jne 0x404d79
mov edi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push esi
push 0x1000
lea edx, [ebp - 0x1004]
push 1
push edx
call fcn.0051ce36
mov ecx, dword [ebp - 0x1008]
add esp, 0x10
push 0
push eax
lea eax, [ebp - 0x1004]
push eax
push ecx
call edi
push esi
call fcn.0051cb9c
add esp, 4
test eax, eax
je 0x404d40
xor edi, edi
mov ecx, dword [ebp - 0x1008]
push edi
lea edx, [ebp - 0x1020]
push edx
lea eax, [ebp - 0x1018]
push eax
push 2
push ecx
mov dword [ebp - 0x1020], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [ebp - 0x1008]
cmp eax, edi
je 0x404db2
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
mov dword [ebp - 0x1008], edi
call fcn.0051cec0
push 0x64
push edi
push ebx
call fcn.0051f990
add esp, 0x10
xor esi, esi
lea esp, [esp]
mov dl, byte [ebp + esi - 0x1018]
mov byte [ebp - 0x1019], dl
mov edx, 4
mov al, byte [ebp - 0x1019]
mov cl, dl
shr al, cl
and al, 0xf
cmp al, 0xa
jge 0x404df6
add al, 0x30
jmp 0x404df8
add al, 0x57
mov byte [ebx], al
inc ebx
sub edx, 4
jns 0x404de2
inc esi
cmp esi, 0x10
jl 0x404dd0
mov eax, dword [0x5b58c0]
cmp eax, edi
je 0x404e17
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 1
mov ecx, dword [ebp - 4]
mov dword [0x5b58c0], edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051b896
mov esp, ebp
pop ebp
ret
Function at 0x406d30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ed40
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5ac1d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x14], esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x406d7d
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov dword [esi], vtable.KM::SourceTemplate_class_KM::FileStore_.1.0
mov dword [esi + 4], vtable.KM::SourceTemplate_class_KM::FileStore_.0
mov dword [esi + 0x24], 0xffffffff
mov byte [esi + 0x28], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x18], vtable.KM::FileStore.0
mov dword [esi + 0x1c], vtable.KM::FileStore.1.0
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x4c], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051b896
mov esp, ebp
pop ebp
ret 4

Function at 0x408670
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f128
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5ac1d0]
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
mov ebx, dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x57e52c
mov esi, eax
push 0x81
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x30]
push str.KVIP
push eax
lea esi, [ebp - 0x2c]
call fcn.004062d0
push 0x57f210
push ebx
call fcn.0051d98c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40873f
mov eax, dword [ebp - 0x2c]
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jae 0x40870a
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
push esi
push 1
push ecx
push eax
call fcn.0051d854
push esi
call fcn.0051cec0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], edi
jb 0x408738
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0041b468
add esp, 4
mov eax, 1
jmp 0x408764
push 0
call fcn.0051cec0
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x408762
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041b468
add esp, 4
xor eax, eax
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.0051b896
mov esp, ebp
pop ebp
ret
Function at 0x410b00
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x54d118
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5ac1d0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov eax, dword [0x5ac1d0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x410c3f
cmp byte [edi + 0x49], 0
je 0x410c3f
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x410c2a
lea esi, [esp + 0x14]
call fcn.00410830
mov dword [esp + 0x3c], 0
lea ebx, [edi + 0x4c]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
mov edx, eax
cmp ebp, 0x10
jae 0x410b82
lea edx, [esp + 0x14]
mov eax, edx
add edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebp, [esp + 0x10]
push ebp
push edx
push eax
mov eax, dword [esi + 0x18]
push ebx
call eax
sub eax, 0
je 0x410bb6
dec eax
je 0x410bba
sub eax, 2
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x14]
jne 0x410c25
jmp 0x410c3a
mov byte [edi + 0x49], 0
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov ecx, eax
cmp ebp, 0x10
jae 0x410bcd
lea ecx, [esp + 0x14]
mov esi, dword [esp + 0x10]
sub esi, ecx
je 0x410bfa
cmp ebp, 0x10
jae 0x410bde
lea eax, [esp + 0x14]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0051d854
add esp, 0x10
cmp esi, eax
jne 0x410c19
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp byte [edi + 0x49], 0
je 0x410c2e
test esi, esi
jne 0x410b75
push esi
push 8
lea esi, [esp + 0x1c]
call fcn.0040b7a0
jmp 0x410b6d
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004034d0
xor al, al
jmp 0x410c41
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004034d0
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0051b896
add esp, 0x30
ret
Function at 0x412df0
Capabilities:
Hash data using sha1

Disassembly:
push 0xffffffffffffffff
push 0x54e3d0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5ac1d0]
xor eax, esp
mov dword [esp], eax
mov eax, dword [0x5ac1d0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x58], 0x10
lea ecx, [eax + 0x10]
mov dword [ecx + 0x4c], ecx
mov dl, 1
mov byte [ecx + 0x41], dl
mov dword [eax + 0xa8], 0x10
mov byte [eax + 0xa1], dl
lea ecx, [eax + 0x60]
mov dword [ecx + 0x4c], ecx
mov ecx, dword [eax + 0xac]
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [eax], vtable.KM::SHA1.0
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp]
xor ecx, esp
call fcn.0051b896
add esp, 0x10
ret 4

Function at 0x412f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54e740
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5ac1d0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ac1d0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
lea ebp, [esi + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ebp
cmp ebp, 0xffffffff
jbe 0x412f7f
call fcn.004074e0
test ebp, ebp
jne 0x412f87
xor ebx, ebx
jmp 0x412f94
mov edi, ebp
call fcn.00414cc0
mov edi, dword [esp + 0x20]
mov ebx, eax
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x1c]
push esi
push eax
push ebx
mov dword [esp + 0x54], 0
call fcn.0051fc10
mov ecx, dword [edi]
mov dword [esi + ebx], ecx
mov edx, dword [edi + 4]
mov edi, 0x18
mov dword [esi + ebx + 4], edx
mov dword [esp + 0x40], edi
call fcn.00414cc0
mov esi, eax
mov dword [esp + 0x44], esi
push 0xc8
push edi
push ebp
push ebx
mov ecx, esi
mov byte [esp + 0x64], 3
call fcn.00412a80
mov ecx, dword [esi]
mov eax, dword [esp + 0x30]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 0x10]
mov eax, dword [esp + 0x34]
mov dword [eax], ecx
mov edx, dword [esi + 0x14]
mov dword [eax + 4], edx
xor al, al
mov edi, esi
mov ecx, 0x18
push esi
rep stosb byte es:[edi], al
call fcn.0051c451
xor al, al
mov edi, ebx
mov ecx, ebp
push ebx
rep stosb byte es:[edi], al
call fcn.0051c451
add esp, 0x24
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0051b896
add esp, 0x38
ret
Function at 0x414bc0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, eax
mov eax, ebp
shr eax, 2
xor ecx, ecx
xor edx, edx
test eax, eax
je 0x414bfa
mov edx, edi
sub esi, edi
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esi + edx]
xor ebx, dword [edx]
add edx, 4
or ecx, ebx
dec eax
jne 0x414be4
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
pop ebx
lea eax, [edx*4]
sub ebp, eax
jne 0x414c11
pop edi
xor eax, eax
test ecx, ecx
pop esi
sete al
pop ebp
pop ecx
ret
add esi, eax
add edi, eax
mov eax, ecx
mov edx, ecx
shr edx, 0x10
shr eax, 0x18
or al, dl
mov edx, ecx
shr edx, 8
or al, dl
or cl, al
test ebp, ebp
je 0x414c3f
mov eax, edi
sub esi, edi
mov edi, ebp
mov dl, byte [eax + esi]
xor dl, byte [eax]
inc eax
or cl, dl
dec edi
jne 0x414c34
pop edi
xor eax, eax
test cl, cl
pop esi
sete al
pop ebp
pop ecx
ret

Function at 0x4159a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54e9d0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5ac1d0]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x5ac1d0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ecx]
push 1
push 0x5af0e8
mov dword [esp + 0x28], edx
xor edx, edx
push edx
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
push eax
mov eax, dword [esi + 0x80]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], vtable.KM::ArraySink.0
mov dword [esp + 0x30], vtable.KM::ArraySink.1.0
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0051b896
mov esp, ebp
pop ebp
ret 8
Function at 0x41b110
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov ecx, dword [eax + 0x8c]
push edi
add ecx, 8
mov edi, 8
mov eax, esi
ror eax, 4
xor eax, dword [ecx - 8]
add ecx, 0x10
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x580b10]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x580d10]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x580f10]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x581110]
mov eax, dword [ecx - 0x14]
xor edx, ebx
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x580c10]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x580e10]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x581010]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x581210]
xor edx, ebx
mov eax, edx
ror eax, 4
xor eax, dword [ecx - 0x10]
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x580b10]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x580d10]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x580f10]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x581110]
mov eax, dword [ecx - 0xc]
xor esi, ebx
xor eax, edx
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x580c10]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x580e10]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x581010]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x581210]
xor esi, ebx
dec edi
jne 0x41b132
mov ecx, dword [esp + 0x18]
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x41ca1f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x41ca67
call fcn.0042b93c
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41ca67
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41caaa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41ca93
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41ca93
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x41caa7
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41e903
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0042b93c
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41e93c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0041e540
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x41e99a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x41e9be
cmp dword [edi + 0x74], 0
jne 0x41e9be
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0042b93c
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041e95b
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x424119
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00428894
call fcn.00404220
cmp eax, esi
pop esi
jne 0x424135
mov ecx, 0x5b0fb0
jmp fcn.00432825
ret

Function at 0x42a4ab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42a4f2
call fcn.0042b93c
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42a4f2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42a50e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00429fab
mov esi, eax
test edi, edi
je 0x42a50c
test ebx, ebx
je 0x42a50c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42acef
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x54c921
call fcn.0051f398
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x42ad14
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42ad66
call fcn.00420603
push eax
lea ecx, [ebp - 0x10]
call fcn.004013a0
mov ecx, dword [esi + 0x6c]
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.0051ffab
push eax
call fcn.00404670
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401420
mov eax, esi
call fcn.0051f470
ret 8

Function at 0x42bd1b
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0042b9bf
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42bd65
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041f595
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041dbfc
jmp 0x42bd70
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0042e759
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x42bd76
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0042a5b7
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x42bdb3
call fcn.0042b9bf
mov dword [esi + 0xc], 1
jmp 0x42bdb8
call fcn.0042b9bf
cmp dword [esi], 0
je 0x42be01
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x42bdd9
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041f595
jmp 0x42bdeb
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401580
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041dbfc
jmp 0x42be25
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x42be25
push dword [esi]
push dword [ebp + 8]
call fcn.0042e759
pop esi
pop ebp
ret 0xc