joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b2b5
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x58], ebp
jne 0x42b45a
call fcn.0042b270
test eax, eax
je 0x42b45a
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x24]
lea edi, [esi + 0x5c]
push edx
push eax
push edi
mov ecx, esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
call fcn.0042b4b0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
lea edx, [esi + 0x160]
push str._d._d._d._d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, ebp
je 0x42b45a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetGetConnectedState
push ebx
call edi
push str.InternetErrorDlg
push ebx
mov dword [esi + 0x10], eax
call edi
push str.InternetAttemptConnect
push ebx
mov dword [esi + 0x14], eax
call edi
push str.InternetQueryOptionA
push ebx
mov dword [esi + 0x18], eax
call edi
push str.InternetOpenA
push ebx
mov dword [esi + 0x28], eax
call edi
push str.InternetConnectA
push ebx
mov dword [esi + 0x1c], eax
call edi
push str.InternetCloseHandle
push ebx
mov dword [esi + 0x30], eax
call edi
push str.InternetReadFile
push ebx
mov dword [esi + 0x34], eax
call edi
push str.InternetOpenUrlA
push ebx
mov dword [esi + 0x38], eax
call edi
push str.InternetSetStatusCallback
push ebx
mov dword [esi + 0x44], eax
call edi
push str.InternetSetOptionA
push ebx
mov dword [esi + 0x20], eax
call edi
push str.InternetGetLastResponseInfoA
push ebx
mov dword [esi + 0x24], eax
call edi
push str.HttpOpenRequestA
push ebx
mov dword [esi + 0x2c], eax
call edi
push str.HttpSendRequestA
push ebx
mov dword [esi + 0x3c], eax
call edi
push str.HttpQueryInfoA
push ebx
mov dword [esi + 0x40], eax
call edi
push str.InternetCanonicalizeUrlA
push ebx
mov dword [esi + 0x48], eax
call edi
push str.InternetCombineUrlA
push ebx
mov dword [esi + 0x4c], eax
call edi
push str.InternetCrackUrlA
push ebx
mov dword [esi + 0x50], eax
call edi
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x54], eax
cmp ecx, ebp
je 0x42b45a
cmp dword [esi + 0x28], ebp
je 0x42b45a
cmp dword [esi + 0x1c], ebp
je 0x42b45a
cmp dword [esi + 0x20], ebp
je 0x42b45a
cmp dword [esi + 0x24], ebp
je 0x42b45a
cmp dword [esi + 0x2c], ebp
je 0x42b45a
cmp dword [esi + 0x30], ebp
je 0x42b45a
cmp dword [esi + 0x34], ebp
je 0x42b45a
cmp dword [esi + 0x38], ebp
je 0x42b45a
cmp dword [esi + 0x3c], ebp
je 0x42b45a
cmp dword [esi + 0x40], ebp
je 0x42b45a
cmp dword [esi + 0x48], ebp
je 0x42b45a
cmp dword [esi + 0x4c], ebp
je 0x42b45a
cmp dword [esi + 0x50], ebp
je 0x42b45a
cmp eax, ebp
je 0x42b45a
cmp dword [esi + 0x44], ebp
je 0x42b45a
mov dword [esi + 0x58], ebx
mov ecx, dword [esi + 0x58]
xor eax, eax
pop edi
cmp ecx, ebp
pop esi
pop ebp
setne al
pop ebx
add esp, 0x10
ret
Function at 0x42b4b0
Capabilities:
Get file version info

