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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ce96
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x48de14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf0], ecx
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ecx + 0x37c]
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 0x37c]
mov edx, dword [edx]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.004394d5
movzx ecx, al
test ecx, ecx
je 0x4043f7
push 0x473d98
mov ecx, dword [ebp - 0xf0]
call fcn.00403d50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00439431
jmp 0x4045ec
lea ecx, [ebp - 0x94]
call fcn.00439451
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xe4], esp
push eax
call fcn.00401440
mov dword [ebp - 0xf4], eax
lea edx, [ebp - 0x2c]
push edx
call fcn.00401090
add esp, 0x20
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xfc]
push ecx
mov ecx, dword [ebp - 0xf0]
add ecx, 0x3b4
call fcn.004047f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401550
mov edx, dword [ebp - 0xf0]
add edx, 0x3b4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xe8], esp
push edx
call fcn.00401340
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0xf0]
call fcn.00403dc0
mov byte [ebp - 0x101], al
movzx eax, byte [ebp - 0x101]
test eax, eax
jne 0x4044c5
push 0x473da8
mov ecx, dword [ebp - 0xf0]
call fcn.00403d50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00439431
jmp 0x4045ec
lea ecx, [ebp - 0xdc]
push ecx
mov edx, dword [ebp - 0xf0]
mov eax, dword [edx + 0x380]
mov ecx, dword [ebp - 0xf0]
mov ecx, dword [ecx + 0x380]
mov edx, dword [eax]
mov eax, dword [edx + 0x28]
call eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xdc]
call fcn.004394d5
movzx ecx, al
test ecx, ecx
je 0x404537
push 0x473dbc
mov ecx, dword [ebp - 0xf0]
call fcn.00403d50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.00439431
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00439431
jmp 0x4045ec
lea ecx, [ebp - 0xdc]
call fcn.00439451
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xec], esp
push eax
call fcn.00401440
mov dword [ebp - 0x108], eax
lea edx, [ebp - 0x48]
push edx
call fcn.00401090
add esp, 0x20
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0xf0]
add ecx, 0x3d0
call fcn.004047f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00401550
mov dword [ebp - 0x4c], 0
lea edx, [ebp - 0x4c]
push edx
push 0
mov eax, dword [ebp - 0xf0]
push eax
push 0x404610
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.00439431
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00439431
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bbe4
mov esp, ebp
pop ebp
ret
Function at 0x411fb0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d92e
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x48de14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], 0
mov eax, dword [0x48e140]
and eax, 1
jne 0x412023
mov ecx, dword [0x48e140]
or ecx, 1
mov dword [0x48e140], ecx
mov dword [ebp - 4], 0
mov ecx, 0x48e124
call fcn.004013d0
push 0x472e30
call fcn.0046bce0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x48e124
call fcn.004115a0
movzx edx, al
test edx, edx
je 0x4120c5
mov byte [ebp - 0x11c], 0
push 0x103
push 0
lea eax, [ebp - 0x11b]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push 0x1c
lea ecx, [ebp - 0x11c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edx, [ebp - 0x11c]
push edx
mov ecx, 0x48e124
call fcn.004015b0
push str.EncryptShield
mov ecx, 0x48e124
call fcn.00412540
push 0
mov ecx, 0x48e124
call fcn.004016d0
push eax
call dword [sym.imp.MSVCR100.dll__access]
add esp, 8
test eax, eax
je 0x4120b6
mov ecx, 0x48e124
call fcn.004016d0
push eax
call dword [sym.imp.MSVCR100.dll__mkdir]
add esp, 4
push str.AppSet.ini
mov ecx, 0x48e124
call fcn.00412540
push 0x48e124
mov ecx, dword [ebp + 8]
call fcn.00401340
mov eax, dword [ebp - 0x120]
or eax, 1
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bbe4
mov esp, ebp
pop ebp
ret

Function at 0x412100
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d997
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x48de14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], 0
mov dword [ebp - 4], 3
mov byte [ebp - 0x11c], 0
push 0x103
push 0
lea eax, [ebp - 0x11b]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.004016d0
push eax
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
push 0x47465a
lea ecx, [ebp + 0x44]
call fcn.004016d0
push eax
lea ecx, [ebp + 0x28]
call fcn.004016d0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401440
mov eax, dword [ebp - 0x120]
or eax, 1
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00401550
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x28]
call fcn.00401550
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x44]
call fcn.00401550
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bbe4
mov esp, ebp
pop ebp
ret
Function at 0x412290
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa014
call fcn.0046bd50
mov eax, dword [0x48de14]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xa00c], eax
mov ecx, dword [ebp - 0xa00c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0xa008]
push eax
call dword [sym.imp.MSVCR100.dll_vsprintf]
add esp, 0xc
lea ecx, [ebp - 0xa008]
push ecx
call sub.MSVCR100.dll_strlen
add esp, 4
add eax, 0x64
mov dword [ebp - 0xa010], eax
mov edx, dword [ebp - 0xa010]
push edx
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [ebp - 0xa014], eax
cmp dword [ebp - 0xa014], 0
jne 0x412304
jmp 0x412364
mov eax, dword [ebp - 0xa010]
push eax
push 0
mov ecx, dword [ebp - 0xa014]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0xa008]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x4748ac
mov edx, dword [ebp - 0xa010]
push edx
mov eax, dword [ebp - 0xa014]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x18
mov ecx, dword [ebp - 0xa014]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0xa014]
push edx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046bbe4
mov esp, ebp
pop ebp
ret

