joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434600
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x471114
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], 0
lea ecx, [edi + 0x40]
mov dword [esp + 0x14], edi
mov dword [edi + 0x14], 0x47dd98
call fcn.004104d0
mov dword [esp + 0x3c], 0
push 0x47dd8c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 1
call fcn.00408180
mov ecx, edi
mov dword [esp + 0x3c], 1
call fcn.00420850
mov dword [esp + 0x3c], 3
mov eax, dword [edi + 0x14]
mov dword [edi], vtable.log4cplus::spi::LoggerImpl.1.0
mov eax, dword [eax + 4]
lea ecx, [esp + 0x18]
mov dword [eax + edi + 0x14], vtable.log4cplus::spi::LoggerImpl.0
lea eax, [esp + 0xf]
push eax
call fcn.004037a0
push eax
lea ecx, [esp + 0x11]
call fcn.00407460
lea eax, [esp + 0xd]
push eax
lea ecx, [esp + 0x12]
call fcn.00407460
lea eax, [esp + 0xe]
push eax
lea ecx, [edi + 0x18]
call fcn.004078e0
push 0
push 0
lea ecx, [edi + 0x18]
call fcn.00407e70
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0x18]
call fcn.00407ad0
mov eax, dword [esp + 0x44]
mov dword [edi + 0x30], 0xffffffff
mov dword [edi + 0x34], 0
mov byte [edi + 0x38], 1
mov dword [edi + 0x3c], eax
lea ecx, [esp + 0x18]
call fcn.00407890
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x34]
mov dword [edi], vtable.log4cplus::spi::RootLogger.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x14], vtable.log4cplus::spi::RootLogger.1.0
mov dword [edi + 0x30], 0x2710
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x38
ret 0xc