Disassembly:
sub esp, 8
lea eax, [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push eax
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x42b56b
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x42b56b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x42b555
mov ecx, dword [esp + 0x1c]
push edi
push esi
push ecx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x42b54e
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0x476204
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x42b54e
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 8]
shr ecx, 0x10
mov dword [edx], ecx
mov edx, dword [esp + 0x24]
xor ecx, ecx
mov cx, word [eax + 8]
mov dword [edx], ecx
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x28]
shr ecx, 0x10
mov dword [edx], ecx
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov cx, word [eax + 0xc]
mov dword [edx], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0x14
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0x14
Function at 0x42c0b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x45e7d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [esp + 0x58]
push edi
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x20], ebp
call fcn.0042d4f0
xor ebx, ebx
mov edi, str.GHttpClientWinInet_class
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x78], ebx
mov dword [ebp + 0x7c], ebx
mov dword [ebp + 0x80], ebx
mov dword [ebp], 0x465b34
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x50]
mov eax, ecx
mov esi, edi
mov edi, edx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 1
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
mov dword [esp + 0x5c], ebx
call esi
push ebx
push 1
push 1
push ebx
mov dword [ebp + 0x74], eax
call esi
push ebx
push 1
push 1
push ebx
mov dword [ebp + 0x78], eax
call esi
mov dword [ebp + 0x7c], eax
mov ecx, dword [0x47a524]
cmp ecx, ebx
jne 0x42c198
cmp byte [0x488630], bl
jne 0x42c186
cmp byte [ebp + 0x24], bl
jne 0x42c186
push str._______________________Creating_a_CWinInet________________r_n
call fcn.0042d6a0
mov ecx, dword [0x47a524]
add esp, 4
cmp ecx, ebx
jne 0x42c198
push str.CWinInet_creation_FAILED__r_n
call fcn.0042d6a0
add esp, 4
jmp 0x42c294
cmp dword [ecx + 0x58], ebx
jne 0x42c1af
push str.CWinInet_creation_FAILED___WinInet_is_not_valid._r_n
call fcn.0042d6a0
add esp, 4
jmp 0x42c294
call fcn.0042b580
mov ecx, dword [0x47a524]
mov esi, eax
push esi
call fcn.0042b590
push eax
push esi
push str.Using_WinInet_version__s___s_._r_n
call fcn.0042d6a0
mov eax, dword [0x488610]
add esp, 0xc
cmp eax, ebx
jne 0x42c251
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov dword [0x488610], edx
push ecx
push str.GatorInetDlgWndClass
push edx
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
jne 0x42c251
mov edx, dword [0x488610]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x20], 0x429360
mov dword [esp + 0x2c], edx
mov dword [esp + 0x40], str.GatorInetDlgWndClass
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
jne 0x42c251
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CxSocket:_Couldnt_register_async_class:__d
call fcn.0042d6a0
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x47a524]
push 0x10000000
push ebx
push ebx
push ebx
push str.Gator_1.0
mov edi, eax
call dword [ecx + 0x1c]
mov dword [ebp + 0x70], eax
call esi
sub eax, edi
push eax
push str.InternetOpen___took__d_ms._r_n
call fcn.0042d6a0
mov edx, dword [ebp + 0x70]
push edx
push str._Handle:_m_hInetSession___08X_r_n
call fcn.0042d6a0
add esp, 0x10
mov ecx, dword [esp + 0x44]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0x10
Function at 0x42d900
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
test edi, edi
je 0x42d94a
push edi
call fcn.0042d950
mov ecx, esi
call fcn.0042da00
cmp eax, edi
jb 0x42d93f
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 8]
push edi
push eax
add ecx, dword [esi + 0xc]
push ecx
call fcn.0043dd90
mov eax, dword [esi + 0xc]
add esp, 0xc
add eax, edi
mov dword [esi + 0xc], eax
pop edi
pop esi
ret 8
push str.Out_of_memory_in_CMemBuffer___Cannot_append_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
ret 8

Function at 0x42d950
Capabilities:
Print debug messages

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0042da00
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x42d9c7
mov edi, dword [esi + 4]
mov ebp, dword [esi + 8]
add ecx, edi
mov ebx, ecx
lea eax, [ebx + 2]
push eax
call fcn.004500ea
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi + 8], edi
je 0x42d9b9
mov ecx, ebx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebp, ebp
rep stosb byte es:[edi], al
je 0x42d9af
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push eax
push ebp
push ecx
call fcn.0043dd90
push ebp
call fcn.00450113
add esp, 0x10
mov dword [esi + 4], ebx
pop edi
pop esi
pop ebp
pop ebx
ret 4
push str.Out_of_memory_in_CMemBuffer__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 8], ebp
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4317c5
Capabilities:
Delete file