Function at 0x412380
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa414
call fcn.0046bd50
mov eax, dword [0x48de14]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xa40c], eax
mov ecx, dword [ebp - 0xa40c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0xa408]
push eax
call dword [sym.imp.MSVCR100.dll_vsprintf]
add esp, 0xc
lea ecx, [ebp - 0xa408]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x64
mov dword [ebp - 0xa414], eax
mov edx, dword [ebp - 0xa414]
push edx
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [ebp - 0xa410], eax
cmp dword [ebp - 0xa410], 0
jne 0x4123f2
jmp 0x412461
mov eax, dword [ebp - 0xa414]
push eax
push 0
mov ecx, dword [ebp - 0xa410]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x408]
push eax
call sub.MSVCR100.dll_strcpy
add esp, 8
lea ecx, [ebp - 0xa408]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x408]
push eax
push 0x4748c0
mov ecx, dword [ebp - 0xa410]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov edx, dword [ebp - 0xa410]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0xa410]
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046bbe4
mov esp, ebp
pop ebp
ret
Function at 0x412470
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x412504
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x14]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0046bdc0
mov ecx, dword [ebp - 0x18]
xor esi, esi
add eax, ecx
adc edx, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x412920
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jbe 0x412936
mov esp, ebp
pop ebp
ret
Function at 0x41be70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ec38
mov eax, dword fs:[0]
push eax
mov eax, 0xcdec
call fcn.0046bd50
mov eax, dword [0x48de14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xcdf8], ecx
mov ecx, dword [ebp + 8]
call fcn.0042add0
push 0
push 0
lea eax, [ebp - 0xcc94]
push eax
mov ecx, dword [ebp - 0xcdf8]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x58
push 0
lea eax, [ebp - 0xccec]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0xccec], 0x58
mov ecx, dword [0x48e0b4]
call fcn.0043a09b
mov dword [ebp - 0xcce8], eax
lea ecx, [ebp - 0xcb8c]
mov dword [ebp - 0xccd0], ecx
mov edx, dword [ebp - 0xccd0]
mov byte [edx], 0
mov dword [ebp - 0xcccc], 0x6590
mov dword [ebp - 0xcce0], str.All_file_._
mov dword [ebp - 0xccd4], 1
mov dword [ebp - 0xccc8], 0x474972
mov dword [ebp - 0xccc4], 0
lea eax, [ebp - 0xcc94]
mov dword [ebp - 0xccc0], eax
mov dword [ebp - 0xccb8], 0x81a00
lea ecx, [ebp - 0xccec]
push ecx
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
jne 0x41bf6b
xor eax, eax
jmp 0x41c0a1
movzx edx, word [ebp - 0xccb4]
push edx
lea eax, [ebp - 0xcb8c]
push eax
lea ecx, [ebp - 0xcdf4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
movzx edx, word [ebp - 0xccb4]
mov byte [ebp + edx - 0xcdf4], 0
lea eax, [ebp - 0xcdf4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x65f8], eax
mov ecx, dword [ebp - 0x65f8]
movsx edx, byte [ebp + ecx - 0xcdf5]
cmp edx, 0x5c
je 0x41bfce
push 0x4761c0
lea eax, [ebp - 0xcdf4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
movzx ecx, word [ebp - 0xccb4]
lea edx, [ebp + ecx - 0xcb8c]
mov dword [ebp - 0x60], edx
push 0x6590
push 0
lea eax, [ebp - 0x65f4]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x60]
movsx edx, byte [ecx]
test edx, edx
je 0x41c09c
push 0x6590
push 0
lea eax, [ebp - 0x65f4]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xcdf4]
push ecx
lea edx, [ebp - 0x65f4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 0x60]
push eax
lea ecx, [ebp - 0x65f4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4761c4
lea edx, [ebp - 0x65f4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0xffffffffffffffff
lea eax, [ebp - 0x65f4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00439acc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042ac60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00439431
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x60]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x60], edx
jmp 0x41bff5
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bbe4
mov esp, ebp
pop ebp
ret 4
Function at 0x43b7ac
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jns 0x43b7c2
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x43b7ce
or edi, 1
push 1
call esi
test ax, ax
jns 0x43b7da
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x43b7e6
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x43b7f2
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x43d9df
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x43da07
cmp ebx, dword [esi + 0x128]
je 0x43da07
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x128]
cmp ebx, eax
je 0x43dade
push edi
test eax, eax
je 0x43da66
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x128]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x124]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x128]
mov ecx, esi
call fcn.0043d439
mov dword [esi + 0x128], edi
test ebx, ebx
je 0x43dadd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x43dadd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xdc]
test al, al
je 0x43dadd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe8]
test al, al
je 0x43dadd
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x128], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x128]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x124]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x128]
mov ecx, esi
call fcn.0043d439
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43dd0a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x1a4]
call fcn.004498c6
mov ebx, dword [ebp + 0xc]
test eax, eax
jle 0x43dd67
push dword [ebp - 4]
lea ecx, [esi + 0x1a4]
mov byte [ebp + 0xf], 0
call fcn.00439400
mov edx, dword [eax]
lea ecx, [ebp + 0xf]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push ebx
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp + 0xf], 0
jne 0x43ddbc
inc dword [ebp - 4]
lea ecx, [esi + 0x1a4]
call fcn.004498c6
cmp dword [ebp - 4], eax
jl 0x43dd2b
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x43de1c
sub eax, 4
je 0x43ddc0
dec eax
dec eax
jne 0x43de13
mov ecx, dword [esi + 0x124]
push 0x8000000a
lea edx, [ebp + 8]
lea edi, [ebp + 9]
stosb byte es:[edi], al
push edx
mov byte [ebp + 8], bl
mov eax, dword [ecx]
push 0x43c9ef
call dword [eax + pe_nt_image_headers32]
mov esi, eax
test esi, esi
je 0x43de13
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x104]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x43de15
cmp dword [esi + 0x128], 0
je 0x43de13
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x138]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x13c]
mov dword [ebp - 0x24], 6
mov byte [ebp - 0x10], bl
mov dword [ebp - 0x14], eax
call fcn.0043b7ac
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x128]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x124]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp ebx, 9
jne 0x43de13
cmp dword [esi + 0x128], 0
je 0x43de79
mov ecx, dword [esi + 0x128]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x43de79
mov ecx, dword [esi + 0x128]
mov eax, dword [ecx]
call dword [eax + 0xe8]
test al, al
je 0x43de79
mov ecx, dword [esi + 0x128]
mov eax, dword [ecx]
call dword [eax + 0xc]
push str.RichEditUI
push eax
call sub.MSVCR100.dll__mbsstr
pop ecx
pop ecx
test eax, eax
je 0x43de79
mov ecx, dword [esi + 0x128]
call fcn.00456711
test al, al
jne 0x43de13
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call fcn.0043dba4
jmp 0x43ddbc
Function at 0x445820
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x9c
mov eax, 0x4715c2
call fcn.0046c277
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov ecx, eax
shr ecx, 0x10
test cx, cx
je 0x445981
cmp byte [eax], 0x3c
mov ecx, esi
jne 0x445873
push eax
call fcn.004471a5
test al, al
jne 0x445a12
xor eax, eax
jmp 0x445a28
xor ebx, ebx
push ebx
push eax
call fcn.004473ae
test al, al
je 0x44586c
lea eax, [esi + 0xa8]
push eax
lea ecx, [ebp - 0x54]
call fcn.00439aec
push ebx
push str._ListContainerTemplate_
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], ebx
call fcn.004397b4
mov edi, eax
cmp edi, 0xffffffff
je 0x445970
lea ecx, [ebp - 0x54]
call fcn.00439442
push 0xffffffffffffffe9
pop ecx
sub ecx, edi
add eax, ecx
push eax
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x54]
call fcn.00439c2f
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00439704
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], bl
call fcn.00439431
push ebx
push str.__ListContainerTemplate_
lea ecx, [ebp - 0x54]
call fcn.004397b4
cmp eax, 0xffffffff
je 0x445970
push eax
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x54]
call fcn.00439b96
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00439704
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], bl
call fcn.00439431
push ebx
push 0x47a028
lea ecx, [ebp - 0x54]
call fcn.004397b4
mov edi, eax
cmp edi, 0xffffffff
je 0x445970
lea ecx, [ebp - 0x54]
call fcn.00439442
sub eax, edi
push eax
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x54]
call fcn.00439c2f
push eax
lea ecx, [esi + 0xf4]
mov byte [ebp - 4], 3
call fcn.00439704
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], bl
call fcn.00439431
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00439431
jmp 0x445a12
push edi
push eax
call fcn.0043b95d
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
xor ebx, ebx
mov dword [ebp - 0x9c], eax
cmp eax, ebx
je 0x44586c
push eax
call fcn.0043b95d
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xa4], eax
cmp eax, ebx
jne 0x4459c7
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x44586c
mov eax, dword [ebp + 0x10]
push ebx
push dword [ebp - 0x9c]
mov dword [esi + 0xec], eax
call fcn.0043b95d
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, esi
call fcn.004471ef
test al, al
je 0x44586c
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [esi + 0xf0], edi
push dword [ebp - 0xa0]
mov ecx, esi
push dword [ebp - 0xa8]
push dword [ebp + 0x10]
call fcn.00444bbb
call fcn.0046c2c1
ret 0x14
Function at 0x4473ae
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x180
mov eax, 0x4717d2
call fcn.0046c277
mov edi, dword [ebp + 8]
mov ebx, ecx
call fcn.004469d2
call fcn.0043b96c
push eax
lea ecx, [ebp - 0x54]
call fcn.00439aec
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0043b972
mov ecx, eax
call fcn.004394d5
test al, al
je 0x4474ea
push edi
lea ecx, [ebp - 0x54]
call fcn.00439536
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp - 0x54]
call fcn.00439451
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18c], eax
push esi
cmp eax, 0xffffffff
jne 0x447446
push str.Error_opening_file
mov ecx, ebx
call fcn.00446b91
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00439431
mov al, bl
call fcn.0046c2c1
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x44745b
push esi
push str.File_is_empty
jmp 0x447427
cmp edi, 0x400000
jbe 0x44746b
push esi
push str.File_too_large
jmp 0x447427
push edi
mov dword [ebp - 0x188], esi
call fcn.0043903a
pop ecx
push esi
lea ecx, [ebp - 0x188]
push ecx
push edi
push eax
push dword [ebp - 0x18c]
mov dword [ebp - 0x184], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x18c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x188], edi
je 0x4474c6
push dword [ebp - 0x184]
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
mov ecx, ebx
call fcn.004469d2
push esi
push str.Could_not_read_file
jmp 0x447427
push dword [ebp + 0xc]
mov ecx, ebx
push edi
push dword [ebp - 0x184]
call fcn.004471ef
push dword [ebp - 0x184]
mov bl, al
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
jmp 0x447430
call fcn.0043b972
push eax
lea ecx, [ebp - 0x54]
call fcn.00439519
call fcn.0043b978
test al, al
je 0x447508
call fcn.0043b97e
jmp 0x44751c
push 2
push esi
lea ecx, [ebp - 0x54]
call fcn.00439451
push eax
call fcn.00455c38
add esp, 0xc
mov dword [ebp - 0x184], eax
cmp eax, esi
jne 0x447531
push esi
push str.Error_opening_zip_file
jmp 0x447427
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x18c]
push eax
push 1
push edi
push dword [ebp - 0x184]
call fcn.00454420
add esp, 0x14
test eax, eax
je 0x44755f
push esi
push str.Could_not_find_ziped_file
jmp 0x447427
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x188], eax
cmp eax, esi
je 0x447453
cmp eax, 0x400000
ja 0x447463
push eax
call fcn.0043903a
push 3
push dword [ebp - 0x188]
mov edi, eax
push edi
push dword [ebp - 0x18c]
push dword [ebp - 0x184]
call fcn.00455c96
add esp, 0x18
cmp eax, esi
je 0x4475d2
cmp eax, 0x600
je 0x4475d2
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
call fcn.0043b978
test al, al
jne 0x4475c7
push dword [ebp - 0x184]
call fcn.00455cce
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x447427
call fcn.0043b978
test al, al
jne 0x4475e7
push dword [ebp - 0x184]
call fcn.00455cce
pop ecx
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp - 0x188]
push edi
call fcn.004471ef
push edi
jmp 0x4474dd