Function at 0x434810
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46f128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov esi, ecx
call fcn.0041bd90
mov edi, eax
mov ecx, edi
call fcn.0041d3e0
mov ecx, dword [esi + 8]
push dword [ebp + 8]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
lea eax, [esp + 8]
push eax
mov ecx, edi
call fcn.004091f0
lea esi, [edi + 0x98]
push esi
mov ecx, eax
mov dword [esp + 0x30], 0
call fcn.0041b2a0
lea ecx, [esp + 8]
call fcn.00407890
mov ecx, esi
call fcn.0040a2b0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x24]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x434de0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46f128
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x80], 0
jne 0x434e3a
mov ecx, dword [0x490374]
test ecx, ecx
jne 0x434e21
call fcn.0040d8c0
mov ecx, dword [0x490374]
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], str.NT_EventLog_not_opened.
push str.log4cplus:WARN
jmp 0x434f14
call fcn.0041bd90
mov esi, eax
mov ecx, esi
call fcn.0041d3e0
mov ecx, dword [edi + 8]
mov ebx, dword [ebp + 8]
mov edx, dword [ecx]
push ebx
push esi
call dword [edx + 4]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004091f0
add esi, 0x98
push esi
mov ecx, eax
mov dword [esp + 0x40], 0
call fcn.0041b2a0
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00407890
mov ecx, esi
call fcn.00407940
cmp eax, 0x7c5f
jbe 0x434ea2
push 0x7c5f
mov ecx, esi
call fcn.0041b240
mov ecx, esi
call fcn.0040a2b0
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi]
push 0
push 1
push dword [edi + 0x84]
mov ecx, edi
push 0x1000
push ebx
call dword [eax + 0x24]
movzx eax, ax
push eax
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x20]
movzx eax, ax
push eax
push dword [edi + 0x80]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x434f26
mov ecx, dword [0x490374]
test ecx, ecx
jne 0x434f00
call fcn.0040d8c0
mov ecx, dword [0x490374]
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], str.Cannot_report_event_in_NT_EventLog.
push str.log4cplus:ERROR
push 0x40c990
push 0x48ffe8
add ecx, 4
call fcn.0040cce0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x434fd0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4711e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x50]
push eax
mov edx, str.SYSTEMCurrentControlSetServicesEventLog_
lea ecx, [esp + 0x7c]
call fcn.0040c740
push 0x47ce90
mov edx, eax
lea ecx, [esp + 0x68]
mov dword [esp + 0xa0], 0
call fcn.00417db0
lea ecx, [esi + 0x68]
push ecx
mov edx, eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xa4], 1
call fcn.00417de0
add esp, 0xc
lea ecx, [esp + 0x60]
call fcn.00407890
lea ecx, [esp + 0x78]
mov byte [esp + 0x98], 4
call fcn.00407890
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 2
push 0
push 0
push 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x2c], 0
call fcn.0040a2b0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [esp + 0x14], 1
mov edi, dword [esp + 0x10]
jne 0x4351c4
push str.NTEventLogAppender.dll
lea ecx, [esp + 0x34]
call fcn.00408180
push str.EventMessageFile
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 5
call fcn.00408180
mov eax, dword [esp + 0x40]
add eax, eax
push eax
lea ecx, [esp + 0x34]
call fcn.0040a2b0
push eax
push 1
push 0
lea ecx, [esp + 0x28]
call fcn.0040a2b0
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
push edi
call esi
lea ecx, [esp + 0x18]
call fcn.00407890
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 4
call fcn.00407890
push str.NTEventLogAppender.dll
lea ecx, [esp + 0x34]
call fcn.00408180
push str.CategoryMessageFile
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 6
call fcn.00408180
mov eax, dword [esp + 0x40]
add eax, eax
push eax
lea ecx, [esp + 0x34]
call fcn.0040a2b0
push eax
push 1
push 0
lea ecx, [esp + 0x28]
call fcn.0040a2b0
push eax
push edi
call esi
lea ecx, [esp + 0x18]
call fcn.00407890
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 4
call fcn.00407890
push str.TypesSupported
lea ecx, [esp + 0x1c]
call fcn.00408180
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 7
call fcn.0040a2b0
push eax
push edi
call esi
lea ecx, [esp + 0x18]
call fcn.00407890
push str.CategoryCount
lea ecx, [esp + 0x1c]
call fcn.00408180
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 5
call fcn.0040a2b0
push eax
push edi
call esi
lea ecx, [esp + 0x18]
call fcn.00407890
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x48]
call fcn.00407890
mov ecx, dword [esp + 0x90]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x94
ret
Function at 0x437490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4715ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebx, ecx
push esi
mov dword [esp + 0xc], 0
push edi
lea ecx, [ebx + 0x40]
mov dword [esp + 0x14], ebx
mov dword [ebx + 4], 0x47ea70
call fcn.004104d0
mov ebp, dword [esp + 0x40]
push ecx
mov dword [esp + 0x3c], 0
push ebp
mov ecx, ebx
mov dword [esp + 0x18], 1
call fcn.0041bfe0
mov dword [esp + 0x38], 1
mov eax, dword [ebx + 4]
mov dword [ebx], vtable.log4cplus::Win32ConsoleAppender.0
mov eax, dword [eax + 4]
lea esi, [ebx + 0x38]
mov dword [eax + ebx + 4], vtable.log4cplus::Win32ConsoleAppender.1.0
lea edi, [ebx + 0x39]
add ebx, 0x3c
push 0x47e70c
lea ecx, [esp + 0x1c]
mov byte [esi], 1
mov byte [edi], 0
mov dword [ebx], 0
call fcn.00408180
lea eax, [esp + 0x18]
push eax
push esi
mov ecx, ebp
mov byte [esp + 0x40], 2
call fcn.00431ad0
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.00407890
push 0x47ce30
lea ecx, [esp + 0x1c]
call fcn.00408180
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, ebp
mov byte [esp + 0x40], 3
call fcn.00431ad0
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.00407890
push str.TextColor
lea ecx, [esp + 0x1c]
call fcn.00408180
lea eax, [esp + 0x18]
push eax
push ebx
mov ecx, ebp
mov byte [esp + 0x40], 4
call fcn.00431e40
lea ecx, [esp + 0x18]
call fcn.00407890
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8