Disassembly:
mov eax, 0x45ef80
call fcn.0043baec
sub esp, 0x240
push ebx
push esi
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0x80041001
call fcn.004516c3
xor esi, esi
lea ecx, [ebp - 0x28]
push esi
push 0x1011
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
call fcn.00451875
test eax, eax
je 0x4318dd
push 2
lea eax, [ebp - 0x244]
pop edi
mov ebx, 0xa9b54a
push 0x1f8
push esi
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], edi
call fcn.0043bed0
add esp, 0xc
lea eax, [ebp - 0x24c]
lea ecx, [ebp - 0x28]
push 0x200
push eax
call fcn.004519cc
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
xor ecx, ecx
cmp esi, ecx
je 0x4318b1
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.00430167
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x431852
mov eax, dword [ebp + 8]
push 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
call fcn.004519cc
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
call fcn.004519cc
push dword [ebp - 0x18]
call fcn.00450113
pop ecx
jmp 0x431852
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], ecx
push 0x10
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 1
call fcn.004519cc
lea ecx, [ebp - 0x28]
call fcn.00451a90
cmp dword [ebp - 0x14], 0
jge 0x4318e6
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004517b8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8

Function at 0x431e56
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
xor ebx, ebx
cmp dword [0x48b67c], ebx
jne 0x431ea8
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x431ea0
push 1
pop eax
cmp dword [ebp - 0x88], eax
jne 0x431ea0
cmp dword [ebp - 0x90], 0xa
jb 0x431ea0
mov dword [0x48b678], eax
jmp 0x431ea3
push 1
pop eax
mov dword [0x48b67c], eax
cmp dword [0x48b678], ebx
je 0x431eeb
push esi
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push edi
lea eax, [ebp - 4]
push 1
push eax
push ebx
push 0x2000
mov dword [ebp - 4], ebx
call esi
push 1
push ebx
mov edi, 0x2001
push ebx
push edi
call esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push dword [ebp - 4]
push ebx
push edi
call esi
pop edi
pop esi
jmp 0x431ef4
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop ebx
leave
ret
Function at 0x43459c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
test eax, eax
je 0x4345ae
and dword [eax], 0
push ebx
push esi
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x434685
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x434685
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x434685
lea eax, [ebp + 8]
push edi
push eax
push esi
call fcn.004344a9
mov edi, dword [ebp + 0x14]
pop ecx
test edi, edi
pop ecx
mov ebx, eax
je 0x434615
cmp dword [edi], 0
je 0x434613
test ebx, ebx
je 0x43460f
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [edi]
jmp 0x434615
mov dword [edi], ebx
cmp dword [ebp + 0x10], 0
je 0x43466e
push 0
call dword [sym.imp.USER32.dll_GetDC]
test ebx, ebx
mov edi, eax
je 0x43463a
push 0
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp + 8]
push 0
push esi
lea eax, [esi + eax*4]
add eax, dword [esi]
push eax
push 4
push esi
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov ecx, dword [ebp + 0x10]
test eax, eax
mov dword [ecx], eax
je 0x434660
mov dword [ebp - 4], 1
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [ebp + 0x14]
jmp 0x434675
mov dword [ebp - 4], 1
test edi, edi
pop edi
jne 0x434685
test ebx, ebx
je 0x434685
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret

Function at 0x4349c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 8]
push esi
push str.PALETTE
push eax
xor esi, esi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x434a0a
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x434a0a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x434a0a
add eax, 0x14
push eax
call dword [sym.imp.GDI32.dll_CreatePalette]
mov esi, eax
mov eax, esi
pop esi
ret
Function at 0x436e50
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.softwareGator.comGator_statUsers
push reloc.WSOCK32.dll_bind
mov dword [edi], ebx
xor esi, esi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x436fb6
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x28]
push ecx
push ebx
push ebx
lea ecx, [ebp - 0x10]
push ebx
inc dword [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], 0x40
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x436fa6
cmp byte [ebp + 0xc], 0
jne 0x436f26
lea eax, [ebp - 0x1c]
mov byte [ebp + 0xb], 1
push eax
push 0x20019
lea eax, [ebp - 0x68]
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x436e8d
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 4
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push str.RegStatus
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x436f13
cmp dword [ebp - 0x18], 1
je 0x436f0f
cmp dword [ebp - 0x18], 2
jne 0x436f13
and byte [ebp + 0xb], 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp + 0xb], 0
jne 0x436e8d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea eax, [eax + ecx + 1]
cmp eax, dword [ebp - 4]
jb 0x436f84
mov ebx, dword [edi]
test ebx, ebx
je 0x436f6c
mov eax, dword [ebp - 4]
add eax, 0x101
push eax
call fcn.004500ea
push dword [ebp - 8]
mov dword [edi], eax
push ebx
push eax
call fcn.0043bb90
mov esi, dword [edi]
add dword [ebp - 4], 0x100
add esi, dword [ebp - 8]
push ebx
call fcn.00450113
add esp, 0x14
jmp 0x436f82
push 0x101
call fcn.004500ea
pop ecx
mov dword [edi], eax
mov dword [ebp - 4], 0x100
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x68]
push eax
push esi
call fcn.0043c3a0
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
lea esi, [esi + eax + 1]
lea eax, [ecx + eax + 1]
mov dword [ebp - 8], eax
jmp 0x436e8d
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x436fb6
and byte [esi], 0
pop edi
pop esi
pop ebx
leave
ret

