joyce8/EMBER2024-capa huggingface dataset:
Function at 0x13014830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1303f068
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1304c080]
xor eax, esp
mov dword [esp + 0x38], eax
push ebp
push esi
push edi
mov eax, dword [0x1304c080]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov edi, ecx
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x24]
mov dword [esp + 0x18], ecx
push edx
mov ecx, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
call fcn.13002e40
mov dword [esp + 0x54], 0
mov esi, dword [esi + 0x10]
lea ecx, [esp + 0x10]
push ecx
push eax
push esi
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
call fcn.13012120
add esp, 0x18
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.13026c34
add esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x130148f6
call fcn.13002b40
test eax, eax
je 0x130148f6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
cmp byte [esp + 0x68], 0
mov edi, dword [esp + 0x64]
jne 0x13014937
test edi, edi
je 0x13014930
mov eax, dword [edi + 0x20]
cmp dword [eax], 0
je 0x1301491c
mov ecx, dword [edi + 0x30]
cmp dword [ecx], 0
jle 0x1301491c
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x13014925
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x13014930
mov byte [esp + 0x69], al
jmp 0x13014932
xor edi, edi
mov byte [esp + 0x68], 1
cmp byte [esp + 0x74], 0
mov esi, dword [esp + 0x70]
jne 0x1301496d
test esi, esi
je 0x1301496b
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x1301495d
mov ecx, dword [esi + 0x30]
cmp dword [ecx], 0
jle 0x1301495d
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x13014966
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
cmp eax, 0xffffffff
jne 0x1301496d
xor esi, esi
test edi, edi
jne 0x13014977
test esi, esi
je 0x1301497b
jmp 0x1301497f
test esi, esi
je 0x1301497f
or dword [ebp], 1
lea eax, [esp + 0x28]
cmp dword [esp + 0x1c], eax
je 0x1301499c
cmp dword [esp + 0x10], 0
jne 0x1301499c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edx], ecx
jmp 0x130149a0
or dword [ebp], 2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1302732a
add esp, 0x48
ret 0x28
Function at 0x130149e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1303f068
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1304c080]
xor eax, esp
mov dword [esp + 0x38], eax
push ebp
push esi
push edi
mov eax, dword [0x1304c080]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov edi, ecx
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x24]
mov dword [esp + 0x18], ecx
push edx
mov ecx, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
call fcn.13002e40
mov dword [esp + 0x54], 0
mov esi, dword [esi + 0x10]
lea ecx, [esp + 0x10]
push ecx
push eax
push esi
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
call fcn.13012120
add esp, 0x18
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.13026a9e
add esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x13014aa6
call fcn.13002b40
test eax, eax
je 0x13014aa6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
cmp byte [esp + 0x68], 0
mov edi, dword [esp + 0x64]
jne 0x13014ae7
test edi, edi
je 0x13014ae0
mov eax, dword [edi + 0x20]
cmp dword [eax], 0
je 0x13014acc
mov ecx, dword [edi + 0x30]
cmp dword [ecx], 0
jle 0x13014acc
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x13014ad5
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x13014ae0
mov byte [esp + 0x69], al
jmp 0x13014ae2
xor edi, edi
mov byte [esp + 0x68], 1
cmp byte [esp + 0x74], 0
mov esi, dword [esp + 0x70]
jne 0x13014b1d
test esi, esi
je 0x13014b1b
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x13014b0d
mov ecx, dword [esi + 0x30]
cmp dword [ecx], 0
jle 0x13014b0d
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x13014b16
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
cmp eax, 0xffffffff
jne 0x13014b1d
xor esi, esi
test edi, edi
jne 0x13014b27
test esi, esi
je 0x13014b2b
jmp 0x13014b2f
test esi, esi
je 0x13014b2f
or dword [ebp], 1
lea eax, [esp + 0x28]
cmp dword [esp + 0x1c], eax
je 0x13014b4c
cmp dword [esp + 0x10], 0
jne 0x13014b4c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edx], ecx
jmp 0x13014b50
or dword [ebp], 2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1302732a
add esp, 0x48
ret 0x28
Function at 0x13016140
Capabilities:
Create tcp socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x1304c080]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push 6
push 1
push 2
xor bl, bl
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x130161cb
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
push eax
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esp + 0x20]
push str.Ws2_32.dll
mov word [esp + 0xe], ax
mov dword [esp + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x130161c4
push str.connect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x130161c4
push 0x10
lea edx, [esp + 0xc]
push edx
push esi
call eax
test eax, eax
sete bl
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x18]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.1302732a
add esp, 0x14
ret
Function at 0x130191e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1303ed58
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1304c080]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call fcn.130260ec
mov dword [esp + 0x28], 0
mov edi, dword [0x1304dbd4]
mov ecx, 0x1304e0f0
mov dword [esp + 0xc], edi
call fcn.13002a50
mov esi, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp esi, dword [eax + 0xc]
jae 0x1301925b
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x1301925f
cmp byte [eax + 0x14], 0
je 0x1301925f
call fcn.1302617a
cmp esi, dword [eax + 0xc]
jae 0x13019265
mov edx, dword [eax + 8]
mov esi, dword [edx + esi*4]
jmp 0x13019261
xor ecx, ecx
jmp 0x13019243
mov esi, ecx
test esi, esi
jne 0x130192b6
test edi, edi
je 0x1301926d
mov esi, edi
jmp 0x130192b6
lea eax, [esp + 0xc]
push eax
call fcn.13019160
add esp, 4
cmp eax, 0xffffffff
jne 0x1301929c
push str.bad_cast
lea ecx, [esp + 0x18]
call fcn.13027466
push 0x13046d64
lea ecx, [esp + 0x18]
push ecx
call fcn.13027b84
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x1304dbd4], esi
call fcn.13002ad0
push esi
call fcn.13026248
add esp, 4
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.1302610d
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret

