joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a4c3
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov eax, dword [edi]
cmp eax, dword [esi + 4]
je 0x43a4df
mov eax, dword [ebp + 0x10]
and dword [eax], 0
xor eax, eax
inc eax
jmp 0x43a517
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
je 0x43a4f1
mov ecx, esi
call fcn.0044715f
push 0
push dword [edi + 0xc]
push 0x419
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and byte [esi + 0x84], 0xcf
mov ecx, esi
push 1
push eax
call fcn.00420001
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x43a5c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ecx
and dword [edi], 0
mov eax, dword [esi + 0xb4]
cmp eax, 0x12
je 0x43a5f6
cmp eax, 0x79
jne 0x43a5ed
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x43a5f6
cmp dword [esi + 0xb4], 0x20
jne 0x43a668
cmp dword [ebp + 0xc], 0xf100
jne 0x43a668
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x43a625
mov ecx, esi
call fcn.0042fa3e
push 0
push 0xffffffffffffffff
push 0x448
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x43a668
mov eax, dword [esi + 0xb4]
cmp eax, 0x20
je 0x43a668
test byte [esi + 0x84], 0x40
jne 0x43a65d
mov al, byte [esi + 0x85]
test al, 2
je 0x43a654
test al, 4
jne 0x43a654
test al, 8
je 0x43a654
push 1
mov ecx, esi
call fcn.0044653b
mov ecx, esi
call fcn.0044715f
jmp 0x43a662
cmp eax, 0x20
je 0x43a668
mov dword [edi], 1
and byte [esi + 0x84], 0xbf
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x43ae5c
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x4b3563
call fcn.004955d9
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push dword [eax - 4]
call fcn.004419ef
lea ecx, [ebp - 0x14]
lea esi, [eax + 0x10]
push esi
mov dword [ebp - 0x10], esi
call fcn.0040d378
and dword [ebp - 4], 0
lea edi, [ebx + 0x11c]
add esi, 0x208
cmp dword [ebx + 0xa8], 0
push 0x37
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x10]
je 0x43aeb2
mov ecx, dword [ebx + 0xa8]
push esi
mov eax, dword [ecx]
call dword [eax]
cmp dword [ebx + 0x114], 0
mov ecx, dword [ebp + 0xc]
je 0x43af06
call fcn.00425e6c
push 0x100
lea ecx, [ebp + 0xc]
push dword [eax]
call fcn.0040e82a
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.004441fa
push esi
lea eax, [ebx + 0xb4]
mov ecx, ebx
push eax
push dword [ebx + 0x114]
call fcn.0044e46b
test eax, eax
je 0x43af2c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43af2c
call fcn.00425e6c
push 0x101
lea ecx, [ebp + 0xc]
push dword [eax]
call fcn.0040e82a
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.004441fa
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff4
cmp ecx, 0x4e501c
je 0x43af3f
call fcn.004431a4
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00443157
call fcn.004955a7
ret 8
Function at 0x43b212
Capabilities:
Get common file path

Disassembly:
push 0x638
mov eax, 0x4b3591
call fcn.0049560c
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
je 0x43b31b
push ebx
push 0xa2
lea ecx, [ebp - 0x644]
call fcn.0040cc60
mov dword [ebp - method.WTL::CProgressDialogImpl_class_WTL::CProgressDialog_.virtual_0], 0x4ba5c4
mov dword [ebp - method.WTL::IProgressBase.virtual_0], 0x4ba5d8
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 1
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x618]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push dword [eax + 0xc]
lea ecx, [esi + 0x794]
call fcn.004204b4
test eax, eax
je 0x43b30d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
test eax, eax
jle 0x43b30d
cmp eax, 2
jle 0x43b2e4
cmp eax, 4
jne 0x43b30d
push dword [edx + 0x14]
mov ecx, esi
push 0xcf
call fcn.00402139
test eax, eax
je 0x43b30d
lea ecx, [ebp - 0x618]
push ecx
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [eax + 8]
call fcn.00446251
jmp 0x43b30d
push dword [edx + 0x14]
mov ecx, esi
push 0xcc
call fcn.004021cd
test eax, eax
je 0x43b30d
lea ecx, [ebp - 0x618]
push ecx
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [eax + 8]
call fcn.004463b3
lea ecx, [ebp - 0x644]
mov byte [ebp - 4], bl
call fcn.004122cb
lea ecx, [ebp + 8]
call fcn.004545b2
call fcn.004955bb
ret 0xc