Function at 0x436fbb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push dword [ebp + 8]
mov dword [esi], edi
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x437023
push 0x201
mov dword [ebp + 8], 0x200
call fcn.004500ea
pop ecx
mov dword [esi], eax
lea ecx, [ebp + 8]
push ecx
push eax
push edi
push edi
push 0x476ce0
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43701a
push dword [esi]
call fcn.00450113
pop ecx
mov dword [esi], edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
ret
Function at 0x437275
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0xd
pop eax
cmp dword [ebp + 0x10], eax
jbe 0x437286
mov dword [ebp + 0x10], eax
mov al, byte [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
and byte [ebp - 4], 0
and byte [ebp - 0x10], 0
push esi
mov esi, dword [ebp + 0x18]
push edi
lea edi, [ebp - 0xc]
lea ecx, [ebp - 0x18]
mov byte [esi], al
mov eax, dword [ebp + 8]
inc esi
sub edi, eax
sub ebx, eax
sub ecx, eax
mov dword [ebp + 8], ecx
mov dword [ebp + 0x18], 8
mov dl, byte [eax]
mov cl, dl
shr cl, 3
shl dl, 5
or cl, dl
mov edx, dword [ebp + 8]
mov byte [edi + eax], cl
xor byte [ebp - 4], cl
mov cl, byte [ebx + eax]
mov byte [edx + eax], cl
xor byte [ebp - 0x10], cl
mov byte [esi], cl
inc esi
inc eax
dec dword [ebp + 0x18]
jne 0x4372b6
push 1
pop eax
cmp dword [ebp + 0x10], eax
mov dword [ebp + 0x18], eax
jb 0x4373b2
mov ebx, 0x48bf1c
xor edi, edi
mov al, byte [ebp + edi - 0xc]
lea ecx, [ebp + edi - 0xc]
mov dl, al
shl dl, 6
shr al, 2
or dl, al
mov al, byte [ebp + edi - 0x18]
mov byte [ecx], dl
lea ecx, [ebp + edi - 0x18]
mov dl, al
shl dl, 6
shr al, 2
or dl, al
inc edi
cmp edi, 9
mov byte [ecx], dl
jb 0x4372f3
xor ecx, ecx
cmp dword [ebp + 0x14], 0
je 0x43734a
mov eax, dword [ebp + 0x18]
push 9
xor edx, edx
pop edi
lea eax, [ecx + eax*2 - 1]
div edi
movzx eax, byte [ebx + ecx - 9]
mov dl, byte [ebp + edx - 0xc]
add dl, byte [eax + 0x48bf00]
mov byte [esi], dl
jmp 0x43735b
movzx eax, byte [ebx + ecx - 9]
mov al, byte [eax + 0x48bf00]
add al, byte [ebp + ecx - 0xc]
mov byte [esi], al
inc esi
inc ecx
cmp ecx, 8
jb 0x437323
xor ecx, ecx
cmp dword [ebp + 0x14], 0
je 0x437389
mov eax, dword [ebp + 0x18]
push 9
xor edx, edx
pop edi
lea eax, [ecx + eax*2]
div edi
movzx eax, byte [ebx + ecx]
mov dl, byte [ebp + edx - 0x18]
add dl, byte [eax + 0x48bf00]
mov byte [esi], dl
jmp 0x437399
movzx eax, byte [ebx + ecx]
mov al, byte [eax + 0x48bf00]
add al, byte [ebp + ecx - 0x18]
mov byte [esi], al
inc esi
inc ecx
cmp ecx, 8
jb 0x437364
inc dword [ebp + 0x18]
add ebx, 0x12
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 0x10]
jbe 0x4372f1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43784e
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x1048
push 0x47e070
push edi
call fcn.0043bb90
mov ecx, dword [ebp + 0xc]
add esp, 0xc
cmp ecx, 0x48
jle 0x437877
push 0x48
pop ecx
mov esi, dword [ebp + 0x10]
mov dword [ebp + 0xc], 0x12
mov eax, esi
lea edx, [ecx + esi]
movzx ecx, byte [eax]
inc eax
cmp eax, edx
jb 0x437890
mov eax, esi
movzx ebx, byte [eax]
shl ecx, 8
or ecx, ebx
inc eax
cmp eax, edx
jb 0x43789f
mov eax, esi
movzx ebx, byte [eax]
shl ecx, 8
or ecx, ebx
inc eax
cmp eax, edx
jb 0x4378ae
mov eax, esi
movzx ebx, byte [eax]
shl ecx, 8
or ecx, ebx
inc eax
cmp eax, edx
jb 0x4378bd
mov eax, esi
xor dword [edi], ecx
add edi, 4
dec dword [ebp + 0xc]
jne 0x437886
mov ebx, dword [ebp + 8]
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push 9
mov esi, ebx
pop edi
lea eax, [ebp - 8]
push ebx
push eax
call fcn.0043791e
mov eax, dword [ebp - 8]
pop ecx
mov dword [esi], eax
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
add esi, 8
dec edi
pop ecx
jne 0x4378d7
lea esi, [ebx + 0x48]
mov edi, 0x200
lea eax, [ebp - 8]
push ebx
push eax
call fcn.0043791e
mov eax, dword [ebp - 8]
pop ecx
mov dword [esi], eax
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
add esi, 8
dec edi
pop ecx
jne 0x4378fc
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4384a0
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov eax, dword [ebx]
push edi
mov esi, ecx
push eax
xor ebp, ebp
call fcn.00450113
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ebx], ebp
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x43850d
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
test esi, esi
je 0x438504
inc esi
push esi
call fcn.004500ea
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x4384fb
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
pop edi
pop esi
pop ebp
pop ebx
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 8
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 8
Function at 0x438ad0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x45f52d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x28]
push 0xff000000
push 0
push eax
push 0
push ebx
push 0
mov esi, ecx
push edi
push ebp
mov dword [esp + 0x30], esi
call fcn.004391f0
mov ecx, dword [esp + 0x2c]
push 0x6a
mov dword [esi + 0x6c], ecx
push edi
lea ecx, [esi + 0x70]
mov dword [esp + 0x24], 0
call fcn.00438f40
push 0x70
push edi
lea ecx, [esi + 0x88]
mov byte [esp + 0x24], 1
call fcn.00438f40
push 0x6d
push edi
lea ecx, [esi + 0xa0]
mov byte [esp + 0x24], 2
call fcn.00438f40
push 0x6b
push edi
lea ecx, [esi + 0xb8]
mov byte [esp + 0x24], 3
call fcn.00438f40
push 0x6e
push edi
lea ecx, [esi + 0xd0]
mov byte [esp + 0x24], 4
call fcn.00438f40
lea edx, [esi + 0x34]
mov ecx, 0xd
xor eax, eax
mov edi, edx
mov dword [esi], 0x465cb8
rep stosd dword es:[edi], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x6c]
mov dword [edx], 0x28
mov dword [esi + 0x38], 0x328
mov dword [esi + 0x3c], ebx
lea edx, [eax + eax*4]
mov dword [esi + 0x40], ebp
shl edx, 3
push edx
mov dword [esi + 0x58], 0x438d50
call fcn.0043d694
mov edi, eax
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x68], edi
add esp, 4
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x68]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x54], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14