joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418410
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4ad87b
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x850], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x868]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x878]
cmp byte [ebp + 0x7605], 0
mov edi, dword [esp + 0x880]
mov eax, dword [ebp + 0x13d8]
je 0x4185e7
cmp byte [eax + 0x28e9], 0
jne 0x4185e7
cmp byte [ebp + 0x7600], 0
jne 0x4185e7
push ebp
lea ecx, [esp + 0x18]
call fcn.0045de60
mov dword [esp + 0x870], 0
movzx eax, word [ebp + 0x4f10]
push 0
push 1
cdq
push 0
push edx
push eax
call fcn.0049ea60
mov ecx, dword [ebp + 0x4f14]
xor esi, esi
add eax, ecx
adc edx, esi
push edx
push eax
mov ecx, ebp
call fcn.0042f0a0
mov ecx, ebp
call fcn.0040ee40
mov ebx, dword [esp + 0x87c]
test bl, bl
je 0x418505
mov eax, dword [0x4db83c]
push 0x200
lea edx, [esp + 0x668]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x34a
call fcn.0045bde0
push eax
call fcn.0047f6f0
call fcn.0047fef0
push 0x638
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.0049e460
mov eax, dword [ebp + 0x4ee0]
add esp, 0xc
sub eax, 0x76
je 0x418568
sub eax, 3
je 0x41855a
sub eax, 1
jne 0x41857d
push 0x4b18bc
lea ecx, [ebp + 0x5c30]
call fcn.0040aaf0
test al, al
je 0x418550
lea edx, [esp + 0x2c]
push edx
push ebx
push ebp
call fcn.00417c50
jmp 0x41857d
mov byte [esp + 0x662], 1
jmp 0x41857d
lea eax, [esp + 0x2c]
push eax
push ebx
push ebp
call fcn.004174a0
jmp 0x41857d
test byte [ebp + 0x4f0c], 0x20
je 0x4185d3
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebp
call fcn.00417900
test bl, bl
je 0x418593
lea edx, [esp + 0x664]
push edx
call fcn.0047f6f0
call fcn.0047fef0
test edi, edi
je 0x4185a2
mov ecx, 0x18e
lea esi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
cmp byte [esp + 0x662], 0
je 0x4185d3
test bl, bl
je 0x4185d3
push 0x2a9
call fcn.0045bde0
push eax
add ebp, 0x17
push ebp
call fcn.00445390
add esp, 8
push 1
mov ecx, 0x4c9364
call fcn.00427c80
mov dword [esp + 0x870], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0045de90
mov ecx, dword [esp + 0x868]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x850]
xor ecx, esp
call fcn.0049dea6
add esp, 0x860
ret 0xc
Function at 0x418f60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x654
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x650], eax
mov eax, dword [esp + 0x664]
push ebx
mov ebx, dword [esp + 0x65c]
push ebp
mov ebp, dword [esp + 0x664]
push esi
push edi
mov edi, dword [esp + 0x670]
mov dword [esp + 0x10], edi
lea esi, [esp + 0x60]
test eax, eax
je 0x418fe2
mov ecx, eax
sub esi, eax
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x418fa4
lea ecx, [esp + 0x60]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x418fb5
sub ecx, esi
lea esi, [esp + ecx + 0x61]
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x418fc6
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418fd5
sub eax, edx
lea esi, [esi + eax + 1]
push 0x426
call fcn.0045bde0
mov edx, esi
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x418ff0
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419000
sub eax, edx
lea ecx, [esi + eax + 1]
mov eax, 0x2a
mov word [ecx], ax
mov eax, ecx
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x419020
sub eax, esi
push 0x4c
mov byte [eax + ecx + 1], dl
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.0049e460
mov edx, dword [0x4c9360]
add esp, 0xc
lea eax, [esp + 0x60]
push edi
mov dword [esp + 0x18], 0x4c
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0x400
mov dword [esp + 0x48], ebp
call fcn.0044db30
cmp eax, edi
jne 0x419094
lea ecx, [esp + 0x260]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 0x260]
mov dword [esp + 0x40], edx
mov bl, byte [esp + 0x678]
mov edi, dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
mov ebp, dword [sym.imp.COMDLG32.dll_GetSaveFileNameA]
mov dword [esp + 0x48], 0x1080c
test bl, bl
je 0x4190bc
lea eax, [esp + 0x14]
push eax
call ebp
jmp 0x4190c3
lea ecx, [esp + 0x14]
push ecx
call edi
mov esi, eax
test esi, esi
jne 0x4190f5
call dword [sym.imp.COMDLG32.dll_CommDlgExtendedError]
cmp eax, 0x3002
jne 0x4190f3
mov edx, dword [esp + 0x10]
mov byte [edx], 0
test bl, bl
je 0x4190ea
lea eax, [esp + 0x14]
push eax
call ebp
jmp 0x4190f1
lea ecx, [esp + 0x14]
push ecx
call edi
mov esi, eax
test esi, esi
mov ecx, dword [esp + 0x660]
pop edi
pop esi
pop ebp
setne al
pop ebx
xor ecx, esp
call fcn.0049dea6
add esp, 0x654
ret 0x14
Function at 0x419950
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1350
call fcn.0049e430
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x134c], eax
push ebx
mov ebx, dword [esp + 0x1360]
push esi
mov esi, dword [esp + 0x135c]
push edi
mov edi, dword [esp + 0x1364]
push 0x426
call fcn.0045bde0
lea edx, [esp + 0x58]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x419990
lea eax, [esp + 0x58]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4199a1
mov cx, word [0x4b1d04]
sub eax, edx
mov dl, byte [0x4b1d06]
lea eax, [esp + eax + 0x59]
mov word [eax], cx
mov byte [eax + 2], dl
xor eax, eax
push 0x4c
push eax
lea ecx, [esp + 0x14]
push ecx
mov word [esp + 0x764], ax
call fcn.0049e460
mov edx, dword [0x4c9360]
lea eax, [esp + 0x764]
add esp, 0xc
mov dword [esp + 0xc], 0x4c
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0x200
mov dword [esp + 0x50], 0x4194d0
mov dword [esp + 0x40], 0x89036c
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], edi
call fcn.0043ca60
pop edi
pop esi
pop ebx
test eax, eax
je 0x419af3
push 0x1000000
lea ecx, [esp + 0x150]
push ecx
push 0x426
call fcn.0045bde0
push eax
call fcn.0046d7e0
push 0x4b1d00
lea edx, [esp + 0x150]
push edx
call fcn.0046dac0
lea eax, [esp + eax*2 + 0x152]
push eax
call fcn.0046dae0
lea ecx, [esp + 0x14c]
push ecx
call fcn.0046dac0
mov ecx, dword [esp + 0x30]
xor edx, edx
mov word [esp + eax*2 + 0x14e], dx
push 0x1000000
lea eax, [esp + 0x350]
push eax
push ecx
call fcn.0046d7e0
lea ecx, [esp + 0xb4c]
push ecx
lea edx, [esp + 0x150]
lea eax, [esp + 0x350]
push 0x800
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], str.OKCANCELTPL
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp]
lea edx, [esp + 0xb4c]
push eax
mov dword [esp + 0x30], edx
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
mov ecx, dword [esp + 0x134c]
xor ecx, esp
call fcn.0049dea6
add esp, 0x1350
ret 0xc
lea edx, [esp + 0x34c]
push edx
lea ecx, [esp + 0x50]
push 0x400
mov dword [esp + 0x14], ecx
mov dword [esp + 0x50], 0x4b1cdc
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp]
lea eax, [esp + 0x34c]
push ecx
mov dword [esp + 0x30], eax
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
mov ecx, dword [esp + 0x134c]
xor ecx, esp
call fcn.0049dea6
add esp, 0x1350
ret 0xc
Function at 0x41e560
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0xc24
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0xc20], eax
push esi
push str.winrar_config_integration
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x41e69b
push ebp
push 0x10000
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
jne 0x41e5c9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
mov ecx, dword [esp + 0xc20]
xor ecx, esp
call fcn.0049dea6
add esp, 0xc24
ret
cmp byte [ebp], 0x49
push ebx
push edi
mov ebx, ebp
jne 0x41e633
cmp byte [ebp + 1], 0x1a
jne 0x41e633
lea esi, [ebp + 2]
mov ecx, 6
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x400
lea edi, [ebp + 0x1c]
lea ebx, [esp + 0x434]
call fcn.0041e510
push 0x400
lea ebx, [esp + 0x34]
mov edi, eax
call fcn.0041e510
mov ebx, eax
test ebx, ebx
je 0x41e62f
push 0
lea eax, [esp + 0x18]
push eax
call fcn.0043ca10
lea edi, [esp + 0x30]
lea esi, [esp + 0x430]
call fcn.0041e420
mov esi, dword [esp + 0x10]
cmp byte [ebx], 0x54
jne 0x41e68a
lea edi, [ebx + 1]
push 0x400
lea ebx, [esp + 0x834]
call fcn.0041e510
push 0x400
lea ebx, [esp + 0x34]
mov edi, eax
call fcn.0041e510
push 0x400
lea ebx, [esp + 0x434]
mov edi, eax
call fcn.0041e510
test eax, eax
je 0x41e68a
push 0
mov ecx, ebx
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x83c]
push eax
call fcn.0043c670
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop ebp
mov ecx, dword [esp + 0xc24]
pop esi
xor ecx, esp
call fcn.0049dea6
add esp, 0xc24
ret
Function at 0x41f820
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xe40
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0xe3c], eax
lea eax, [esp + 0x3c]
push eax
call fcn.0044e1b0
lea ecx, [esp + 0x3c]
push ecx
call fcn.0044dfb0
lea eax, [esp + 0x3c]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41f850
mov edx, dword [str.Settings.reg]
mov ecx, dword [0x4b2224]
mov dword [eax], edx
mov edx, dword [0x4b2228]
mov dword [eax + 4], ecx
mov cl, byte [0x4b222c]
mov dword [eax + 8], edx
mov byte [eax + 0xc], cl
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x3c]
mov byte [esp + eax + 0x43c], cl
inc eax
test cl, cl
jne 0x41f880
push ebx
mov ebx, dword [esp + 0xe48]
push 1
test bl, bl
je 0x41fa08
push str.ExportedSettings
push 0x4b1914
call fcn.00456800
cmp byte [esp + 0xe4c], 0
jne 0x41f8ed
xor edx, edx
test bl, bl
sete dl
push ebx
push str..reg
lea ecx, [esp + 0x48]
push ecx
add edx, 0x5b4
push edx
call fcn.0045bde0
push eax
mov eax, dword [0x4dc1c8]
push eax
call fcn.00418f60
test al, al
je 0x41fa34
mov eax, str._ea___s__HKEY_CURRENT_USERSoftwareWinRAR
test bl, bl
jne 0x41f8fb
mov eax, 0x4b21e4
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x948]
push edx
call fcn.0049deb5
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0049e460
mov ecx, dword [0x4dc1c8]
add esp, 0x18
lea eax, [esp + 4]
lea edx, [esp + 0x940]
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x40
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], str.regedit
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
setne bl
test bl, bl
je 0x41f983
mov ecx, dword [esp + 0x3c]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0xe48], 0
je 0x41f99c
push str.ExportedSettings
push 0x4b1914
call fcn.00456740
test bl, bl
je 0x41fa65
cmp byte [esp + 0xe48], 0
jne 0x41f9b3
call fcn.0041f520
xor ecx, ecx
cmp byte [esp + 0xe48], cl
lea eax, [esp + 0x40]
sete cl
push eax
add ecx, 0x460
push ecx
call fcn.0045bde0
push eax
lea edx, [esp + 0x448]
push edx
call fcn.0049deb5
add esp, 0xc
push 0
push 0x2fb
call fcn.0045bde0
mov ecx, dword [0x4dc1c8]
push eax
lea eax, [esp + 0x448]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x41fa8a
lea edx, [esp + 0x44]
push edx
push str.Settings.reg
call fcn.0044e290
push 0
lea eax, [esp + 0x44]
push eax
call fcn.0042f950
test al, al
jne 0x41f8b1
cmp byte [esp + 0xe4c], al
je 0x41fa4e
xor al, al
pop ebx
mov ecx, dword [esp + 0xe3c]
xor ecx, esp
call fcn.0049dea6
add esp, 0xe40
ret 8
xor eax, eax
mov cl, byte [esp + eax + 0x440]
mov byte [esp + eax + 0x40], cl
inc eax
test cl, cl
jne 0x41fa50
jmp 0x41f8bb
cmp byte [esp + 0xe4c], 0
jne 0x41fa8a
lea edx, [esp + 0x940]
push edx
push 0x201
call fcn.0045bde0
push eax
call fcn.0048e100
add esp, 8
mov ecx, dword [esp + 0xe40]
mov al, bl
pop ebx
xor ecx, esp
call fcn.0049dea6
add esp, 0xe40
ret 8
Function at 0x41fb60
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x4c6a2c], 0
jne 0x41fb6e
call fcn.0041fad0
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x41fb9d
test dl, 7
je 0x41fb9d
movzx ecx, byte [edx]
movzx edi, al
xor ecx, edi
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
dec esi
inc edx
test esi, esi
ja 0x41fb80
cmp esi, 8
jb 0x41fc2c
mov edi, esi
shr edi, 3
jmp 0x41fbb0
xor eax, dword [edx]
add edx, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
sub esi, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
mov ecx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x4c6a28]
xor eax, dword [edx - 4]
shr ecx, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
sub edi, 1
jne 0x41fbb0
xor ecx, ecx
test esi, esi
jbe 0x41fc4c
push ebx
movzx edi, byte [ecx + edx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4c6a28]
inc ecx
cmp ecx, esi
jb 0x41fc33
pop ebx
pop edi
pop esi
ret 0xc