Function at 0x43b40a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
test ecx, ecx
je 0x43b417
lea edi, [ecx - 0x24]
jmp 0x43b419
xor edi, edi
cmp byte [ecx + 0x1c], 0
je 0x43b44d
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x43b43e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x43b453
cmp dword [ebp + 0xc], 0
jne 0x43b44d
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x43b469
mov ecx, dword [ebp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [edi + 0x24]
push eax
call fcn.0041deb3
xor eax, eax
pop edi
pop ebp
ret 0x10

Function at 0x43cb01
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
lea ecx, [ebp - 8]
push ebx
push ebx
push 0x80
push 4
push 7
push 0x40000000
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.0041b166
test eax, eax
jne 0x43cb46
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x43cb44
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov bl, 1
cmp dword [ebp - 8], 0
je 0x43cb55
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4421ea
Capabilities:
Capture screenshot

Disassembly:
push 0x48
mov eax, 0x4b390b
call fcn.0049560c
mov edi, ecx
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0xc], 0
jge 0x44220b
mov eax, dword [edi + 0x2dc]
dec eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 4], esi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov dword [ebp - 0x50], ebx
push 0x16
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
push esi
call dword [sym.imp.GDI32.dll_CreatePen]
mov ecx, dword [edi + 0x314]
mov esi, eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x4c], eax
push ecx
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, eax
push edi
push ebx
mov dword [ebp - 0x3c], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x34], eax
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x24]
push dword [eax + 0x310]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x54], ebx
push 1
push ebx
mov byte [ebp - 4], 7
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, eax
jg 0x44233a
mov edx, dword [ebp - 0x24]
mov esi, ecx
sub esi, dword [edx + 0x2ec]
js 0x44232c
cmp esi, dword [edx + 0x2e4]
jge 0x44232c
push dword [ebp + 8]
mov ecx, dword [edx + 0x314]
mov eax, dword [edx + 0x170]
sub esp, 0x10
imul eax, dword [edx + 0x16c]
mov edi, esp
imul ecx, esi
lea esi, [ebp - 0x20]
push ebx
movsd dword es:[edi], dword [esi]
add eax, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x40], ecx
mov ecx, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00435945
push 0xcc0020
xor eax, eax
push eax
push eax
push ebx
push dword [ebp - 0x44]
push dword [ebp - 0x4c]
push dword [ebp - 0x40]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, eax
jle 0x4422bf
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
push dword [ebp - 0x30]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x48]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x34]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
test edi, edi
je 0x442363
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x44236e
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
test ebx, ebx
je 0x442379
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [ebp - 0x2c]
call fcn.00412a37
call fcn.004955bb
ret 8
Function at 0x44293c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4b3946
call fcn.00495678
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x4429b9
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x4429b9
call fcn.00417d0b
mov esi, eax
jmp 0x442a90
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4429dc
call fcn.00417d0b
jmp 0x442a83
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x4429d2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x442a0c
mov esi, 0x8007000e
jmp 0x442a85
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004171d8
jmp 0x442a32
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x442a05
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x4429d2
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00442739
mov esi, eax
test edi, edi
je 0x442a90
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x442aa9
lea ecx, [ebp - 0x418]
call fcn.00424c37
mov eax, esi
call fcn.004955ca
ret 0x10
Function at 0x4456b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x10c
mov eax, 0x4b3b7b
call fcn.0049560c
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp edi, dword [esi + 0x14]
jne 0x4456e2
call ebx
sub eax, dword [esi + 0x14c]
cmp eax, 0x1f4
jbe 0x445765
call ebx
push edi
push ecx
mov dword [esi + 0x14c], eax
mov eax, esp
push 0x80
mov dword [eax], 0x88
lea eax, [ebp - 0x110]
push eax
call fcn.0045e518
xor ebx, ebx
add esp, 0x10
cmp dword [esi + 0x144], ebx
je 0x44574c
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x114]
call fcn.0040d378
mov eax, dword [esi + 0x140]
lea ecx, [ebp - 0x114]
push ecx
mov dword [ebp - 4], ebx
mov ecx, dword [eax + 0x58]
call dword [eax + 0x5c]
mov ecx, dword [ebp - 0x114]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00443157
cmp dword [esi + 0x148], ebx
je 0x445765
mov ecx, dword [esi + 0x148]
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ecx]
call dword [eax]
push edi
mov ecx, esi
call fcn.00445676
call fcn.004955bb
ret 4