Function at 0x437750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x471630
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
push dword [ebp + 0x10]
lea ecx, [esp + 0x34]
push dword [ebp + 0xc]
call fcn.004093d0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], 0
call fcn.004220b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 1
call fcn.00407940
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00407770
mov ebx, eax
xor esi, esi
push 0
lea eax, [esp + 0x14]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [ebp + 8]
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4377e1
add esi, dword [esp + 0x10]
cmp esi, edi
jne 0x4377b2
jmp 0x43781c
mov ecx, dword [0x490374]
test ecx, ecx
jne 0x4377f6
call fcn.0040d8c0
mov ecx, dword [0x490374]
push 0
lea eax, [esp + 0x18]
push eax
push str.log4cplus:ERROR
push 0x40c990
push 0x48ffe8
add ecx, 4
mov dword [esp + 0x28], str.Win32ConsoleAppender::write_handle__WriteFile_has_failed.
call fcn.0040cce0
lea ecx, [esp + 0x18]
call fcn.00408290
lea ecx, [esp + 0x30]
call fcn.00407890
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x437d90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x471695
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
mov ebp, ecx
push esi
mov dword [esp + 0xc], 0
push edi
lea ecx, [ebp + 0x64]
mov dword [esp + 0x14], ebp
mov dword [ebp + 4], 0x47eda4
call fcn.004104d0
mov ebx, dword [esp + 0x70]
push ecx
mov dword [esp + 0x6c], 0
push ebx
mov ecx, ebp
mov dword [esp + 0x18], 1
call fcn.0041bfe0
mov dword [esp + 0x68], 1
mov eax, dword [ebp + 4]
mov dword [ebp], vtable.log4cplus::Log4jUdpAppender.0
mov eax, dword [eax + 4]
mov dword [eax + ebp + 4], vtable.log4cplus::Log4jUdpAppender.1.0
mov dword [ebp + 0x3c], 0xffffffff
mov dword [ebp + 0x40], 1
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x38], vtable.log4cplus::helpers::Socket.0
lea ecx, [ebp + 0x48]
mov byte [esp + 0x68], 2
call fcn.004075c0
lea edi, [ebp + 0x60]
mov byte [esp + 0x68], 3
push str.localhost
lea ecx, [esp + 0x34]
mov dword [edi], 0x1388
call fcn.00408180
push str.host
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 4
call fcn.00408180
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
mov byte [esp + 0x74], 5
call fcn.004315e0
push eax
lea ecx, [ebp + 0x48]
call fcn.004026f0
lea ecx, [esp + 0x48]
call fcn.00407890
lea ecx, [esp + 0x18]
call fcn.00407890
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 3
call fcn.00407890
push str.port
lea ecx, [esp + 0x34]
call fcn.00408180
lea eax, [esp + 0x30]
push eax
push edi
mov ecx, ebx
mov byte [esp + 0x70], 6
call fcn.00431ce0
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 3
call fcn.00407890
mov ecx, ebp
call fcn.00437f50
mov eax, ebp
pop edi
mov ecx, dword [esp + 0x5c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 8
Function at 0x438890
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x471740
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x38]
lea edi, [esi + 0x38]
mov eax, dword [eax + 8]
mov ecx, edi
call eax
test al, al
jne 0x438981
movzx edx, word [esi + 0x60]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x30], 0
push 0
lea ecx, [esi + 0x48]
mov dword [esp + 0x18], vtable.log4cplus::helpers::Socket.0
call fcn.004328b0
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x43893b
push 4
lea ecx, [esp + 0x10]
push ecx
push 1
push 6
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x438946
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.004521b2
mov dword [eax], esi
call fcn.004521b2
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], 1
cmp eax, edi
je 0x438969
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call dword [eax + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], vtable.log4cplus::helpers::AbstractSocket.0
cmp eax, 0xffffffff
je 0x438981
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x24]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x438f5e
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x471858
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
movzx edx, word [ecx - 0x34]
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 4], 0
lea eax, [edi + 8]
mov dword [edi + 4], 0xffffffff
mov dword [eax], 1
mov dword [edi + 0xc], 0
push eax
mov dword [esp + 0x14], 0
push 0
add ecx, 0xffffffb4
mov dword [edi], vtable.log4cplus::helpers::Socket.0
call fcn.004328b0
add esp, 8
mov dword [edi + 4], eax
cmp eax, 0xffffffff
je 0x438c91
push 4
lea ecx, [esp + 0x1c]
push ecx
push 1
push 6
push eax
mov dword [esp + 0x2c], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x438c9b
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.004521b2
mov dword [eax], esi
pop esi
call fcn.004521b2
mov eax, dword [eax]
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 8]
mov eax, edi
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
sub ecx, dword [ecx - 4]
jmp 0x438c00
Function at 0x439080
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x471878
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
lea eax, [edi + 8]
mov dword [edi + 4], 0xffffffff
mov dword [eax], 1
mov dword [edi + 0xc], 0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
push eax
push dword [esp + 0x28]
mov dword [edi], vtable.log4cplus::helpers::Socket.0
call fcn.004328b0
add esp, 8
mov dword [edi + 4], eax
cmp eax, 0xffffffff
je 0x439114
cmp byte [esp + 0x24], 0
jne 0x43911e
push 4
lea ecx, [esp + 0x28]
push ecx
push 1
push 6
push eax
mov dword [esp + 0x38], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x43911e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.004521b2
mov dword [eax], esi
call fcn.004521b2
mov eax, dword [eax]
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x46544f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48baac]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00453e76
mov dword [ebp - 0x14], eax
cmp dword [0x48fe70], edi
jne 0x465540
push 0x800
push edi
push 0x479494
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4654cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x465620
push 0x479494
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x465620
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x465620
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x48fe70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x48fe74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x48fe78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x48fe80], eax
test eax, eax
je 0x46553d
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x48fe7c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x465565
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x465558
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x46557a
push 4
pop eax
jmp 0x465622
cmp dword [ebp - 0x14], edi
je 0x46557a
push dword [0x48fe70]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x46555f
mov eax, dword [0x48fe7c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4655d8
cmp dword [0x48fe80], esi
je 0x4655d8
push eax
call ebx
push dword [0x48fe80]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4655d8
test eax, eax
je 0x4655d8
call ecx
test eax, eax
je 0x4655cd
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 0x4655cd
test byte [ebp - 8], 1
jne 0x4655d8
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x465608
mov eax, dword [0x48fe74]
cmp eax, esi
je 0x465605
push eax
call ebx
test eax, eax
je 0x465605
call eax
mov edi, eax
test edi, edi
je 0x465605
mov eax, dword [0x48fe78]
cmp eax, esi
je 0x465605
push eax
call ebx
test eax, eax
je 0x465605
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x48fe70]
call ebx
test eax, eax
je 0x465620
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x465622
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044e402
leave
ret
Function at 0x4678eb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0045bf27
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x467923
xor eax, eax
jmp 0x46794f
cmp esi, dword [ebp - 4]
je 0x46794c
cmp dword [ebp + 0xc], 0
je 0x46794c
push dword [edi + 0x9c]
call fcn.004674f9
push dword [edi + 0x9c]
mov esi, eax
call fcn.004522f1
pop ecx
pop ecx
cmp esi, eax
je 0x46791f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x401000
Capabilities:
Create thread
Get graphical window text
Packed with generic packer
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 8], fcn.004011db
mov eax, 0x40ca60
test eax, eax
je 0x401057
mov ecx, 0x4a2030
test ecx, ecx
je 0x401057
jmp loc.004c7257
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
call fcn.004014a0
fstp st(0)
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebp - 0x10], fcn.004011db
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4010ba
Capabilities:
Get file attributes
Hide graphical window
Packed with generic packer
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0x1000
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4011cf
push 0
call dword [sym.imp.USER32.dll_SwitchDesktop]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0x23
je 0x40113f
mov ecx, dword [ebp - 0x1c]
mov dword [0x4bbff8], ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, 0x4a6e24
test edx, edx
jbe 0x40115a
push 0
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [ebp - 0x1c], 0xffffffff
mov ecx, 0x40
push ecx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x20]
mov edx, 0x1300
push edx
push 0
mov eax, 0
inc eax
cmp dword [ebp - 0x28], 0x42
je 0x4011cf
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
push 0
push 0
call sub.WinSCard.dll_SCardReconnect
jmp 0x4c74e7
mov eax, 0x17
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4011db
Capabilities:
Create directory
Delete directory
Get common file path
Resume thread
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x64], 0x88
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 8], 0xa
mov dword [ebp - 0x3c], 0xa6f94
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.004010ba
add esp, 8
cmp eax, 2
jbe 0x40141b
push 0
push 0
call sub.WinSCard.dll_SCardForgetReaderW
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [ebp - 8], 0
je 0x40141b
mov edx, dword [ebp - 0x5c]
add edx, 0x653050
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
sub eax, 0x253050
mov dword [ebp - 0x5c], eax
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x28], ecx
push 0x8000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [ebp - 0x78], 0
jmp 0x40132b
jmp loc.004c7662
cmp dword [ebp - 0x78], 0x1400
jge 0x4013c0
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x78]
xor edx, edx
mov dl, byte [ecx]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x7c], 0
jmp 0x401361
cmp dword [ebp - 0x7c], 0x3a98
jge 0x4013a2
mov ecx, dword [ebp - 0x1c]
sub ecx, 0xde
mov dword [ebp - 0x38], ecx
push 0
push 0
jmp loc.004c7b17
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov eax, dword [0x4bbff8]
add eax, dword [ebp - 0x78]
mov cl, byte [ebp - 0x38]
mov byte [eax], cl
jmp 0x401322
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x68], 0
jbe 0x401409
push dword [ebp - 0x28]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x28]
mov edx, dword [0x4bbff8]
sub edx, 0x23
mov dword [0x4bbff8], edx
push 0
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [0x4bbff8]
add eax, 0x23
push eax
push 0x4bbff8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 4], 0
call dword [0x4bbff8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4016c4
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [0x4bc014], 1
jne 0x4016d2
call fcn.00402b9c
push dword [esp + 4]
call fcn.00402bd5
jmp loc.004c74a3