Function at 0x41fce0
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov eax, dword [esp + 4]
inc eax
mov edx, 4
push esi
jmp 0x41fcf0
movzx esi, byte [eax - 1]
mov esi, dword [esi*4 + 0x4c6a28]
xor dword [ecx + 0x204], esi
movzx esi, byte [eax]
mov esi, dword [esi*4 + 0x4c6a28]
xor dword [ecx + 0x208], esi
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x4c6a28]
xor dword [ecx + 0x20c], esi
movzx esi, byte [eax + 2]
mov esi, dword [esi*4 + 0x4c6a28]
xor dword [ecx + 0x210], esi
add eax, 4
sub edx, 1
jne 0x41fcf0
pop esi
ret 4

Function at 0x41fd40
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, edi
mov esi, ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41fd50
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
call fcn.0041fb60
mov word [esi + 0x214], ax
shr eax, 0x10
xor ecx, ecx
mov word [esi + 0x216], ax
xor eax, eax
mov word [esi + 0x21a], ax
mov word [esi + 0x218], cx
mov byte [esi + 0x21e], cl
mov byte [esi + 0x21d], cl
mov byte [esi + 0x21c], cl
mov al, byte [edi]
test al, al
je 0x41fdf6
lea ecx, [ecx]
add byte [esi + 0x21c], al
xor byte [esi + 0x21d], al
mov dl, byte [esi + 0x21e]
add dl, al
rol dl, 1
movzx ecx, al
mov byte [esi + 0x21e], dl
mov dx, word [ecx*4 + 0x4c6a28]
xor dx, word [esi + 0x218]
movzx ax, al
xor dx, ax
mov word [esi + 0x218], dx
mov cx, word [ecx*4 + 0x4c6a2a]
add cx, ax
add word [esi + 0x21a], cx
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41fda0
pop edi
pop esi
ret 4
Function at 0x41fee0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
mov eax, ecx
test edi, edi
je 0x41ff9a
push ebx
push esi
mov esi, dword [esp + 0x10]
jmp 0x41ff00
mov ecx, 0x1234
add word [eax + 0x214], cx
movzx ecx, word [eax + 0x214]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x4c6a28]
xor word [eax + 0x216], dx
mov bx, word [eax + 0x21a]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x4c6a2a]
sub word [eax + 0x218], dx
movzx edx, word [eax + 0x218]
xor edx, ecx
mov word [eax + 0x214], dx
mov edx, 1
mov ecx, edx
dec edi
ror bx, cl
inc esi
xor bx, word [eax + 0x216]
ror bx, cl
movzx ecx, bx
xor word [eax + 0x214], cx
mov word [eax + 0x21a], cx
movzx ecx, word [eax + 0x214]
shr ecx, 8
xor byte [esi - 1], cl
test edi, edi
jne 0x41ff00
pop esi
pop ebx
pop edi
ret 8
Function at 0x422b10
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4adc26
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x4dbd58], ebx
jne 0x422cdc
push str.WinRAR_DragDrop
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
push ebx
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x422b95
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5b9
call fcn.0045bde0
push eax
call fcn.0048e100
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [0x4c7519], al
jne 0x422bb5
mov byte [esp + 0x14], bl
cmp dword [0x4dbc5c], ebx
je 0x422bba
mov byte [esp + 0x14], 1
push 8
call fcn.0049e9f4
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x422be1
mov dword [eax], 0x4b2260
mov dword [eax + 4], 1
mov edi, eax
jmp 0x422be3
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x2c], ebp
push 0x5f18
call fcn.0049e9f4
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], 1
cmp eax, ebx
je 0x422c17
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00422480
mov esi, eax
jmp 0x422c19
xor esi, esi
mov dword [esp + 0x2c], ebp
xor eax, eax
cmp byte [esp + 0x14], bl
lea edx, [esp + 0x20]
setne al
push edx
mov byte [0x4c751a], bl
mov byte [0x4c7118], bl
mov byte [0x4c751b], 1
mov byte [0x4c7518], bl
lea eax, [eax + eax + 1]
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_DoDragDrop]
mov byte [0x4c751b], bl
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
mov ebp, eax
call edx
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
cmp byte [0x4c7519], bl
je 0x422c90
cmp dword [0x4dbc5c], ebx
je 0x422c90
cmp ebp, 0x40100
jne 0x422c90
call fcn.004880f0
mov ecx, 0x4dfee0
call fcn.00442500
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, 0x40100
je 0x422cdc
cmp byte [0x4c7518], bl
jne 0x422cdc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x422cdc
push 0x53c
call fcn.0045bde0
push eax
call fcn.0048e100
add esp, 4
mov ecx, 0x4c9364
call fcn.00427d40
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4237b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
cmp eax, edx
jbe 0x423818
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp edx, ecx
jb 0x4237f4
mov edx, edi
sub edx, esi
lea eax, [esi + 4]
sub ebx, esi
lea ebx, [ebx]
mov ebp, dword [edx + eax]
xor ebp, dword [eax]
inc ecx
mov dword [ebx + eax], ebp
add eax, 4
cmp ecx, dword [esi]
jbe 0x4237e0
mov ebx, dword [esp + 0x14]
mov eax, dword [edi]
sub eax, dword [esi]
lea edx, [edi + ecx*4]
add eax, eax
add eax, eax
push eax
push edx
lea eax, [ebx + ecx*4]
push eax
call fcn.0049e4e0
mov ecx, dword [edi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], ecx
pop ebx
ret 0xc
jae 0x423868
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp eax, ecx
jb 0x423844
mov edx, edi
sub edx, esi
lea eax, [esi + 4]
sub ebx, esi
mov ebp, dword [eax + edx]
xor ebp, dword [eax]
inc ecx
mov dword [eax + ebx], ebp
add eax, 4
cmp ecx, dword [edi]
jbe 0x423830
mov ebx, dword [esp + 0x14]
mov edx, dword [esi]
sub edx, dword [edi]
lea eax, [esi + ecx*4]
add edx, edx
add edx, edx
push edx
push eax
lea ecx, [ebx + ecx*4]
push ecx
call fcn.0049e4e0
mov edx, dword [esi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], edx
pop ebx
ret 0xc
test eax, eax
jbe 0x423882
mov edx, edi
lea ecx, [esi + eax*4]
sub edx, esi
mov ebx, dword [ecx + edx]
xor ebx, dword [ecx]
jne 0x423882
dec eax
sub ecx, 4
test eax, eax
ja 0x423873
mov edx, dword [esp + 0x14]
mov dword [edx], eax
test eax, eax
jbe 0x4238a3
sub edi, esi
lea ecx, [esi + eax*4]
sub edx, esi
mov esi, dword [ecx + edi]
xor esi, dword [ecx]
dec eax
mov dword [ecx + edx], esi
sub ecx, 4
test eax, eax
ja 0x423893
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4238b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
push ebp
push esi
mov esi, dword [esp + 0x5c]
cmp dword [esi], 0
je 0x4239da
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp]
test eax, eax
je 0x4239da
mov ecx, ebp
lea edx, [esp + 8]
sub ecx, edx
push edi
lea ebx, [ebx]
mov edi, dword [0x4c7520]
lea edx, [ecx + eax*4]
sub eax, 1
mov edx, dword [esp + edx + 0xc]
mov edx, dword [edi + edx*4]
mov dword [esp + eax*4 + 0x10], edx
jne 0x4238e0
mov edi, dword [esp + 0x5c]
push ebx
push 0x90
push eax
push edi
call fcn.0049e460
mov ebx, dword [esi]
add esp, 0xc
test ebx, ebx
je 0x423987
mov ebp, dword [0x4c751c]
lea esp, [esp]
mov eax, dword [esi + ebx*4]
mov ecx, dword [0x4c7520]
mov esi, dword [ecx + eax*4]
cmp esi, 0x7fff
je 0x42397a
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
test eax, eax
je 0x42397a
lea ecx, [ebx + eax]
lea edx, [edi + ecx*4 - 4]
jmp 0x423950
mov ecx, dword [esp + eax*4 + 0x10]
cmp ecx, 0x7fff
je 0x423972
add ecx, esi
cmp ecx, 0x7fff
jb 0x42396c
add ecx, 0xffff8001
mov ecx, dword [ebp + ecx*4]
xor dword [edx], ecx
dec eax
sub edx, 4
test eax, eax
jne 0x423950
sub ebx, 1
mov esi, dword [esp + 0x64]
jne 0x423920
mov ebp, dword [esp + 0x68]
mov edx, dword [esi]
mov eax, dword [ebp]
lea ecx, [edx + eax - 1]
cmp ecx, 0x11
mov dword [edi], ecx
pop ebx
jle 0x4239b7
lea eax, [edi + ecx*4 - 0x38]
lea edx, [ecx - 0x11]
nop
mov ecx, dword [eax + 0x38]
xor dword [eax - 0xc], ecx
xor dword [eax], ecx
mov dword [eax + 0x38], 0
sub eax, 4
sub edx, 1
jne 0x4239a0
cmp dword [edi], 0x11
jbe 0x4239d1
mov dword [edi], 0x11
mov eax, dword [edi]
cmp dword [edi + eax*4], 0
jne 0x4239d1
dec eax
mov dword [edi], eax
test eax, eax
jne 0x4239c2
pop edi
pop esi
pop ebp
add esp, 0x4c
ret 0xc
mov ecx, dword [esp + 0x58]
pop esi
mov dword [ecx], 0
pop ebp
add esp, 0x4c
ret 0xc
Function at 0x4239f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
xor ebp, ebp
cmp eax, ebp
je 0x423ad5
mov ecx, dword [edi + eax*4]
push ebx
mov ebx, dword [0x4c7520]
mov ecx, dword [ebx + ecx*4]
push esi
cmp ecx, 0x7fff
je 0x423a3b
add ecx, ecx
cmp ecx, 0x7fff
jb 0x423a28
add ecx, 0xffff8001
mov edx, dword [0x4c751c]
mov ecx, dword [edx + ecx*4]
mov esi, dword [esp + 0x14]
mov dword [esi + eax*8 - 4], ecx
jmp 0x423a43
mov esi, dword [esp + 0x14]
mov dword [esi + eax*8 - 4], ebp
mov ecx, dword [edi]
sub ecx, 1
je 0x423a88
lea edx, [esi + ecx*8 - 4]
mov edi, edi
mov dword [edx + 4], ebp
mov eax, dword [edi + ecx*4]
mov eax, dword [ebx + eax*4]
cmp eax, 0x7fff
je 0x423a7e
add eax, eax
cmp eax, 0x7fff
jb 0x423a6e
add eax, 0xffff8001
mov ebp, dword [0x4c751c]
mov eax, dword [ebp + eax*4]
mov dword [edx], eax
xor ebp, ebp
jmp 0x423a80
mov dword [edx], ebp
dec ecx
sub edx, 8
cmp ecx, ebp
jne 0x423a50
mov eax, dword [edi]
lea ecx, [eax + eax - 1]
cmp ecx, 0x11
mov dword [esi], ecx
jle 0x423ab3
lea eax, [esi + ecx*4 - 0x38]
lea edx, [ecx - 0x11]
lea esp, [esp]
mov ecx, dword [eax + 0x38]
xor dword [eax - 0xc], ecx
xor dword [eax], ecx
mov dword [eax + 0x38], ebp
sub eax, 4
sub edx, 1
jne 0x423aa0
cmp dword [esi], 0x11
jbe 0x423ace
mov dword [esi], 0x11
mov edi, edi
mov eax, dword [esi]
cmp dword [esi + eax*4], ebp
jne 0x423ace
dec eax
mov dword [esi], eax
cmp eax, ebp
jne 0x423ac0
pop esi
pop ebx
pop edi
pop ebp
ret 8
mov ecx, dword [esp + 0xc]
pop edi
mov dword [ecx], ebp
pop ebp
ret 8