Function at 0x4459ff
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x445a1b
cmp esi, 1
je 0x445a1b
cmp esi, 0xffffffff
je 0x445a54
xor al, al
jmp 0x445a79
cmp esi, 0xffffffff
je 0x445a54
push dword [edi + esi*4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x445a38
push 5
push dword [edi + esi*4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
test esi, esi
push 0
sete al
push dword [edi + eax*4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 0x1c], esi
je 0x445a6d
mov dword [edi + 0x1c], esi
jmp 0x445a6d
cmp dword [edi + 0x40], 0xffffffff
je 0x445a6d
xor ecx, ecx
cmp dword [edi + 0x40], ecx
push 5
sete cl
push dword [edi + ecx*4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
mov dword [edi + 0x40], esi
call fcn.0044c336
mov al, 1
pop edi
pop esi
pop ebp
ret 4

Function at 0x446864
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 4], ebx
jne 0x4468ae
lea eax, [ebp - 4]
push eax
push 4
push esi
push 0x4533e2
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x4468ae
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebp - 4]
push edi
mov dword [esi + 0x14], ebx
mov dword [esi + 8], ecx
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
jmp 0x4468b0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446b10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4e6e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00491bcb
push eax
call fcn.004176f5
add esp, 0x10
lea eax, [ebp - 0x20c]
push 5
push 0
push 0
push eax
push str.Runas
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.00495535
mov esp, ebp
pop ebp
ret 4

Function at 0x4483d5
Capabilities:
Get geographical location

Disassembly:
push 4
mov eax, 0x4b3e28
call fcn.004955d9
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
call fcn.00425f07
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.0040d0a6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
mov edi, dword [eax]
test edi, edi
je 0x44842f
mov ebx, 0x200
mov ecx, esi
push ebx
call fcn.0043d403
push ebx
push eax
push 2
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004431bf
jmp 0x44844a
push ebx
mov edi, 0xd6
push edi
call fcn.00417950
pop ecx
pop ecx
test eax, eax
je 0x44844a
push edi
push eax
mov ecx, esi
call fcn.00432019
mov eax, esi
call fcn.004955a7
ret 0xc
Function at 0x44e46b
Capabilities:
Read file on windows
Terminate process

Disassembly:
push 0x1f8
mov eax, 0x4b41e5
call fcn.0049560c
mov dword [ebp - 0x1f0], ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test ebx, ebx
je 0x44e654
xor esi, esi
mov dword [ebp - 0x1ec], esi
mov dword [ebp - 0x1e8], esi
push esi
push esi
push 0x80
push 3
push 1
push closesocket
push eax
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 4], esi
call fcn.0041b166
test eax, eax
jne 0x44e643
push 0x104
lea eax, [ebp - 0x114]
mov ecx, edi
push eax
call fcn.0042e925
push 8
xor eax, eax
mov dword [ebp - 0x138], esi
pop ecx
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1f8]
push eax
call fcn.004954e4
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00494fab
mov eax, dword [ebp - 0x148]
push 0xffffffffffffffff
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x14c]
push 8
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x150]
push esi
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x154]
push esi
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x158]
push esi
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x15c]
push esi
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x138]
push esi
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
call fcn.00485f97
mov edi, dword [ebp - 0x1ec]
add esp, 0x34
test eax, eax
jne 0x44e636
push 0x10000
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], esi
call fcn.004170be
mov byte [ebp - 4], 1
push esi
lea eax, [ebp - 0x1e4]
push eax
push 0x10000
push dword [ebp - 0x1e0]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44e5c0
call fcn.00417d0b
jmp 0x44e5c2
mov eax, esi
test eax, eax
jne 0x44e5e5
cmp dword [ebp - 0x1e4], eax
jbe 0x44e5e5
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e0]
push ebx
call fcn.004864d5
add esp, 0xc
jmp 0x44e59b
push ebx
call fcn.00485961
pop ecx
mov ecx, dword [ebp - 0x1f0]
lea eax, [ecx + 0x11c]
add ecx, 0xb4
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00416618
lea ecx, [ebp - 0x204]
call fcn.0045453d
lea eax, [ebp - 0x1dc]
cmp dword [ebp - 0x1e0], eax
je 0x44e636
lea ecx, [ebp - 0x1e0]
call fcn.00424c37
test edi, edi
je 0x44e654
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44e649
mov esi, dword [ebp - 0x1ec]
test esi, esi
je 0x44e654
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
call fcn.004955bb
ret 0xc
Function at 0x44f4c9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
mov esi, ecx
cmp dword [ebp + 0xc], edi
jbe 0x44f56e
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [esi + 0x104]
inc edx
and edx, 0x800000ff
jns 0x44f4f6
dec edx
or edx, 0xffffff00
inc edx
mov dword [esi + 0x104], edx
movzx eax, byte [esi + edx + 4]
add eax, dword [esi + 0x108]
and eax, 0x800000ff
jns 0x44f515
dec eax
or eax, 0xffffff00
inc eax
mov dword [esi + 0x108], eax
mov al, byte [eax + esi + 4]
mov cl, byte [esi + edx + 4]
mov byte [esi + edx + 4], al
mov eax, dword [esi + 0x108]
mov byte [eax + esi + 4], cl
mov eax, dword [esi + 0x108]
movzx ecx, byte [eax + esi + 4]
mov eax, dword [esi + 0x104]
movzx eax, byte [eax + esi + 4]
add ecx, eax
and ecx, 0x800000ff
jns 0x44f559
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, cl
mov al, byte [eax + esi + 4]
xor byte [edi + ebx], al
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x44f4df
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x44fca8
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x4ae6a4
call fcn.0049560c
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x44fd9f
cmp byte [ebx + 0x45], 0
je 0x44fd9f
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x44fcdd
xor al, al
jmp 0x44fda1
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00453d39
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x44fd37
dec eax
je 0x44fd3b
dec eax
dec eax
je 0x44fd8d
xor bl, bl
jmp 0x44fd8f
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x44fd73
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004949dd
add esp, 0x10
cmp esi, eax
jne 0x44fd33
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x45], 0
je 0x44fd8d
test esi, esi
jne 0x44fd01
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00453992
jmp 0x44fcfb
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00453408
mov al, bl
jmp 0x44fda1
mov al, 1
call fcn.004955bb
ret

