joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4da1e9
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x224], eax
lea eax, [esi + 0x8ec]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
cmp dword [esi + 0xaa4], ebx
jle 0x4da141
lea edx, [esi + 0x914]
mov dword [ebp - 0x220], edx
lea esp, [esp]
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx]
lea eax, [ebp - 0x21c]
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x224]
push eax
push edi
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4da111
add dword [ebp - 0x220], 4
inc ebx
cmp ebx, dword [esi + 0xaa4]
jl 0x4da0d0
jmp 0x4da141
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x218]
mov dword [esi + 0x8ec], edx
mov edx, dword [ebp - 0x210]
mov dword [esi + 0x8f4], eax
mov dword [esi + 0x8f0], ecx
mov dword [esi + 0x8f8], edx
mov edx, dword [esi + 0xab0]
mov ebx, dword [esi + 0xab4]
mov ecx, dword [ebp - 0x224]
mov eax, edi
sub eax, edx
sub ecx, ebx
cmp edi, edx
jne 0x4da165
cmp dword [ebp - 0x224], ebx
je 0x4da1a9
mov edx, 1
cmp dword [esi + 0xab8], edx
jne 0x4da197
cmp dword [esi + 0xac0], edx
jne 0x4da184
mov dword [esi + 0xac0], 2
cmp dword [esi + 0xac0], 6
jne 0x4da197
mov dword [esi + 0xac0], 7
mov edx, dword [ebp - 0x224]
mov dword [esi + 0xab0], edi
mov dword [esi + 0xab4], edx
mov edx, dword [esi + 0xac0]
cmp edx, 2
jne 0x4da1c0
add dword [esi + 0x904], eax
add dword [esi + 0x908], ecx
cmp edx, 7
jne 0x4da273
mov edx, dword [esi + 0x910]
cmp edx, 8
ja case.default.0x4da1d4
jmp dword [edx*4 + 0x4da29c]
add dword [esi + 0x8fc], eax
add dword [esi + 0x900], ecx
jmp case.default.0x4da1d4
add dword [esi + 0x904], eax
add dword [esi + 0x900], ecx
jmp case.default.0x4da1d4
add dword [esi + 0x8fc], eax
jmp case.default.0x4da1d4
add dword [esi + 0x8fc], eax
add dword [esi + 0x900], ecx
add dword [esi + 0x904], eax
add dword [esi + 0x908], ecx
push 0x207
lea eax, [ebp - 0x20b]
push 0
push eax
mov byte [ebp - 0x20c], 0
call fcn.005de050
mov ecx, dword [esi + 0x908]
mov edx, dword [esi + 0x904]
mov eax, dword [esi + 0x900]
push ecx
mov ecx, dword [esi + 0x8fc]
push edx
push eax
push ecx
push str.BTN_CHANGE_ING_m_rcMouseMoveRect_left:_d__top:_d__right:_d_bottom:_d_n
lea edx, [ebp - 0x20c]
push 0x208
push edx
call fcn.005de363
add esp, 0x28
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret 8
add dword [esi + 0x904], eax
jmp case.default.0x4da1d4
add dword [esi + 0x8fc], eax
jmp case.0x4da1d4.7
Function at 0x4da1f7
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x224], eax
lea eax, [esi + 0x8ec]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
cmp dword [esi + 0xaa4], ebx
jle 0x4da141
lea edx, [esi + 0x914]
mov dword [ebp - 0x220], edx
lea esp, [esp]
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx]
lea eax, [ebp - 0x21c]
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x224]
push eax
push edi
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4da111
add dword [ebp - 0x220], 4
inc ebx
cmp ebx, dword [esi + 0xaa4]
jl 0x4da0d0
jmp 0x4da141
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x218]
mov dword [esi + 0x8ec], edx
mov edx, dword [ebp - 0x210]
mov dword [esi + 0x8f4], eax
mov dword [esi + 0x8f0], ecx
mov dword [esi + 0x8f8], edx
mov edx, dword [esi + 0xab0]
mov ebx, dword [esi + 0xab4]
mov ecx, dword [ebp - 0x224]
mov eax, edi
sub eax, edx
sub ecx, ebx
cmp edi, edx
jne 0x4da165
cmp dword [ebp - 0x224], ebx
je 0x4da1a9
mov edx, 1
cmp dword [esi + 0xab8], edx
jne 0x4da197
cmp dword [esi + 0xac0], edx
jne 0x4da184
mov dword [esi + 0xac0], 2
cmp dword [esi + 0xac0], 6
jne 0x4da197
mov dword [esi + 0xac0], 7
mov edx, dword [ebp - 0x224]
mov dword [esi + 0xab0], edi
mov dword [esi + 0xab4], edx
mov edx, dword [esi + 0xac0]
cmp edx, 2
jne 0x4da1c0
add dword [esi + 0x904], eax
add dword [esi + 0x908], ecx
cmp edx, 7
jne 0x4da273
mov edx, dword [esi + 0x910]
cmp edx, 8
ja case.default.0x4da1d4
jmp dword [edx*4 + 0x4da29c]
add dword [esi + 0x8fc], eax
add dword [esi + 0x900], ecx
jmp case.default.0x4da1d4
add dword [esi + 0x904], eax
add dword [esi + 0x900], ecx
jmp case.default.0x4da1d4
add dword [esi + 0x8fc], eax
jmp case.default.0x4da1d4
add dword [esi + 0x8fc], eax
add dword [esi + 0x900], ecx
add dword [esi + 0x904], eax
add dword [esi + 0x908], ecx
push 0x207
lea eax, [ebp - 0x20b]
push 0
push eax
mov byte [ebp - 0x20c], 0
call fcn.005de050
mov ecx, dword [esi + 0x908]
mov edx, dword [esi + 0x904]
mov eax, dword [esi + 0x900]
push ecx
mov ecx, dword [esi + 0x8fc]
push edx
push eax
push ecx
push str.BTN_CHANGE_ING_m_rcMouseMoveRect_left:_d__top:_d__right:_d_bottom:_d_n
lea edx, [ebp - 0x20c]
push 0x208
push edx
call fcn.005de363
add esp, 0x28
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret 8
add dword [esi + 0x904], eax
jmp case.default.0x4da1d4
add dword [esi + 0x8fc], eax
jmp case.0x4da1d4.7
Function at 0x4da1ff
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x224], eax
lea eax, [esi + 0x8ec]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
cmp dword [esi + 0xaa4], ebx
jle 0x4da141
lea edx, [esi + 0x914]
mov dword [ebp - 0x220], edx
lea esp, [esp]
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx]
lea eax, [ebp - 0x21c]
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x224]
push eax
push edi
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4da111
add dword [ebp - 0x220], 4
inc ebx
cmp ebx, dword [esi + 0xaa4]
jl 0x4da0d0
jmp 0x4da141
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x218]
mov dword [esi + 0x8ec], edx
mov edx, dword [ebp - 0x210]
mov dword [esi + 0x8f4], eax
mov dword [esi + 0x8f0], ecx
mov dword [esi + 0x8f8], edx
mov edx, dword [esi + 0xab0]
mov ebx, dword [esi + 0xab4]
mov ecx, dword [ebp - 0x224]
mov eax, edi
sub eax, edx
sub ecx, ebx
cmp edi, edx
jne 0x4da165
cmp dword [ebp - 0x224], ebx
je 0x4da1a9
mov edx, 1
cmp dword [esi + 0xab8], edx
jne 0x4da197
cmp dword [esi + 0xac0], edx
jne 0x4da184
mov dword [esi + 0xac0], 2
cmp dword [esi + 0xac0], 6
jne 0x4da197
mov dword [esi + 0xac0], 7
mov edx, dword [ebp - 0x224]
mov dword [esi + 0xab0], edi
mov dword [esi + 0xab4], edx
mov edx, dword [esi + 0xac0]
cmp edx, 2
jne 0x4da1c0
add dword [esi + 0x904], eax
add dword [esi + 0x908], ecx
cmp edx, 7
jne 0x4da273
mov edx, dword [esi + 0x910]
cmp edx, 8
ja case.default.0x4da1d4
jmp dword [edx*4 + 0x4da29c]
add dword [esi + 0x8fc], eax
add dword [esi + 0x900], ecx
jmp case.default.0x4da1d4
add dword [esi + 0x904], eax
add dword [esi + 0x900], ecx
jmp case.default.0x4da1d4
add dword [esi + 0x8fc], eax
jmp case.default.0x4da1d4
add dword [esi + 0x8fc], eax
add dword [esi + 0x900], ecx
add dword [esi + 0x904], eax
add dword [esi + 0x908], ecx
push 0x207
lea eax, [ebp - 0x20b]
push 0
push eax
mov byte [ebp - 0x20c], 0
call fcn.005de050
mov ecx, dword [esi + 0x908]
mov edx, dword [esi + 0x904]
mov eax, dword [esi + 0x900]
push ecx
mov ecx, dword [esi + 0x8fc]
push edx
push eax
push ecx
push str.BTN_CHANGE_ING_m_rcMouseMoveRect_left:_d__top:_d__right:_d_bottom:_d_n
lea edx, [ebp - 0x20c]
push 0x208
push edx
call fcn.005de363
add esp, 0x28
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret 8
add dword [esi + 0x904], eax
jmp case.default.0x4da1d4
add dword [esi + 0x8fc], eax
jmp case.0x4da1d4.7
Function at 0x4da286
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x224], eax
lea eax, [esi + 0x8ec]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
cmp dword [esi + 0xaa4], ebx
jle 0x4da141
lea edx, [esi + 0x914]
mov dword [ebp - 0x220], edx
lea esp, [esp]
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx]
lea eax, [ebp - 0x21c]
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x224]
push eax
push edi
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4da111
add dword [ebp - 0x220], 4
inc ebx
cmp ebx, dword [esi + 0xaa4]
jl 0x4da0d0
jmp 0x4da141
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x218]
mov dword [esi + 0x8ec], edx
mov edx, dword [ebp - 0x210]
mov dword [esi + 0x8f4], eax
mov dword [esi + 0x8f0], ecx
mov dword [esi + 0x8f8], edx
mov edx, dword [esi + 0xab0]
mov ebx, dword [esi + 0xab4]
mov ecx, dword [ebp - 0x224]
mov eax, edi
sub eax, edx
sub ecx, ebx
cmp edi, edx
jne 0x4da165
cmp dword [ebp - 0x224], ebx
je 0x4da1a9
mov edx, 1
cmp dword [esi + 0xab8], edx
jne 0x4da197
cmp dword [esi + 0xac0], edx
jne 0x4da184
mov dword [esi + 0xac0], 2
cmp dword [esi + 0xac0], 6
jne 0x4da197
mov dword [esi + 0xac0], 7
mov edx, dword [ebp - 0x224]
mov dword [esi + 0xab0], edi
mov dword [esi + 0xab4], edx
mov edx, dword [esi + 0xac0]
cmp edx, 2
jne 0x4da1c0
add dword [esi + 0x904], eax
add dword [esi + 0x908], ecx
cmp edx, 7
jne 0x4da273
mov edx, dword [esi + 0x910]
cmp edx, 8
ja case.default.0x4da1d4
jmp dword [edx*4 + 0x4da29c]
add dword [esi + 0x8fc], eax
add dword [esi + 0x900], ecx
jmp case.default.0x4da1d4
add dword [esi + 0x904], eax
add dword [esi + 0x900], ecx
jmp case.default.0x4da1d4
add dword [esi + 0x8fc], eax
jmp case.default.0x4da1d4
add dword [esi + 0x8fc], eax
add dword [esi + 0x900], ecx
add dword [esi + 0x904], eax
add dword [esi + 0x908], ecx
push 0x207
lea eax, [ebp - 0x20b]
push 0
push eax
mov byte [ebp - 0x20c], 0
call fcn.005de050
mov ecx, dword [esi + 0x908]
mov edx, dword [esi + 0x904]
mov eax, dword [esi + 0x900]
push ecx
mov ecx, dword [esi + 0x8fc]
push edx
push eax
push ecx
push str.BTN_CHANGE_ING_m_rcMouseMoveRect_left:_d__top:_d__right:_d_bottom:_d_n
lea edx, [ebp - 0x20c]
push 0x208
push edx
call fcn.005de363
add esp, 0x28
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret 8
add dword [esi + 0x904], eax
jmp case.default.0x4da1d4
add dword [esi + 0x8fc], eax
jmp case.0x4da1d4.7
Function at 0x4da28e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x224], eax
lea eax, [esi + 0x8ec]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
cmp dword [esi + 0xaa4], ebx
jle 0x4da141
lea edx, [esi + 0x914]
mov dword [ebp - 0x220], edx
lea esp, [esp]
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx]
lea eax, [ebp - 0x21c]
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x224]
push eax
push edi
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4da111
add dword [ebp - 0x220], 4
inc ebx
cmp ebx, dword [esi + 0xaa4]
jl 0x4da0d0
jmp 0x4da141
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x218]
mov dword [esi + 0x8ec], edx
mov edx, dword [ebp - 0x210]
mov dword [esi + 0x8f4], eax
mov dword [esi + 0x8f0], ecx
mov dword [esi + 0x8f8], edx
mov edx, dword [esi + 0xab0]
mov ebx, dword [esi + 0xab4]
mov ecx, dword [ebp - 0x224]
mov eax, edi
sub eax, edx
sub ecx, ebx
cmp edi, edx
jne 0x4da165
cmp dword [ebp - 0x224], ebx
je 0x4da1a9
mov edx, 1
cmp dword [esi + 0xab8], edx
jne 0x4da197
cmp dword [esi + 0xac0], edx
jne 0x4da184
mov dword [esi + 0xac0], 2
cmp dword [esi + 0xac0], 6
jne 0x4da197
mov dword [esi + 0xac0], 7
mov edx, dword [ebp - 0x224]
mov dword [esi + 0xab0], edi
mov dword [esi + 0xab4], edx
mov edx, dword [esi + 0xac0]
cmp edx, 2
jne 0x4da1c0
add dword [esi + 0x904], eax
add dword [esi + 0x908], ecx
cmp edx, 7
jne 0x4da273
mov edx, dword [esi + 0x910]
cmp edx, 8
ja case.default.0x4da1d4
jmp dword [edx*4 + 0x4da29c]
add dword [esi + 0x8fc], eax
add dword [esi + 0x900], ecx
jmp case.default.0x4da1d4
add dword [esi + 0x904], eax
add dword [esi + 0x900], ecx
jmp case.default.0x4da1d4
add dword [esi + 0x8fc], eax
jmp case.default.0x4da1d4
add dword [esi + 0x8fc], eax
add dword [esi + 0x900], ecx
add dword [esi + 0x904], eax
add dword [esi + 0x908], ecx
push 0x207
lea eax, [ebp - 0x20b]
push 0
push eax
mov byte [ebp - 0x20c], 0
call fcn.005de050
mov ecx, dword [esi + 0x908]
mov edx, dword [esi + 0x904]
mov eax, dword [esi + 0x900]
push ecx
mov ecx, dword [esi + 0x8fc]
push edx
push eax
push ecx
push str.BTN_CHANGE_ING_m_rcMouseMoveRect_left:_d__top:_d__right:_d_bottom:_d_n
lea edx, [ebp - 0x20c]
push 0x208
push edx
call fcn.005de363
add esp, 0x28
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret 8
add dword [esi + 0x904], eax
jmp case.default.0x4da1d4
add dword [esi + 0x8fc], eax
jmp case.0x4da1d4.7
Function at 0x4da2c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4da2e7
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebp
ret 4
Function at 0x4e2240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 8]
mov esi, eax
and esi, 7
je 0x4e2265
cmp eax, esi
jge 0x4e225d
mov eax, edi
call fcn.004e1ac0
mov ecx, esi
shr dword [edi + 0xc], cl
sub dword [edi + 8], esi
mov esi, dword [edi + 8]
xor eax, eax
test esi, esi
jle 0x4e2292
mov ecx, dword [edi + 0xc]
push ebx
mov dl, byte [edi + 0xc]
sub esi, 8
mov byte [ebp + eax - 4], dl
shr ecx, 8
mov ebx, esi
inc eax
mov dword [edi + 0xc], ecx
test ebx, ebx
jg 0x4e2272
mov dword [edi + 8], ebx
pop ebx
cmp eax, 4
jge 0x4e22ae
mov esi, dword [edi + 4]
mov ecx, dword [edi]
cmp ecx, esi
jb 0x4e229f
xor dl, dl
jmp 0x4e22a4
mov dl, byte [ecx]
inc ecx
mov dword [edi], ecx
mov byte [ebp + eax - 4], dl
inc eax
cmp eax, 4
jl 0x4e2295
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp - 2]
movzx esi, ah
movzx eax, al
shl esi, 8
add esi, eax
shl ecx, 8
mov eax, esi
add ecx, edx
xor eax, 0xffff
cmp ecx, eax
je 0x4e22e6
mov dword [0x6c7120], str.zlib_corrupt
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
add ecx, esi
cmp ecx, dword [edi + 4]
jbe 0x4e2301
pop edi
mov dword [0x6c7120], 0x6520f8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x10]
lea edx, [eax + esi]
cmp edx, dword [edi + 0x18]
jbe 0x4e2319
push esi
call fcn.004e1bc0
add esp, 4
test eax, eax
je 0x4e22de
mov eax, dword [edi]
mov ecx, dword [edi + 0x10]
push esi
push eax
push ecx
call fcn.005dd900
add dword [edi], esi
add esp, 0xc
add dword [edi + 0x10], esi
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4e8d70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.DuiLib.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_]
push eax
push ecx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4e8d96
pop edi
pop esi
pop ebp
ret
push ebx
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push esi
test ebx, ebx
jne 0x4e8db5
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
test eax, eax
je 0x4e8dae
push eax
call fcn.004effa4
mov edi, eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add esp, 4
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push edi
call fcn.005dd900
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x4ea210
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6377fc
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x6c3afc]
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 dword [ebp - 0xa4], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xa0], eax
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], ebx
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4ea29e
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
jmp 0x4ea304
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x4ea289
push esi
mov dword [ebp - 0x9c], ebx
call fcn.004effa4
add esp, 4
push 0
mov ebx, eax
lea eax, [ebp - 0x9c]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x9c], esi
je 0x4ea2e9
push ebx
call fcn.004effaf
add esp, 4
jmp 0x4ea289
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
test ebx, ebx
jne 0x4ea395
mov ecx, dword [ebp - 0xa0]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4ea391
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x4ea34a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4ea3af
push esi
mov dword [ebp - 0x98], 0
call fcn.004effa4
add esp, 4
push 0
lea ecx, [ebp - 0x98]
push ecx
push esi
mov ebx, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x98], esi
je 0x4ea38d
push ebx
call fcn.004effaf
add esp, 4
xor eax, eax
jmp 0x4ea3af
test ebx, ebx
jne 0x4ea395
xor eax, eax
jmp 0x4ea3af
mov ecx, dword [ebp - 0xa4]
push esi
push ebx
call fcn.004e9bd0
push ebx
mov esi, eax
call fcn.004effaf
add esp, 4
mov eax, esi
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.005dd8e2
mov esp, ebp
pop ebp
ret 4
Function at 0x4f308e
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.004fb65a
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 0x4f30c7
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.004f2ccb
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 0x4f3125
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 0x4f3149
cmp dword [edi + 0x74], 0
jne 0x4f3149
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.004fb65a
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.004f30e6
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 0x4f96db
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 0x4f9722
call fcn.004fb65a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4f9722
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4f973e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004f91db
mov esi, eax
test edi, edi
je 0x4f973c
test ebx, ebx
je 0x4f973c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4fa1f8
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x63e2c2
call fcn.005e3bbc
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4fa21d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4fa26f
call fcn.004f0cb9
push eax
lea ecx, [ebp - 0x10]
call fcn.00415730
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.005e3acf
push eax
call fcn.004f0111
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.00416140
mov eax, esi
call fcn.005e3c94
ret 8