joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002a508
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x10033944]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call fcn.10016d48
mov dword [esp + 0x28], 0
mov edi, dword [0x10034c38]
mov ecx, 0x10034c44
mov dword [esp + 0xc], edi
call fcn.10001110
mov esi, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp esi, dword [eax + 0xc]
jae 0x10008e0b
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x10008e0f
cmp byte [eax + 0x14], 0
je 0x10008e0f
call fcn.10016dd6
cmp esi, dword [eax + 0xc]
jae 0x10008e15
mov edx, dword [eax + 8]
mov esi, dword [edx + esi*4]
jmp 0x10008e11
xor ecx, ecx
jmp 0x10008df3
mov esi, ecx
test esi, esi
jne 0x10008e66
test edi, edi
je 0x10008e1d
mov esi, edi
jmp 0x10008e66
lea eax, [esp + 0xc]
push eax
call fcn.10008420
add esp, 4
cmp eax, 0xffffffff
jne 0x10008e4c
push str.bad_cast
lea ecx, [esp + 0x18]
call fcn.10017bfd
push 0x10030788
lea ecx, [esp + 0x18]
push ecx
call fcn.100181ad
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x10034c38], esi
call fcn.10001190
push esi
call fcn.10016ea4
add esp, 4
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.10016d69
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 0x10008e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002a508
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x10033944]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call fcn.10016d48
mov dword [esp + 0x28], 0
mov edi, dword [0x10034c3c]
mov ecx, 0x10034c4c
mov dword [esp + 0xc], edi
call fcn.10001110
mov esi, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp esi, dword [eax + 0xc]
jae 0x10008f0b
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x10008f0f
cmp byte [eax + 0x14], 0
je 0x10008f0f
call fcn.10016dd6
cmp esi, dword [eax + 0xc]
jae 0x10008f15
mov edx, dword [eax + 8]
mov esi, dword [edx + esi*4]
jmp 0x10008f11
xor ecx, ecx
jmp 0x10008ef3
mov esi, ecx
test esi, esi
jne 0x10008f66
test edi, edi
je 0x10008f1d
mov esi, edi
jmp 0x10008f66
lea eax, [esp + 0xc]
push eax
call fcn.100084a0
add esp, 4
cmp eax, 0xffffffff
jne 0x10008f4c
push str.bad_cast
lea ecx, [esp + 0x18]
call fcn.10017bfd
push 0x10030788
lea ecx, [esp + 0x18]
push ecx
call fcn.100181ad
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x10034c3c], esi
call fcn.10001190
push esi
call fcn.10016ea4
add esp, 4
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.10016d69
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 0x1000f9b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1002aa28
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10033944]
xor eax, esp
mov dword [esp + 0x38], eax
push ebp
push esi
push edi
mov eax, dword [0x10033944]
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.100013f0
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.1000ab00
add esp, 0x18
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.10017895
add esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1000fa76
call fcn.10001200
test eax, eax
je 0x1000fa76
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 0x1000fab7
test edi, edi
je 0x1000fab0
mov eax, dword [edi + 0x20]
cmp dword [eax], 0
je 0x1000fa9c
mov ecx, dword [edi + 0x30]
cmp dword [ecx], 0
jle 0x1000fa9c
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x1000faa5
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x1000fab0
mov byte [esp + 0x69], al
jmp 0x1000fab2
xor edi, edi
mov byte [esp + 0x68], 1
cmp byte [esp + 0x74], 0
mov esi, dword [esp + 0x70]
jne 0x1000faed
test esi, esi
je 0x1000faeb
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x1000fadd
mov ecx, dword [esi + 0x30]
cmp dword [ecx], 0
jle 0x1000fadd
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x1000fae6
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
cmp eax, 0xffffffff
jne 0x1000faed
xor esi, esi
test edi, edi
jne 0x1000faf7
test esi, esi
je 0x1000fafb
jmp 0x1000faff
test esi, esi
je 0x1000faff
or dword [ebp], 1
lea eax, [esp + 0x28]
cmp dword [esp + 0x1c], eax
je 0x1000fb1c
cmp dword [esp + 0x10], 0
jne 0x1000fb1c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edx], ecx
jmp 0x1000fb20
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.1001803e
add esp, 0x48
ret 0x28
Function at 0x1000fb60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1002aa28
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10033944]
xor eax, esp
mov dword [esp + 0x38], eax
push ebp
push esi
push edi
mov eax, dword [0x10033944]
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.100013f0
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.1000ab00
add esp, 0x18
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.100176ff
add esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1000fc26
call fcn.10001200
test eax, eax
je 0x1000fc26
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 0x1000fc67
test edi, edi
je 0x1000fc60
mov eax, dword [edi + 0x20]
cmp dword [eax], 0
je 0x1000fc4c
mov ecx, dword [edi + 0x30]
cmp dword [ecx], 0
jle 0x1000fc4c
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x1000fc55
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x1000fc60
mov byte [esp + 0x69], al
jmp 0x1000fc62
xor edi, edi
mov byte [esp + 0x68], 1
cmp byte [esp + 0x74], 0
mov esi, dword [esp + 0x70]
jne 0x1000fc9d
test esi, esi
je 0x1000fc9b
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x1000fc8d
mov ecx, dword [esi + 0x30]
cmp dword [ecx], 0
jle 0x1000fc8d
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x1000fc96
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
cmp eax, 0xffffffff
jne 0x1000fc9d
xor esi, esi
test edi, edi
jne 0x1000fca7
test esi, esi
je 0x1000fcab
jmp 0x1000fcaf
test esi, esi
je 0x1000fcaf
or dword [ebp], 1
lea eax, [esp + 0x28]
cmp dword [esp + 0x1c], eax
je 0x1000fccc
cmp dword [esp + 0x10], 0
jne 0x1000fccc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edx], ecx
jmp 0x1000fcd0
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.1001803e
add esp, 0x48
ret 0x28
Function at 0x100124e0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Get common file path
Terminate process

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 2
call esi
or eax, 2
push eax
call esi
push str.GlobalAuthClassic
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x10034e60], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
pop esi
jne 0x1001252f
push 0
push str.Classic_Extension
push str.AuthD_is_already_running_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.AuthServer_40504
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x1001254e
push str.Loginserver_CLExt_Premium
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x10012562
push 0
push str.AuthMod
push str.Cannot_find_window_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x10034c58
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push str.AuthMod.ini
push 0x10034c58
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x100120f0
push 0x46d6a4
call fcn.10014810
push 0x100123d0
push 0x46d698
call fcn.10014810
push 2
push 0x401b1f
call fcn.10014850
add esp, 0x18
mov ecx, 0x10034e90
call fcn.10013fa0
push str.Classic_Auth_has_been_loaded___
push 2
push 0x47fa00
call dword [0x100336b8]
add esp, 0xc
ret
Function at 0x10014090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002b063
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x10033944]
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
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
mov dword [esp + 0x18], ebx
lea ecx, [esi + 0x24]
call fcn.10001490
mov byte [esp + 0x18], 1
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov byte [esi + 0x54], bl
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 0x1001803e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10033944]
jne 0x10018048
repz ret
jmp fcn.1001d34c
Function at 0x10027ccb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1001ccff
xor ebx, ebx
cmp dword [0x10035bd0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x10027da0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x10027d0b
xor eax, eax
jmp 0x10027e64
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1002f0bc
push edi
call esi
cmp eax, ebx
je 0x10027d04
push eax
call fcn.1001cc9c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10035bd0], eax
call esi
push eax
call fcn.1001cc9c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10035bd4], eax
call esi
push eax
call fcn.1001cc9c
mov dword [0x10035bd8], eax
lea eax, [ebp - 8]
push eax
call fcn.1001ffdb
test eax, eax
pop ecx
pop ecx
je 0x10027d6e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10018201
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x10027da0
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1001cc9c
cmp eax, ebx
pop ecx
mov dword [0x10035be0], eax
je 0x10027da0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1001cc9c
pop ecx
mov dword [0x10035bdc], eax
mov eax, dword [0x10035bdc]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x10027e19
cmp dword [0x10035be0], esi
je 0x10027e19
push eax
call fcn.1001cd08
pop ecx
call eax
cmp eax, ebx
je 0x10027de6
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x10035be0]
call fcn.1001cd08
pop ecx
call eax
test eax, eax
je 0x10027de6
test byte [ebp - 0x18], 1
jne 0x10027e19
lea eax, [ebp - 0xc]
push eax
call fcn.10020012
test eax, eax
pop ecx
je 0x10027e01
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10018201
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x10027e10
or dword [ebp + 0x10], 0x200000
jmp 0x10027e4a
or dword [ebp + 0x10], 0x40000
jmp 0x10027e4a
mov eax, dword [0x10035bd4]
cmp eax, esi
je 0x10027e4a
push eax
call fcn.1001cd08
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10027e4a
mov eax, dword [0x10035bd8]
cmp eax, esi
je 0x10027e4a
push dword [ebp - 4]
push eax
call fcn.1001cd08
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x10035bd0]
call fcn.1001cd08
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4016fd
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4f7004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
lea ecx, [ebp - 0x18]
mov ebx, eax
setne dl
movzx edx, dl
push edx
call fcn.00401189
push 4
pop ecx
push 0x40
pop eax
test edi, edi
cmovne ecx, eax
push ecx
push 0x3000
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x40177d
mov ecx, esi
call fcn.00401047
xor edx, edx
mov dword [esi + 0xfc04], edi
mov dword [esi + 0xfc00], edx
lea ecx, [esi + 0xfc0d]
mov dword [esi + 0xfc08], edx
mov eax, 0x3f0
mov byte [ecx], dl
inc ecx
sub eax, 1
jne 0x401775
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x18]
call fcn.004012f2
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448363
leave
ret