Function at 0x1301a1f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1303f8f9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x1304c080]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push esi
mov dword [esi + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov byte [esp + 0x18], 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esp + 0x18], 2
mov dword [esi + 0x58], 0xf
mov dword [esi + 0x54], ebx
mov byte [esi + 0x44], bl
mov byte [esp + 0x18], 3
mov dword [esi + 0x6c], ebx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x1301bb40
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x40], ecx
jmp fcn.13142778
Function at 0x130225e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1303ed58
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1304c080]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call fcn.130260ec
mov dword [esp + 0x28], 0
mov edi, dword [0x1304e020]
mov ecx, 0x1304e024
mov dword [esp + 0xc], edi
call fcn.13002a50
mov esi, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp esi, dword [eax + 0xc]
jae 0x1302265b
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x1302265f
cmp byte [eax + 0x14], 0
je 0x1302265f
call fcn.1302617a
cmp esi, dword [eax + 0xc]
jae 0x13022665
mov edx, dword [eax + 8]
mov esi, dword [edx + esi*4]
jmp 0x13022661
xor ecx, ecx
jmp 0x13022643
mov esi, ecx
test esi, esi
jne 0x130226b6
test edi, edi
je 0x1302266d
mov esi, edi
jmp 0x130226b6
lea eax, [esp + 0xc]
push eax
call fcn.13022560
add esp, 4
cmp eax, 0xffffffff
jne 0x1302269c
push str.bad_cast
lea ecx, [esp + 0x18]
call fcn.13027466
push 0x13046d64
lea ecx, [esp + 0x18]
push ecx
call fcn.13027b84
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x1304e020], esi
call fcn.13002ad0
push esi
call fcn.13026248
add esp, 4
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.1302610d
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret

Function at 0x13025490
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax], vtable.CJob.0
jmp fcn.131985d3

Function at 0x13025540
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
jmp fcn.13199503

Function at 0x130255b0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
jmp fcn.1319a9e9

Function at 0x13025850
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1304002e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1304c080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov dword [eax], vtable.CJobHandler.0
mov dword [ebp - 4], 1
jmp fcn.131a10b1

Function at 0x13025990
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x13040051
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1304c080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
jmp fcn.131a4d30
Function at 0x13025ad0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x13040082
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1304c080]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esi + 8]
mov dword [esi], vtable.CJobHandler.0
xor edi, edi
push eax
mov dword [eax + 0x18], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 0x18], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov byte [esp + 0x18], 1
push edi
call fcn.13027fed
add esp, 4
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x13025b50
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x130400a5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1304c080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
jmp fcn.131a640e