Function at 0x44fda7
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x4ae6a4
call fcn.0049560c
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x44fea5
cmp byte [ebx + 0x46], 0
je 0x44fea5
mov eax, dword [ebx]
mov esi, 0xffff
push esi
call dword [eax + 0xc]
movzx eax, ax
cmp si, ax
jne 0x44fde3
xor al, al
jmp 0x44fea7
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00453d39
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x44fe3d
dec eax
je 0x44fe41
dec eax
dec eax
je 0x44fe93
xor bl, bl
jmp 0x44fe95
mov byte [ebx + 0x46], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x44fe79
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004949dd
add esp, 0x10
cmp esi, eax
jne 0x44fe39
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x46], 0
je 0x44fe93
test esi, esi
jne 0x44fe07
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00453992
jmp 0x44fe01
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00453408
mov al, bl
jmp 0x44fea7
mov al, 1
call fcn.004955bb
ret
Function at 0x4527ea
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x4b4375
call fcn.004955d9
mov edi, ecx
mov esi, dword [0x4ef8b4]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x452818
xor eax, eax
jmp 0x45296f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x452811
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x452811
lea eax, [esi + 8]
mov ecx, edi
mov dword [ebp - 0x14], eax
movzx eax, word [esi + 6]
mov dword [ebp - 0x10], eax
movzx eax, word [esi + 4]
push eax
movzx eax, word [esi + 2]
push eax
call fcn.00444f54
xor ebx, ebx
cmp dword [edi + 0x48], ebx
jne 0x452887
push dword [ebp + 8]
call fcn.00417994
cmp ax, 0x20
pop ecx
sete al
mov ecx, edi
shl al, 5
xor al, byte [edi + 0x85]
and al, 0x20
xor byte [edi + 0x85], al
movzx eax, word [esi + 6]
push eax
call fcn.0041bbe2
test al, al
je 0x452811
push dword [edi + 0x48]
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov dword [ebp - 0x18], eax
cmp byte [ebp + 0xc], 0
mov dword [ebp - 4], ebx
je 0x4528be
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
movzx eax, ax
push eax
movsx ecx, cx
push ecx
push dword [0x4ef8b4]
call dword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
jmp 0x4528ef
test byte [edi + 0x85], 0x20
je 0x4528e0
push 0x2040
push ebx
push ebx
push ebx
push dword [ebp + 8]
push dword [0x4ef8b4]
call dword [sym.imp.USER32.dll_LoadImageW]
jmp 0x4528ef
push dword [ebp + 8]
push dword [0x4ef8b4]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov esi, eax
mov dword [ebp + 0xc], esi
test esi, esi
je 0x45296d
push dword [edi + 0xac]
push esi
push dword [edi + 0x48]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
je 0x452962
mov eax, dword [ebp - 0x10]
test eax, eax
jle 0x452934
mov esi, dword [ebp - 0x14]
cmp word [esi], bx
je 0x452928
push esi
lea ecx, [edi + 0x4c]
call fcn.00415f88
mov eax, dword [ebp - 0x10]
add esi, 2
dec eax
mov dword [ebp - 0x10], eax
jne 0x452917
mov esi, dword [ebp + 0xc]
push dword [edi + 0x48]
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov dword [ebp + 0x18], eax
cmp eax, dword [edi + 0x50]
jne 0x452962
call fcn.00431a27
test al, al
je 0x45295f
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x18]
sub eax, ecx
push eax
push ecx
mov ecx, edi
call fcn.0044ed53
xor ebx, ebx
inc ebx
test esi, esi
je 0x45296d
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, ebx
call fcn.004955a7
ret 0x14