joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fbfc
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43fc18
cmp dword [esi + 4], 0
je 0x43fc45
test byte [ebx + 0x55], 1
jne 0x43fc37
mov eax, ebx
call fcn.0043e79c
test eax, eax
jne 0x43fc37
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43fd55
mov edx, esi
mov eax, ebx
call fcn.0043f720
jmp 0x43fd55
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43fd4e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00441aa4
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043c438
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043fbfc
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00441aa4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fd55
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44635c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x467788]
cmp byte [eax + 0xc], 0
je 0x4464c9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4464c2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x468ce8], 0
jne 0x4463b0
push 0x4464d0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4464d8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468ce8], eax
cmp dword [0x466fc4], 0
jne 0x4464ab
push 0x4464e8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x466fc4], eax
cmp dword [0x466fc4], 0
je 0x4464ab
push 0x4464f4
mov eax, dword [0x466fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468cec], eax
push 0x446504
mov eax, dword [0x466fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468cf0], eax
push 0x446518
mov eax, dword [0x466fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468cf4], eax
push 0x446530
mov eax, dword [0x466fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468cf8], eax
push 0x446548
mov eax, dword [0x466fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468cfc], eax
push 0x44655c
mov eax, dword [0x466fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468d00], eax
push 0x446574
mov eax, dword [0x466fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468d04], eax
push 0x44658c
mov eax, dword [0x466fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468d08], eax
push 0x4465a8
mov eax, dword [0x466fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468d0c], eax
push 0x4465b4
mov eax, dword [0x466fc4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468d10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4464c9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44a354
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404590
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44a3a3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404800
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x451bf4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x451c44]
test si, 4
je 0x451c08
or bl, 1
test si, 8
je 0x451c12
or bl, 4
test si, 1
je 0x451c1c
or bl, 8
test si, 2
je 0x451c26
or bl, 0x10
test si, 0x10
je 0x451c30
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451c3f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x451c48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x451c80]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451c61
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451c70
or bl, 4
test esi, 0x20000000
je 0x451c7b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458344
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458356
add esp, 0xfffffff0
call fcn.00403ab8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004219f8
mov eax, dword [0x467410]
mov dword [eax + 4], ebx
mov dword [eax], 0x4586e8
mov eax, dword [0x46741c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4586f4
mov eax, ebx
call fcn.00458700
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419748]
call fcn.00403750
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419748]
call fcn.00403750
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419748]
call fcn.00403750
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419748]
call fcn.00403750
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419748]
call fcn.00403750
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x454b18
push eax
push 0
push 0
mov eax, dword [0x467578]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423464]
call fcn.00424c9c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x423464]
call fcn.00424c9c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x423464]
call fcn.00424c9c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00458b50
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458a18
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458a18
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458a18
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458493
call fcn.00403b10
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4587fc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4589a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x458988
mov dl, 1
mov eax, dword [0x419b64]
call fcn.00403750
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404590
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x458977
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004466bc
test al, al
je 0x45896a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4589b8
lea eax, [ebp - 0x254]
call fcn.004094dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45896a
xor eax, eax
push ebp
push 0x458963
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4589f0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45894c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404800
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45894c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404800
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45896a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45886d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d69c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4589ae
lea eax, [ebp - 0x260]
call fcn.00404590
ret