Function at 0x1302732a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1304c080]
jne 0x13027334
repz ret
jmp fcn.1302d94a
Function at 0x13036ec1
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x1304ce68]
je 0x13036edc
inc edi
cmp edi, 0x17
jb 0x13036ecd
cmp edi, 0x17
jae 0x1303705c
push ebp
push 3
call fcn.1303c1dd
cmp eax, 1
pop ecx
je 0x13037028
push 3
call fcn.1303c1dd
test eax, eax
pop ecx
jne 0x13036f10
cmp dword [0x1304e2c8], 1
je 0x13037028
cmp ebx, 0xfc
je 0x1303705b
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x1304e928
push ebp
call fcn.1302862b
add esp, 0xc
test eax, eax
je 0x13036f46
push esi
push esi
push esi
push esi
push esi
call fcn.130279d1
add esp, 0x14
push 0x104
mov esi, 0x1304e941
push esi
push 0
mov byte [0x1304ea45], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x13036f8a
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.1302862b
add esp, 0xc
test eax, eax
je 0x13036f8a
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.130279d1
add esp, 0x14
push esi
call fcn.1302a8f0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x13036fcf
push esi
call fcn.1302a8f0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x1304ec3c
push 0x130449ec
sub ecx, eax
push ecx
push eax
call fcn.130346a3
add esp, 0x14
test eax, eax
je 0x13036fcf
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.130279d1
add esp, 0x14
jmp 0x13036fd1
xor esi, esi
push 0x130449e8
push ebx
push ebp
call fcn.13034632
add esp, 0xc
test eax, eax
je 0x13036ff1
push esi
push esi
push esi
push esi
push esi
call fcn.130279d1
add esp, 0x14
push dword [edi*8 + 0x1304ce6c]
push ebx
push ebp
call fcn.13034632
add esp, 0xc
test eax, eax
je 0x13037013
push esi
push esi
push esi
push esi
push esi
call fcn.130279d1
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1303c020
add esp, 0xc
jmp 0x1303705b
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x1303705b
cmp ebp, 0xffffffff
je 0x1303705b
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1304ce6c]
push dword [esi]
call fcn.1302a8f0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1303c020
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1302dc3a
xor ebx, ebx
cmp dword [0x1304ed64], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1303c0f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1303c1d6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1303c1d6
push eax
call fcn.1302dbcc
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1304ed64], eax
call esi
push eax
call fcn.1302dbcc
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1304ed68], eax
call esi
push eax
call fcn.1302dbcc
mov dword [0x1304ed6c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1302d3a0
test eax, eax
pop ecx
pop ecx
je 0x1303c0c4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.130279d1
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1303c0f6
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1302dbcc
cmp eax, ebx
pop ecx
mov dword [0x1304ed74], eax
je 0x1303c0f6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1302dbcc
pop ecx
mov dword [0x1304ed70], eax
mov eax, dword [0x1304ed70]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1303c17b
cmp dword [0x1304ed74], ecx
je 0x1303c17b
push eax
call fcn.1302dc43
push dword [0x1304ed74]
mov esi, eax
call fcn.1302dc43
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1303c17b
cmp edi, ebx
je 0x1303c17b
call esi
cmp eax, ebx
je 0x1303c148
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1303c148
test byte [ebp - 0x18], 1
jne 0x1303c17b
lea eax, [ebp - 0x10]
push eax
call fcn.1302d3d7
test eax, eax
pop ecx
je 0x1303c163
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.130279d1
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1303c172
or dword [ebp + 0x10], 0x200000
jmp 0x1303c1b6
or dword [ebp + 0x10], 0x40000
jmp 0x1303c1b6
mov eax, dword [0x1304ed68]
cmp eax, dword [ebp - 8]
je 0x1303c1b6
push eax
call fcn.1302dc43
cmp eax, ebx
pop ecx
je 0x1303c1b6
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1303c1b6
mov eax, dword [0x1304ed6c]
cmp eax, dword [ebp - 8]
je 0x1303c1b6
push eax
call fcn.1302dc43
cmp eax, ebx
pop ecx
je 0x1303c1b6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1304ed64]
call fcn.1302dc43
cmp eax, ebx
pop ecx
je 0x1303c1d6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1303c1d8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x13105869
Capabilities:
Execute anti-debugging instructions