Function at 0x4017cc
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x1c
mov eax, dword [0x4f7004]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
mov ebp, dword [esp + 0x30]
xor ebx, ebx
push esi
push edi
mov edi, ecx
lea ecx, [edi + 0xfc00]
call fcn.004010ea
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
inc eax
mov dword [esp + 0x10], eax
jmp 0x40180e
cmp byte [edi + esi + 0xfc0d], bl
je 0x4018cb
inc esi
cmp esi, eax
jb 0x401800
or esi, 0xffffffff
lea edx, [edi + 0xfc00]
lock dec dword [edx]
cmp esi, 0xffffffff
je 0x4018b4
or ecx, 0xffffffff
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x401827
push ebp
push esi
mov ecx, edi
call fcn.004018f8
cmp eax, 0xffffffff
jne 0x4018aa
mov ebx, esi
shl ebx, 6
add ebx, edi
test ebp, ebp
je 0x401865
lea ecx, [edi + 0xfc0d]
lea eax, [ebp - 1]
add ecx, esi
test eax, eax
je 0x401865
mov byte [ecx], 2
inc ecx
sub eax, 1
jne 0x40185c
lea eax, [edi + ebp]
mov byte [eax + esi + 0xfc0c], 1
cmp dword [edi + 0xfc04], 0
jne 0x4018aa
push 1
lea ecx, [esp + 0x18]
call fcn.00401189
lea eax, [esp + 0x10]
push eax
push 0x40
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 0x14]
mov dword [edi + 0xfc04], 1
call fcn.004012f2
xor ecx, ecx
lea edx, [edi + 0xfc00]
xchg dword [edx], ecx
mov ecx, dword [esp + 0x28]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00448363
add esp, 0x1c
ret 0xc
cmp esi, 0xffffffff
je 0x401815
lea eax, [ebp - 1]
mov ecx, edi
push eax
lea eax, [esi + 1]
push eax
call fcn.004018f8
cmp eax, 0xffffffff
je 0x401815
lea esi, [eax + 1]
mov eax, dword [esp + 0x10]
jmp 0x40180e
Function at 0x40dce5
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
mov ebx, ecx
mov ebp, edx
push esi
push edi
test ebx, ebx
je 0x40dd7a
mov edi, dword [esp + 0x18]
test edi, edi
je 0x40dd7a
mov edx, dword [esp + 0x20]
push 0x18
pop ecx
call fcn.00420b52
mov esi, eax
test esi, esi
jne 0x40dd13
push 0xfffffffffffffffc
jmp 0x40dd7c
mov eax, dword [esp + 0x1c]
lea ecx, [esi + 8]
mov edx, dword [esp + 0x20]
mov dword [esi], edi
mov dword [esi + 4], eax
call fcn.0040d919
xor eax, eax
push eax
push eax
push esi
push 0x40dcca
push dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
mov dword [ebx], edi
test edi, edi
jne 0x40dd67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0040dc02
mov edi, eax
test edi, edi
je 0x40dd76
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.00420b92
mov eax, edi
jmp 0x40dd7d
mov ecx, ebp
call fcn.0040dc8a
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
jmp 0x40dd7d
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x421e4f
Capabilities:
Read file on windows

