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

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4d3fba
mov eax, ebx
call fcn.004d6394
test al, al
jne 0x4d3fba
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.USER32.dll_GetWindowTextA_1
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004057f4
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x4d3fa7
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4d3fc7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405758
jmp 0x4d3fc7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405758
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4d54b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4d5526
mov eax, esi
call fcn.004bcf90
test al, al
je 0x4d5526
mov eax, dword [ebx + 0x84]
call fcn.004bcbf0
push eax
call sub.USER32.dll_IsWindowVisible_1
test eax, eax
je 0x4d5526
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4d551a
push 0
mov eax, dword [ebx + 0x84]
call fcn.004bcbf0
push eax
call sub.USER32.dll_ShowWindow_1
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004b49e4
jmp 0x4d5526
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004d52f4
pop esi
pop ebx
ret

Function at 0x4d6720
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
push 1
call sub.USER32.dll_GetSystemMetrics_1
mov dword [ebp - 0x14], eax
push 0
call sub.USER32.dll_GetSystemMetrics_1
mov esi, eax
mov dword [ebp - 0x18], esi
push 0x4d67bc
push 0x4d67c0
call sub.USER32.dll_FindWindowA_1
test eax, eax
je 0x4d6790
lea edx, [ebp - 0x10]
push edx
push eax
call sub.USER32.dll_GetWindowRect_1
mov eax, dword [ebp - 8]
cmp esi, eax
jle 0x4d6771
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jge 0x4d677c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jle 0x4d6786
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x4d6790
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebx + 0x74]
call fcn.004b3408
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
mov edx, 1
mov eax, dword [ebx + 0x74]
call fcn.004b3408
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x528bc0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x411d14]
call fcn.004063c0
xor eax, eax
push ebp
push 0x528d61
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5e351c], 0
jne 0x528c1b
mov ecx, dword [0x5e65a8]
mov dl, 1
mov eax, dword [0x4094f0]
call fcn.0040f8fc
call fcn.00405078
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403c9c
mov eax, ebx
call fcn.00406108
mov dword [ebp - 0x24], eax
mov esi, 0x528d70
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040786c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00406118
test eax, eax
jle 0x528d04
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA_1
test eax, eax
je 0x528cf0
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405984
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x528c96
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.004059b8
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x528cac
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.004059b8
mov eax, dword [ebp - 0x54]
call fcn.00405bc0
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405984
mov eax, dword [ebp - 0x58]
call fcn.00405bc0
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_3
sub eax, 2
test eax, eax
sete al
jmp 0x528cf2
xor eax, eax
test al, al
je 0x528cfd
mov ebx, 0x15
jmp 0x528d09
mov ebx, 0x10
jmp 0x528d09
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x5e351c]
call fcn.00528a40
mov eax, dword [ebp - 4]
call fcn.00528a40
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00407884
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x528d68
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405728
lea eax, [ebp - 0xc]
mov edx, dword [0x411d14]
call fcn.00406490
ret
Function at 0x53e87c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x53e943
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x484934]
call fcn.00484a04
mov dword [ebp - 4], eax
mov edx, 0x80000001
mov eax, dword [ebp - 4]
call fcn.00484aa4
xor eax, eax
push ebp
push 0x53e926
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, 0x53e958
mov eax, dword [ebp - 4]
call fcn.00484b08
mov edx, 0x53e9a4
mov eax, dword [ebp - 4]
call fcn.00484f60
test al, al
je 0x53e8f1
mov ecx, ebx
mov edx, 0x53e9a4
mov eax, dword [ebp - 4]
call fcn.00484e74
cmp dword [ebx], 0
je 0x53e90a
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.0053e818
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00405758
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53e92d
cmp dword [ebp - 4], 0
je 0x53e925
mov eax, dword [ebp - 4]
call fcn.00404700
ret

Function at 0x53e9ac
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 7
push 0
lea eax, [ebp - 4]
push eax
call sub.wininet.dll_InternetGetConnectedState_1
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x53e9d1
xor eax, eax
pop ecx
pop ebp
ret
mov al, 1
pop ecx
pop ebp
ret