Disassembly:
outsd dx, dword [esi]
mov ebx, edi
pop edi
and dword [esp + 4], ebx
pop ebx
inc dword [esp]
add dword [esp], 0xeec223fe
mov dword [esp], ebx
push dword [esp + 0x10]
mov eax, dword [esp]
push edx
mov edx, esp
push ebp
mov ebp, 4
add edx, ebp
pop ebp
add edx, 4
xchg dword [esp], edx
mov esp, dword [esp]
push dword [esp + 8]
push dword [esp]
push dword [esp]
pop ebx
add esp, 4
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x10], ebx
push dword [esp]
push dword [esp]
pop ebx
add esp, 4
push ebp
mov ebp, esp
add ebp, 4
add ebp, 4
xchg dword [esp], ebp
pop esp
mov eax, dword [esp]
push eax
push 0x784246f
mov dword [esp], esp
add dword [esp], 4
pop eax
add eax, 4
add eax, 4
xchg dword [esp], eax
mov esp, dword [esp]
jmp 0x1308b458
Function at 0x13119e2a
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esp, 4
push edx
mov dword [esp], 0x6a7f61c7
sub dword [esp], 0xffffffff
push ecx
push edi
push 0x6db702bf
pop edi
add edi, 0x9ff7b41
mov ecx, edi
pop edi
xor dword [esp + 4], ecx
pop ecx
add dword [esp], 0xe2485345
push eax
mov eax, esp
push esi
mov esi, 0x75d1b668
or esi, 0x1bff5dc3
inc esi
add esi, 0x80000018
add eax, esi
push dword [esp]
pop esi
add esp, 4
sub eax, 4
xchg dword [esp], eax
pop esp
mov dword [esp], eax
push esi
mov dword [esp], 0x6bdf4724
sub dword [esp], 0x66deebfe
xor dword [esp], 0x1df36ff0
push 0x17633b00
mov dword [esp], esi
mov esi, 0x6effaec1
and dword [esp + 4], esi
pop esi
inc dword [esp]
sub dword [esp], 0x92362470
mov dword [esp], ebx
push dword [esp + 0x10]
push dword [esp]
pop eax
push ebp
mov ebp, esp
push ebx
mov ebx, 4
add ebp, ebx
pop ebx
add ebp, 4
xchg dword [esp], ebp
pop esp
push dword [esp + 8]
push dword [esp]
mov ebx, dword [esp]
push eax
mov eax, esp
add eax, 4
add eax, 4
xchg dword [esp], eax
pop esp
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x10], ebx
push dword [esp]
push dword [esp]
pop ebx
add esp, 4
push edx
mov edx, esp
add edx, 4
add edx, 4
xchg dword [esp], edx
pop esp
push dword [esp]
pop eax
sub esp, 4
mov dword [esp], edi
push esp
pop edi
add edi, 4
add edi, 4
xchg dword [esp], edi
pop esp
jmp 0x1308c4f0
Function at 0x4049fa
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d1ce0]
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.00402765
mov dword [ebp - 0x14], eax
cmp dword [0x4d9ba0], esi
jne 0x404aed
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x404a7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x404bcd
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x404bcd
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x404bcd
push eax
call ebx
push 0x4b9644
push edi
mov dword [0x4d9ba0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4d9ba4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4d9ba8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4d9bb0], eax
test eax, eax
je 0x404aea
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4d9bac], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x404b12
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x404b05
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x404b27
push 4
pop eax
jmp 0x404bcf
cmp dword [ebp - 0x14], esi
je 0x404b27
push dword [0x4d9ba0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x404b0c
mov eax, dword [0x4d9bac]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x404b85
cmp dword [0x4d9bb0], edi
je 0x404b85
push eax
call ebx
push dword [0x4d9bb0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x404b85
test eax, eax
je 0x404b85
call ecx
test eax, eax
je 0x404b7a
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 0x404b7a
test byte [ebp - 8], 1
jne 0x404b85
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x404bb5
mov eax, dword [0x4d9ba4]
cmp eax, edi
je 0x404bb2
push eax
call ebx
test eax, eax
je 0x404bb2
call eax
mov esi, eax
test esi, esi
je 0x404bb2
mov eax, dword [0x4d9ba8]
cmp eax, edi
je 0x404bb2
push eax
call ebx
test eax, eax
je 0x404bb2
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4d9ba0]
call ebx
test eax, eax
je 0x404bcd
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x404bcf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404be0
mov esp, ebp
pop ebp
ret
Function at 0x40dae0
Capabilities:
Terminate process

Disassembly:
push ecx
cmp dword [esp + 8], 1
mov dword [esp], 0
jne 0x40db08
call fcn.0040db70
test eax, eax
je 0x40db08
push dword [esp + 0xc]
push 1
call fcn.0040e9b0
add esp, 8
pop ecx
ret
push esi
push str.lmgrd
push 0
call fcn.0043c070
lea eax, [esp + 0xc]
push eax
call fcn.0043c9d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40db49
push esi
push dword [esp + 8]
call fcn.0040dd90
push esi
push dword [esp + 0x10]
call fcn.0043c6f0
add esp, 0x10
call fcn.0043c050
xor eax, eax
pop esi
pop ecx
ret
push str.LMGRD___initialization_error__exiting._n
call fcn.00426270
push eax
call fcn.004275e6
call fcn.00426270
push eax
call fcn.004061cf
add esp, 0xc
push 1
call fcn.00401ac1
int3