Function at 0x4592f0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x468d34]
cmp byte [eax + 0xa5], 0
jne 0x459361
cmp dword [0x468d4c], 0
jne 0x459322
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4592ac
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x468d4c], eax
cmp dword [0x468d48], 0
jne 0x45933d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x468d48], eax
cmp dword [0x468d50], 0
jne 0x459361
push esp
push 0
push 0
push 0x459250
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x468d50], eax
pop edx
ret
Function at 0x4599f4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x468d34]
cmp dword [eax + 0x30], 0
je 0x459a9e
cmp dword [ebx + 0x94], 0
jne 0x459a98
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459984
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459a98
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x459a5e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459a98
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041bb0c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x459a6d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a5fc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45a631
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404680
jmp 0x45a63e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b750
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b791
mov eax, esi
call fcn.00441d7c
test al, al
je 0x45b791
mov eax, dword [ebx + 0x84]
call fcn.00441aa4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b791
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441aa4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45c7e4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x40e4a8]
call fcn.00404f2c
xor eax, eax
push ebp
push 0x45c928
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x467204], 0
jne 0x45c837
mov ecx, dword [0x46734c]
mov dl, 1
mov eax, dword [0x40781c]
call fcn.0040bf40
call fcn.00403f20
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403190
mov eax, ebx
call fcn.00404df8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45c938
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405f6c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e08
test eax, eax
jle 0x45c8cf
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45c8c8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404818
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404800
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408694
test eax, eax
jne 0x45c8c8
mov ebx, 0x15
jmp 0x45c8d4
mov ebx, 0x10
jmp 0x45c8d4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x467204]
call fcn.0045c73c
mov eax, dword [ebp - 8]
call fcn.0045c73c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405f84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c92f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045b4
lea eax, [ebp - 0x10]
mov edx, dword [0x40e4a8]
call fcn.00404ffc
ret
Function at 0x4033ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x4033fb
pop dword [ebp - 0x18]
mov eax, 0x385ff8b6
add eax, 0xc7e03b45
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x9cd8a0bc
sub dword [ebp - 0x28], 0x4e865b71
mov dword [ebp - 0x24], 0x1a63718d
add dword [ebp - 0x24], 0x17cfdab8
mov dword [ebp - 0x20], 0x6f1731a9
add dword [ebp - 0x20], 0xdd351285
mov dword [ebp - 0x1c], 0xc9a6b8fa
add dword [ebp - 0x1c], 0x36594706
lea eax, [ebp - 0x28]
push eax
mov eax, 0xa9550665
sub eax, 0xa90f5601
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xbb6270fa
sub dword [ebp - 0x28], 0x46f007a4
mov dword [ebp - 0x24], 0x570e9ff4
add dword [ebp - 0x24], 0xea5dc181
mov dword [ebp - 0x20], 0x31841a19
sub dword [ebp - 0x20], 0xce14adad
mov dword [ebp - 0x1c], 0x7adaeb09
sub dword [ebp - 0x1c], 0x7adaeb09
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x4b907
push 0
call eax
mov ecx, 0x6264e583
add ecx, 0x9d9b5ae7
xor edx, edx
add edx, eax
mov ebx, 0x476000
add ebx, dword [ebp - 0x18]
mov edi, 0xbf32aa87
sub edi, 0xb5e8156f
xor dword [ebp - 4], eax
mov esi, dword [ebx]
mov dword [ebp - 4], 0x59f9ef93
sub esi, edi
add dword [ebp - 0x14], edx
mov dword [edx], esi
sub dword [ebp - 0x10], 0x6311b333
add edx, 4
add ebx, 0x657de2e2
sub ebx, 0x657de2de
loop 0x403514
add eax, 0x8b757360
sub eax, 0x8b747ee5
xor ebx, ebx
add ebx, eax
add eax, 0x8092966
sub eax, 0x8092961
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x403e59
pop dword [ebp - 0x44]
mov eax, 0xb910183c
add eax, 0x4730261d
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x5264076d
add dword [ebp - 0x54], 0xfbee3dde
mov dword [ebp - 0x50], 0x9f6fd788
add dword [ebp - 0x50], 0x92c374bd
mov dword [ebp - 0x4c], 0x86407319
sub dword [ebp - 0x4c], 0x39f42eeb
mov dword [ebp - 0x48], 0x3fd0898d
sub dword [ebp - 0x48], 0x3fd0898d
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x95b36f75
add dword [ebp - 0x54], 0xdebef9e1
mov dword [ebp - 0x50], 0xd33fd28a
add dword [ebp - 0x50], 0x6e2c8eeb
mov dword [ebp - 0x4c], 0xe2cbb4bf
sub dword [ebp - 0x4c], 0x7f5c4853
mov dword [ebp - 0x48], 0x38637506
add dword [ebp - 0x48], 0xc79c8afa
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x6185b95e
add eax, 0x9ebac776
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x33049
push 0
call eax
mov ecx, 0xb13ec7e8
add ecx, 0x4ec1712d
xor esi, esi
add esi, eax
mov edi, 0x896d0fc5
sub edi, 0x892bffc5
add edi, dword [ebp - 0x44]
mov ebx, 0xc6a4454e
add ebx, 0xf12e2b97
sub dword [ebp - 0x30], 0xeda027ab
mov edx, dword [edi]
sub dword [ebp - 0x20], esi
xor edx, ebx
xor dword [ebp - 0x10], ebx
mov dword [esi], edx
add dword [ebp - 0x34], 0x80e6c8aa
add esi, 4
add edi, 0xe2e9348
sub edi, 0xe2e9344
loop 0x403f78
add eax, 0xb86592e9
sub eax, 0xb864bbc2
mov ebx, eax
add eax, 0x95ececb3
sub eax, 0x95ececae
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x66add0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x406f36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x4056d8
mov edx, dword [ebp + 0xc]
xor eax, eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
mov edx, eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x54]
mov edi, 0x8008
push eax
push ecx
mov dword [ebp - 0x4c], 0x449528
mov dword [ebp - 0x54], edi
call esi
test ax, ax
jne 0x66aeb2
lea edx, [ebp - 0x64]
lea eax, [ebp - 0x54]
push edx
push eax
mov dword [ebp - 0x4c], 0x448f70
mov dword [ebp - 0x54], edi
call esi
test ax, ax
je 0x66aeb2
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x34]
push ecx
push edx
mov dword [ebp - 0x4c], 0x44f6b4
mov dword [ebp - 0x54], 8
call fcn.0065e030
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x34]
push eax
lea edx, [ebp - 0x44]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
mov ecx, 0x6e80d4
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x34]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov edx, dword [ebp + 0x10]
push 0x6e80d4
lea eax, [ebp - 0x34]
push edx
push eax
call fcn.0065d080
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
push 0x66af04
jmp 0x66aefa
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
ret
Function at 0x41786b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425458]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408dc5
mov dword [ebp - 0x14], eax
cmp dword [0x4d86b8], esi
jne 0x41795e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4178eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x417a3e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x417a3e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x417a3e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4d86b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4d86bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4d86c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4d86c8], eax
test eax, eax
je 0x41795b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4d86c4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x417983
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x417976
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x417998
push 4
pop eax
jmp 0x417a40
cmp dword [ebp - 0x14], esi
je 0x417998
push dword [0x4d86b8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41797d
mov eax, dword [0x4d86c4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4179f6
cmp dword [0x4d86c8], edi
je 0x4179f6
push eax
call ebx
push dword [0x4d86c8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4179f6
test eax, eax
je 0x4179f6
call ecx
test eax, eax
je 0x4179eb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4179eb
test byte [ebp - 8], 1
jne 0x4179f6
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x417a26
mov eax, dword [0x4d86bc]
cmp eax, edi
je 0x417a23
push eax
call ebx
test eax, eax
je 0x417a23
call eax
mov esi, eax
test esi, esi
je 0x417a23
mov eax, dword [0x4d86c0]
cmp eax, edi
je 0x417a23
push eax
call ebx
test eax, eax
je 0x417a23
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4d86b8]
call ebx
test eax, eax
je 0x417a3e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x417a40
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406f87
mov esp, ebp
pop ebp
ret