Function at 0x53edc4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x53eef2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040b2cc
test al, al
jne 0x53ee65
push 0x50
lea eax, [ebp - 0x5c]
push eax
call sub.kernel32.dll_GetSystemDirectoryA_1
lea edx, [ebp - 4]
lea eax, [ebp - 0x5c]
call fcn.0040bd1c
mov esi, dword [ebp - 4]
test esi, esi
je 0x53ee17
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x60]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00405c28
mov eax, dword [ebp - 0x60]
mov edx, 0x53ef0c
call fcn.00405b58
je 0x53ee46
lea eax, [ebp - 4]
mov edx, 0x53ef0c
call fcn.004059fc
lea eax, [ebp - 0x64]
mov ecx, ebx
mov edx, dword [ebp - 4]
call fcn.00405a48
mov eax, dword [ebp - 0x64]
call fcn.0040b2cc
test al, al
jne 0x53ee65
mov byte [ebp - 5], 0
jmp 0x53eecf
lea eax, [ebp - 0x68]
mov ecx, ebx
mov edx, dword [ebp - 4]
call fcn.00405a48
mov eax, dword [ebp - 0x68]
call fcn.00405bc0
push eax
call sub.kernel32.dll_LoadLibraryA_1
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x53eec8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x53ef10
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_3
mov ebx, eax
call ebx
test eax, eax
je 0x53eead
mov byte [ebp - 5], 0
jmp 0x53eeb1
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53eecf
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FreeLibrary_3
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53eef9
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.00405728
lea eax, [ebp - 4]
call fcn.00405704
ret
Function at 0x566af8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x566c7c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5e56f4], 0
jne 0x566c56
push 0x5eff40
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x566c4f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5e56f4], 0
jne 0x566c37
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405e50
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405bc0
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0040a1f8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x566c94
call fcn.0040c20c
mov eax, dword [ebp - 0xc]
call fcn.00405bc0
push eax
push 0x80000000
call sub.ADVAPI32.dll_RegQueryValueA_1
test eax, eax
jne 0x566bb8
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405e50
jmp 0x566bef
lea eax, [ebp - 4]
mov edx, 0x566cb4
call fcn.0040579c
xor eax, eax
push ebp
push 0x566be5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00528d80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x566bef
mov eax, dword [ebp - 4]
call fcn.00405bc0
push eax
call sub.kernel32.dll_LoadLibraryA_1
mov dword [0x5e56f4], eax
cmp dword [0x5e56f4], 0
jne 0x566c22
mov ecx, dword [0x5e69d4]
mov dl, 1
mov eax, dword [0x4094f0]
call fcn.0040f8fc
call fcn.00405078
push 0x566cc0
mov eax, dword [0x5e56f4]
push eax
call sub.kernel32.dll_GetProcAddress_3
mov dword [fcn.005eff58], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x566c56
push 0x5eff40
call sub.kernel32.dll_LeaveCriticalSection_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x566c83
lea eax, [ebp - 0x18]
call fcn.00405704
lea eax, [ebp - 0xc]
call fcn.00405704
lea eax, [ebp - 4]
call fcn.00405704
ret
Function at 0x5736e8
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5738a9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x87], 0
je 0x573738
cmp dword [ebx + 0x5c], 0
je 0x573738
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1b0]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
mov edx, eax
mov eax, esi
call fcn.0056a9c0
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x573893
cmp dword [ebx + 0x7c], 0
jne 0x57375e
mov dl, 1
mov eax, dword [0x41e6e0]
call fcn.004046d0
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x57386c
lea eax, [ebp - 8]
mov edx, dword [ebx + 0xc]
call fcn.004060f8
mov eax, dword [ebp - 8]
push eax
movzx eax, byte [0x5738b8]
push eax
movzx eax, byte [0x5738bc]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x5e6a04]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x5624b0]
call fcn.00564610
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x573865
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1b0]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.0056a9c0
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1b0]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
mov edx, eax
mov eax, esi
call fcn.0056a9c0
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x567b40]
call fcn.00407068
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1b
jge 0x573838
mov edx, dword [0x5e6d10]
movzx eax, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x573849
cmp eax, 0x1007
jne 0x573845
mov byte [ebx + 0x74], 0x18
jmp 0x573849
mov byte [ebx + 0x74], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x573893
mov eax, dword [ebp - 4]
call fcn.00404700
ret
lea eax, [ebx + 0x5c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1b0]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.0056a9c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5738b0
lea eax, [ebp - 8]
call fcn.00405f38
ret
Function at 0x574140
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405758
mov esi, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x574172
sub eax, 4
mov eax, dword [eax]
test ax, ax
jbe 0x5741bd
mov word [ebp - 0xa], ax
mov bx, 1
mov eax, dword [ebp - 8]
call fcn.00405c20
movzx edi, bx
mov edx, dword [ebp - 8]
mov edx, dword [edx]
movzx edx, byte [edx + edi - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + edi - 1], dl
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edi - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec word [ebp - 0xa]
jne 0x57417f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x576250
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403c9c
pop ebp
ret