Disassembly:
push ecx
push ecx
push esi
xor esi, esi
mov ecx, edx
push edi
mov edi, esi
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x18], esi
jbe 0x421ec1
push ebp
mov ebp, dword [esp + 0x1c]
or eax, 0xffffffff
sub ebp, edi
cmp ebp, eax
push esi
cmovae ebp, eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x20]
push ebp
add eax, edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, eax
mov eax, dword [esp + 0xc]
cmp ecx, 1
jne 0x421e96
test eax, eax
je 0x421eac
add edi, eax
cmp eax, ebp
jb 0x421ec0
test ecx, ecx
je 0x421eb1
cmp edi, dword [esp + 0x1c]
jae 0x421ec0
mov ecx, dword [esp + 0x10]
jmp 0x421e64
push 0xffffffffffffffef
pop esi
jmp 0x421ec0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0040dc02
mov esi, eax
pop ebp
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x421ecb
mov dword [ecx], edi
pop edi
mov eax, esi
pop esi
pop ecx
pop ecx
ret
Function at 0x436cfd
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x4f7004]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov ebx, dword [esp + 0x34]
mov eax, ecx
push ebp
push esi
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x18]
push edi
mov edi, dword [esp + 0x44]
push 0x17
push ecx
push edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
call eax
add esp, 0xc
cmp eax, 0x17
jne 0x436e15
add dword [ebx], eax
mov al, byte [esp + 0x1c]
mov byte [esi + 4], al
mov al, byte [esp + 0x1d]
mov byte [esi + 5], al
lea eax, [esp + 0x1e]
push 8
push eax
lea eax, [esi + 8]
mov dword [esi], 0x5367674f
push eax
call fcn.00449aa0
push 4
lea eax, [esp + 0x36]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.00449aa0
push 4
lea eax, [esp + 0x46]
push eax
lea eax, [esi + 0x14]
push eax
call fcn.00449aa0
push 4
lea eax, [esp + 0x56]
push eax
lea eax, [esi + 0x18]
push eax
call fcn.00449aa0
mov al, byte [esp + 0x62]
add esp, 0x30
xor ebx, ebx
mov byte [esi + 0x1c], al
mov dword [esp + 0x2e], ebx
mov ebp, ebx
mov edx, dword [edi]
mov eax, edx
movzx ecx, byte [esp + ebp + 0x1c]
shr eax, 0x18
xor ecx, eax
shl edx, 8
xor edx, dword [ecx*4 + 0x47f398]
inc ebp
mov dword [edi], edx
cmp ebp, 0x17
jb 0x436da7
movzx eax, byte [esi + 0x1c]
lea ecx, [esi + 0x1d]
movzx ebp, byte [esi + 0x1c]
push eax
push ecx
push dword [esp + 0x18]
call dword [esp + 0x20]
add esp, 0xc
cmp eax, ebp
jne 0x436e15
mov eax, dword [esp + 0x18]
add dword [eax], ebp
cmp byte [esi + 0x1c], bl
jbe 0x436e11
mov edx, dword [edi]
mov eax, edx
movzx ecx, byte [esi + ebx + 0x1d]
shr eax, 0x18
xor ecx, eax
shl edx, 8
xor edx, dword [ecx*4 + 0x47f398]
inc ebx
mov dword [edi], edx
movzx eax, byte [esi + 0x1c]
cmp ebx, eax
jb 0x436dee
xor eax, eax
jmp 0x436e18
push 0xffffffffffffffcb
pop eax
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00448363
add esp, 0x28
ret
Function at 0x436f9f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x13c
mov eax, dword [0x4f7004]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], edx
mov ebx, ecx
mov edx, dword [ebx + 8]
lea eax, [esp + 0x14]
mov ecx, dword [ebx]
and dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00436e2b
add esp, 0xc
test eax, eax
jne 0x437033
mov eax, dword [esp + 0x18]
xor ecx, ecx
add dword [ebx + 0x10], eax
movzx edx, byte [esp + 0x3c]
adc ecx, dword [ebx + 0x14]
xor ebp, ebp
mov dword [ebx + 0x14], ecx
xor ecx, ecx
test edx, edx
je 0x437013
movzx eax, byte [esp + ecx + 0x3d]
add ebp, eax
inc ecx
mov eax, ebp
cmp ecx, edx
jl 0x436ffe
cmp eax, 0xff1b
ja 0x436fbd
mov eax, dword [esp + 0x30]
cmp eax, dword [ebx + 0x20]
je 0x43704e
test ebp, ebp
je 0x436fbd
xor edx, edx
mov ecx, ebx
push 0
push ebp
inc edx
call fcn.00436ec4
pop ecx
pop ecx
test eax, eax
jne 0x436fbd
xor eax, eax
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00448363
add esp, 0x13c
ret
push ebp
lea edi, [ebx + 0x270]
push edi
push dword [ebx + 8]
call dword [ebx]
add esp, 0xc
add dword [ebx + 0x10], eax
adc dword [ebx + 0x14], 0
cmp eax, ebp
jne 0x437033
mov edx, dword [esp + 0x14]
xor esi, esi
mov dword [ebx + 0x26c], ebp
test ebp, ebp
je 0x437093
movzx ecx, byte [edi + esi]
mov eax, edx
shr eax, 0x18
xor ecx, eax
shl edx, 8
xor edx, dword [ecx*4 + 0x47f398]
inc esi
cmp esi, ebp
jb 0x437079
cmp edx, dword [esp + 0x38]
je 0x4370af
cmp dword [esp + 0x1c], 0
je 0x436fbd
xor edx, edx
mov ecx, ebx
call fcn.00436f9f
jmp 0x437033
push 0x48
lea edi, [ebx + 0x148]
mov dword [ebx + 0x268], ebp
pop ecx
lea esi, [esp + 0x20]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
inc eax
jmp 0x437035
Function at 0x448f3a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x448f79
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x448f79
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x448f79
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x448f79
cmp dword [ecx + 0x74], 0xe
jbe 0x448f79
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x457584
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004573fa