Function at 0x577658
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405bb0
xor eax, eax
push ebp
push 0x5776c4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405bc0
push eax
call sub.kernel32.dll_GetVolumeInformationA_1
test eax, eax
je 0x5776ae
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.0040aeb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5776cb
lea eax, [ebp - 4]
call fcn.00405704
ret
Function at 0x57eda0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405bb0
xor eax, eax
push ebp
push 0x57eeab
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x57ee7d
mov eax, dword [ebx + 0x34]
call fcn.004bcbf0
push eax
call sub.USER32.dll_IsWindowVisible_1
test eax, eax
je 0x57ee03
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x34]
call fcn.004b4ac4
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
call fcn.00405b58
je 0x57ee8d
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x5e6dfc]
mov eax, dword [eax]
call fcn.004d1860
mov edx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
mov edi, dword [eax]
call dword [edi + 0xe8]
mov eax, dword [esi + 0x40]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x44]
add eax, dword [esi + 0x4c]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0x30]
call fcn.004b454c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x1c], eax
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
add dword [ebp - 0x18], eax
add dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x34]
mov esi, dword [eax]
call dword [esi + 0xe0]
mov dl, 1
mov eax, dword [ebx + 0x38]
call fcn.0049e530
jmp 0x57ee8d
push 0
mov eax, dword [ebx + 0x34]
call fcn.004bcbf0
push eax
call sub.USER32.dll_ShowWindow_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57eeb2
lea eax, [ebp - 0x20]
call fcn.00405704
lea eax, [ebp - 4]
call fcn.00405704
ret

Function at 0x581d00
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x581d2e
mov eax, ebx
call fcn.005827b4
cmp dword [ebx + 0x40], 0
je 0x581d27
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x581d9f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x581d91
cmp dword [ebx + 8], 0
je 0x581d50
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x581d62
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x581d91
cmp dword [ebx + 8], 0
je 0x581d43
cmp eax, 3
je 0x581d75
dec eax
jne 0x581d43
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x581d43
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x581d43
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x581dbd
cmp dword [ebx + 0x14], 0xcc
je 0x581dbd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00581dc8
pop ebx
ret
Function at 0x592a70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x68]
mov edx, dword [0x592500]
call fcn.004063c0
xor eax, eax
push ebp
push 0x592b85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x70]
mov edx, 0x592b9c
call fcn.00405758
mov ebx, 0x105
mov eax, ebx
call fcn.00402ffc
mov dword [ebp - 0x74], eax
xor eax, eax
push ebp
push 0x592afd
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_GetSystemDirectoryA_1
test eax, eax
je 0x592ae7
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x74]
call fcn.0040590c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x592b04
mov eax, dword [ebp - 0x74]
call fcn.00403018
ret
Function at 0x592bcc
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff54
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x592e05
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x592e1c
call fcn.00405758
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x592ddb
mov esi, dword [ebp - 0x90]
mov edi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x84]
dec eax
je 0x592cf5
dec eax
jne 0x592d85
cmp esi, 4
jg 0x592c56
mov eax, ebx
mov edx, 0x592e30
call fcn.00405758
jmp 0x592d91
cmp esi, 5
jne 0x592c70
test edi, edi
jne 0x592c70
mov eax, ebx
mov edx, 0x592e50
call fcn.00405758
jmp 0x592d91
cmp esi, 5
jne 0x592c8b
cmp edi, 1
jne 0x592c8b
mov eax, ebx
mov edx, 0x592e70
call fcn.00405758
jmp 0x592d91
cmp esi, 5
jne 0x592ca6
cmp edi, 2
jne 0x592ca6
mov eax, ebx
mov edx, 0x592e90
call fcn.00405758
jmp 0x592d91
cmp esi, 6
jne 0x592cc0
test edi, edi
jne 0x592cc0
mov eax, ebx
mov edx, 0x592eb0
call fcn.00405758
jmp 0x592d91
push ebx
mov dword [ebp - 0xa4], esi
mov byte [ebp - 0xa0], 0
mov dword [ebp - 0x9c], edi
mov byte [ebp - 0x98], 0
lea edx, [ebp - 0xa4]
mov ecx, 1
mov eax, 0x592ed0
call fcn.0040c20c
jmp 0x592d91
cmp esi, 4
jne 0x592d0f
test edi, edi
jne 0x592d0f
mov eax, ebx
mov edx, 0x592ef0
call fcn.00405758
jmp 0x592d91
cmp esi, 4
jne 0x592d3b
cmp edi, 0xa
jne 0x592d3b
cmp byte [ebp - 0x7f], 0x41
jne 0x592d2d
mov eax, ebx
mov edx, 0x592f10
call fcn.00405758
jmp 0x592d91
mov eax, ebx
mov edx, 0x592f30
call fcn.00405758
jmp 0x592d91
cmp esi, 4
jne 0x592d53
cmp edi, 0x5a
jne 0x592d53
mov eax, ebx
mov edx, 0x592f50
call fcn.00405758
jmp 0x592d91
push ebx
mov dword [ebp - 0xa4], esi
mov byte [ebp - 0xa0], 0
mov dword [ebp - 0x9c], edi
mov byte [ebp - 0x98], 0
lea edx, [ebp - 0xa4]
mov ecx, 1
mov eax, 0x592ed0
call fcn.0040c20c
jmp 0x592d91
mov eax, ebx
mov edx, 0x592e1c
call fcn.00405758
lea eax, [ebp - 0xa8]
lea edx, [ebp - 0x80]
mov ecx, 0x80
call fcn.00405984
cmp dword [ebp - 0xa8], 0
je 0x592de7
push dword [ebx]
push 0x592f70
lea eax, [ebp - 0xac]
lea edx, [ebp - 0x80]
mov ecx, 0x80
call fcn.00405984
push dword [ebp - 0xac]
mov eax, ebx
mov edx, 3
call fcn.00405ac4
jmp 0x592de7
mov eax, ebx
mov edx, 0x592e1c
call fcn.00405758
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x592e0c
lea eax, [ebp - 0xac]
mov edx, 2
call fcn.00405728
ret
Function at 0x5939a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x5939a9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x593b29
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x593b40
call fcn.0040579c
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x20], 4
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0040c20c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.0040579c
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 4]
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x593af2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x593b7c
mov eax, dword [ebp - 0x18]
call fcn.0055d44c
lea edx, [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, 0x593b8c
mov eax, dword [ebp - 0x18]
call fcn.0055d44c
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [0x5e671c]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x10]
mov ecx, 0x593ba4
call fcn.00405a48
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.0053ea50
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x5e671c]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov edx, 0x593bc0
mov eax, dword [ebp - 0x14]
call fcn.0053d218
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
call fcn.0040579c
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 8]
mov edx, 0x593bd4
mov eax, dword [ebp - 0x14]
call fcn.0053d218
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
call fcn.0040579c
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, 0x593be4
mov eax, dword [ebp - 0x14]
call fcn.0053d218
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
call fcn.0040579c
mov eax, edi
mov edx, dword [ebp - 0x14]
call fcn.00405758
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x593af9
cmp dword [ebp - 0x18], 0
je 0x593af1
mov eax, dword [ebp - 0x18]
call fcn.00404700
ret