Function at 0x45fdc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45fded
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45fded
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x437720
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43774d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43774d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40876d
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x40876f
ret

Function at 0x408ac0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cdq
dec ebp
or al, 0x56
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp + 8]
push 0
mov ecx, dword [edx + ebp*2 - 0x3aa7300]
or ch, cl
or dword [edx], ebp
push edx
fsubp st(2)
or byte [ebp - 0x50950bbb], cl
push eax
push esi
mov dword [ebp - 4], 0x35
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0x46
jne 0x408b2a
push edi
mov edi, dword [0x25c184]
call edi
test eax, eax
jne 0x408b15
mov dword [esi], eax
pop edi
pop esi
lcall 0xff00, 0xfbc25de5
xlatb
call edi
mov dword [esi], 0x510000c9
pop edi
add eax, 0xafc80
pop esi
mov esp, ebp
pop ebp
add al, 0xc
inc esi
mov ebx, dword [edx - 0x69f97670]
shl al, 0x8b
sbb dword [ebp - 0x20], ebx
or al, 0
wait
nop
in al, 0xa3
nop
nop
nop
nop
push ebp
mov ebp, esp
sbb dword [edi + 0x10], 0xffffff8b
dec ebp
mov ebx, 0x28758b56
push 0
lea edx, [ebp - 8]
adc ch, 0xcb
push es
push edx
mov edx, dword [ebp + 0x5b]
mov dword [ebp - 0x5b], eax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], ecx
mov word [ebx + 0x4da40442], cs
invalid