joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d8f90
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x228
mov eax, dword [0x551e00]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
mov esi, dword [0x55bccc]
xor cl, cl
mov byte [esp + 7], cl
test esi, esi
je 0x4d9174
push ebx
push edi
jmp 0x4d8fc0
cmp byte [esi + 0xc], 0
lea eax, [esi + 0xc]
je 0x4d9168
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x4d9164
mov eax, dword [eax + 0xc]
push 0x100
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 4], eax
lea eax, [esp + 0x134]
push eax
call sub.WS2_32.dll_gethostname
cmp eax, 0xffffffff
je 0x4d9156
lea eax, [esp + 0x130]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x4d9156
mov eax, dword [eax + 0xc]
push 1
mov eax, dword [eax]
mov ebx, dword [eax]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], 0x10c
push eax
call fcn.004d48d0
test eax, eax
jne 0x4d9156
mov edx, dword [esp + 0x24]
test edx, edx
jle 0x4d9156
lea ecx, [esp + 0x28]
jmp 0x4d9060
cmp dword [ecx], ebx
je 0x4d907d
inc eax
add ecx, 0x18
cmp eax, edx
jl 0x4d9060
mov cl, byte [esp + 0xf]
xor al, al
or cl, al
mov byte [esp + 0xf], cl
jmp 0x4d9168
lea eax, [eax + eax*2]
mov edx, dword [esp + eax*8 + 0x30]
test edx, edx
je 0x4d9156
mov ecx, dword [esi + 4]
mov eax, ebx
shr eax, 0x18
and ecx, edx
mov byte [esp + 0x14], al
not edx
mov eax, ebx
mov byte [esp + 0x1f], cl
shr eax, 0x10
mov byte [esp + 0x15], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x16], al
movzx eax, byte [esi + 7]
mov byte [esp + 0x10], al
movzx eax, byte [esi + 6]
mov byte [esp + 0x11], al
movzx eax, byte [esi + 5]
mov byte [esp + 0x12], al
movzx eax, byte [esi + 4]
mov byte [esp + 0x13], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x1c], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x1d], al
mov eax, ecx
mov ecx, dword [esp + 0x10]
shr eax, 8
mov byte [esp + 0x1e], al
mov eax, edx
mov edi, dword [esp + 0x1c]
shr eax, 0x18
mov byte [esp + 0x18], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x19], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], dl
mov eax, dword [esp + 0x18]
or eax, edi
mov byte [esp + 0x17], bl
cmp ecx, edi
jbe 0x4d9134
cmp ecx, eax
jae 0x4d9132
mov edx, dword [esp + 0x14]
cmp edx, edi
jbe 0x4d9132
cmp edx, eax
jb 0x4d913a
cmp ecx, edi
je 0x4d914f
cmp ecx, eax
je 0x4d914f
mov cl, byte [esp + 0xf]
mov al, 1
or cl, al
mov dword [esi + 8], 1
mov byte [esp + 0xf], cl
jmp 0x4d9168
mov dword [esi + 8], 0
mov cl, byte [esp + 0xf]
xor al, al
or cl, al
mov byte [esp + 0xf], cl
jmp 0x4d9168
mov cl, byte [esp + 0xf]
mov esi, dword [esi]
test esi, esi
jne 0x4d8fc0
pop edi
pop ebx
mov al, cl
mov ecx, dword [esp + 0x228]
pop esi
xor ecx, esp
call fcn.004f9e32
add esp, 0x228
ret
Function at 0x4d9190
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x124
mov eax, dword [0x551e00]
xor eax, esp
mov dword [esp + 0x120], eax
mov eax, dword [0x54fed8]
push ebx
mov ebx, dword [esp + 0x12c]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov edi, dword [esp + 0x13c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 1
lea ecx, [ecx]
call ebp
mov ecx, ebx
sub ecx, eax
mov eax, 0
cmovs ecx, eax
cmp dword [0x559f2c], eax
jne 0x4d9279
mov dword [esp + 0x118], eax
imul eax, ecx, 0x3e8
mov dword [esp + 0x11c], eax
lea eax, [esp + 0x118]
push eax
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push 0x40
call sub.WS2_32.dll_select
cmp eax, 1
jl 0x4d9279
mov esi, dword [0x559f34]
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x124]
mov dword [esp + 0x118], 0x10
push eax
push 0
push 0x7fff
push esi
push dword [0x54fed8]
call sub.WS2_32.dll_recvfrom
cmp eax, 0xffffffff
je 0x4d9279
test byte [esi + 1], 0x80
je 0x4d91d0
cmp byte [esi + 6], 0x12
jne 0x4d91d0
test edi, edi
je 0x4d9275
mov ecx, dword [esp + 0x124]
mov dword [edi], ecx
mov eax, esi
jmp 0x4d927b
xor eax, eax
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f9e32
add esp, 0x124
ret 8

Function at 0x4d92a0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x118
mov eax, dword [0x551e00]
xor eax, esp
mov dword [esp + 0x114], eax
imul edx, dword [esp + 0x124], 0x3e8
mov ecx, dword [esp + 0x11c]
push ebx
push ebp
push esi
push edi
mov edi, dword [0x559f34]
mov ebp, 1
mov dword [esp + 0x10], ecx
mov ebx, edi
mov esi, 0x7fff
mov dword [esp + 0x14], edx
jmp 0x4d92f0
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x11c]
push eax
push 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 1
push eax
push 0x40
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], edx
call sub.WS2_32.dll_select
cmp eax, 1
jl 0x4d93a5
mov eax, dword [esp + 0x10]
push 0
push esi
push ebx
push dword [eax + 4]
call sub.WS2_32.dll_recv
test eax, eax
je 0x4d9399
cmp eax, 0xffffffff
je 0x4d938d
test ebp, ebp
je 0x4d9374
cmp byte [edi], 0xb2
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jne 0x4d92f0
mov cl, byte [esp + 0x130]
cmp byte [edi + 6], cl
mov ecx, dword [esp + 0x10]
jne 0x4d92f0
test byte [edi + 1], 0x80
je 0x4d92f0
movzx esi, word [edi + 2]
xor ebp, ebp
cmp esi, eax
jbe 0x4d9389
mov ecx, dword [esp + 0x10]
sub esi, eax
mov edx, dword [esp + 0x14]
add ebx, eax
jmp 0x4d92f0
mov eax, edi
jmp 0x4d93b1
mov dword [0x54fd74], 0x62
jmp 0x4d93af
mov dword [0x54fd74], 0x65
jmp 0x4d93af
mov dword [0x54fd74], 0x63
xor eax, eax
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f9e32
add esp, 0x118
ret 0xc
Function at 0x4da4e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, dword [edi + 8]
mov eax, dword [edi + 0xc]
test ebp, ebp
je 0x4da541
push ebx
mov ebx, dword [esp + 0x18]
lea ebx, [ebx]
movzx edx, byte [edi + eax + 0x18]
dec ebp
movzx ecx, byte [edi + esi + 0x18]
add ecx, edx
mov edx, dword [esp + 0x1c]
inc dword [esp + 0x1c]
mov byte [edi + esi + 0x18], cl
movzx ecx, cl
movzx edx, byte [edx]
xor edx, ecx
test ebx, ebx
je 0x4da528
mov byte [ebx], dl
inc ebx
test esi, esi
je 0x4da52f
dec esi
jmp 0x4da532
mov esi, dword [edi + 4]
test eax, eax
je 0x4da539
dec eax
jmp 0x4da53c
mov eax, dword [edi + 4]
test ebp, ebp
jne 0x4da500
pop ebx
mov dword [edi + 8], esi
mov dword [edi + 0xc], eax
pop edi
pop esi
pop ebp
ret
Function at 0x4dace0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [esp + 8]
xor ecx, ecx
mov dword [esp], ecx
cmp edx, 0x30
ja case.0x4dacf6.1
movzx eax, byte [edx + 0x4dae90]
jmp dword [eax*4 + 0x4dae80]
mov ecx, 0x14
jmp 0x4dad1b
xor ecx, ecx
cmp byte [esp + 0xc], cl
setne cl
lea ecx, [ecx*8 + 8]
jmp 0x4dad1b
mov ecx, 8
mov dword [esp], ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp edi, ecx
jbe 0x4dadd2
mov ebx, dword [esp + 0x20]
lea edx, [ecx + ebx]
mov esi, edi
mov eax, ebx
sub esi, ecx
cmp ecx, esi
cmovb esi, ecx
xor ebp, ebp
test esi, esi
je 0x4dadc0
cmp esi, 0x20
jb 0x4dada4
lea ecx, [edx - 1]
add ecx, esi
cmp ebx, ecx
ja 0x4dad5d
lea ecx, [ebx - 1]
add ecx, esi
cmp ecx, edx
jae 0x4dada0
mov ecx, esi
mov ebx, esi
and ecx, 0x1f
sub ebx, ecx
jmp 0x4dad70
movdqu xmm0, xmmword [edx]
add ebp, 0x20
movdqu xmm1, xmmword [eax]
pxor xmm1, xmm0
movdqu xmmword [eax], xmm1
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm0, xmmword [edx + 0x10]
add edx, 0x20
pxor xmm1, xmm0
movdqu xmmword [eax + 0x10], xmm1
add eax, 0x20
cmp ebp, ebx
jb 0x4dad70
mov ecx, dword [esp + 0x10]
cmp ebp, esi
jae 0x4dadc0
mov ebx, esi
sub ebx, ebp
lea esp, [esp]
mov cl, byte [edx]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
dec ebx
jne 0x4dadb0
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
sub edi, esi
cmp edi, ecx
ja 0x4dad35
mov edx, dword [esp + 0x18]
lea eax, [edx - 0x20]
cmp eax, 0x30
ja case.0x4dade1.33
movzx eax, byte [eax + 0x4daed0]
jmp dword [eax*4 + 0x4daec4]
mov ebx, 8
jmp 0x4dae08
cmp byte [esp + 0x1c], 0
mov ebx, 0x14
mov eax, 8
cmovne ebx, eax
jmp 0x4dae08
mov ebx, 0x14
cmp edi, ebx
jae 0x4dae37
mov eax, dword [esp + 0x20]
lea ebp, [eax + edi]
mov esi, ebx
sub esi, edi
cmp edi, esi
cmovb esi, edi
push esi
push eax
push ebp
call fcn.004fa290
mov eax, dword [esp + 0x2c]
add edi, esi
add esp, 0xc
add ebp, esi
cmp edi, ebx
jb 0x4dae13
mov edx, dword [esp + 0x18]
cmp byte [esp + 0x1c], 0
je 0x4dae73
cmp edi, 0x10
jae 0x4dae73
cmp edx, 0x20
je 0x4dae4d
cmp edx, 0x30
jne 0x4dae73
mov eax, 0x10
sub eax, edi
push eax
mov eax, dword [esp + 0x24]
add eax, edi
push 0
push eax
call fcn.004fa8e0
add esp, 0xc
mov eax, 0x10
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x4db0f0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov edx, dword [ebx]
movzx edi, word [ebx + edx*4 + 0x1c]
lea ebp, [edx - 1]
movzx eax, word [ebx + edx*4 + 0x18]
movzx esi, word [ebx + edx*4 + 0x24]
shl edi, 0x10
or edi, eax
shl esi, 0x10
movzx eax, word [ebx + edx*4 + 0x20]
xor edi, dword [ecx]
or esi, eax
xor esi, dword [ecx + 4]
xor esi, edi
test ebp, ebp
js 0x4db153
lea eax, [ebx + 8]
lea eax, [eax + ebp*4]
mov dword [esp + 0x14], eax
mov edx, dword [eax]
mov ecx, esi
call fcn.004db020
xor eax, edi
mov edi, esi
mov esi, eax
mov eax, dword [esp + 0x14]
sub eax, 4
dec ebp
mov dword [esp + 0x14], eax
jns 0x4db134
mov edx, dword [ebx]
movzx ecx, word [ebx + edx*4 + 0x14]
movzx eax, word [ebx + edx*4 + 0x10]
shl ecx, 0x10
or ecx, eax
movzx eax, word [ebx + edx*4 + 8]
xor ecx, esi
xor edi, ecx
movzx ecx, word [ebx + edx*4 + 0xc]
shl ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x18]
xor ecx, esi
mov dword [eax + 4], edi
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
ret 8

Function at 0x4db190
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
mov ebp, dword [ebx]
mov dword [esp + 0x18], ebp
movzx edi, word [ebx + ebp*4 + 0xc]
movzx eax, word [ebx + ebp*4 + 8]
movzx esi, word [ebx + ebp*4 + 0x14]
shl edi, 0x10
or edi, eax
shl esi, 0x10
movzx eax, word [ebx + ebp*4 + 0x10]
xor edi, dword [edx]
or esi, eax
xor esi, dword [edx + 4]
xor esi, edi
test ebp, ebp
jle 0x4db1f4
lea eax, [ebx + 8]
mov ebx, eax
mov edx, dword [ebx]
mov ecx, esi
call fcn.004db020
xor eax, edi
lea ebx, [ebx + 4]
mov edi, esi
mov esi, eax
dec ebp
jne 0x4db1d3
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
movzx ecx, word [ebx + ebp*4 + 0x24]
movzx eax, word [ebx + ebp*4 + 0x20]
shl ecx, 0x10
or ecx, eax
movzx eax, word [ebx + ebp*4 + 0x18]
xor ecx, esi
xor edi, ecx
movzx ecx, word [ebx + ebp*4 + 0x1c]
shl ecx, 0x10
or ecx, eax
mov dword [edx + 4], edi
pop edi
xor ecx, esi
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x4db230
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x20]
push ebp
push esi
xor esi, esi
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
cdq
sub eax, edx
sar eax, 1
add eax, 4
mov dword [esp + 0x10], eax
test eax, eax
jle 0x4db37c
mov edx, dword [esp + 8]
push ebx
push edi
lea edi, [ecx + 0xc]
movzx ecx, dl
mov ebx, ebp
mov dword [esp + 0x14], ecx
xor ebx, esi
mov ecx, edx
mov dword [esp + 0x30], ebx
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x1c], ecx
shr edx, 0x10
mov ecx, edx
movzx ebx, bl
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x30]
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x30]
shr ecx, 0x10
movzx eax, cl
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x30], ecx
movzx ecx, dl
xor ecx, dword [esp + 0x2c]
mov dl, byte [esp + 0x14]
xor bl, cl
xor dl, byte [esp + 0x1c]
mov dword [esp + 0x24], ecx
add dl, bl
lea ecx, [edx + 1]
inc dl
movzx ebx, cl
shl dl, 2
movzx ecx, dl
shr ebx, 6
or ebx, ecx
mov ecx, dword [esp + 0x20]
xor cl, bl
xor al, bl
add cl, byte [esp + 0x24]
movzx edx, cl
shl cl, 2
movzx ecx, cl
add al, byte [esp + 0x14]
shr edx, 6
or edx, ecx
mov ecx, dword [esp + 0x30]
xor cl, dl
add cl, byte [esp + 0x2c]
mov dword [esp + 0x30], ecx
inc cl
inc byte [esp + 0x30]
shl byte [esp + 0x30], 2
shr cl, 6
or cl, byte [esp + 0x30]
movzx ecx, cl
shl cx, 8
movzx esi, cx
movzx ecx, dl
or esi, ecx
mov dword [esp + 0x2c], eax
movzx ecx, bl
mov ebx, eax
shl cx, 8
movzx edx, cx
movzx ecx, bl
shr ecx, 6
or edx, ecx
shl bl, 2
movzx ecx, bl
or edx, ecx
shl esi, 0x10
or esi, edx
movzx ecx, si
mov dword [edi - 4], ecx
mov ecx, esi
shr ecx, 0x10
mov dword [edi], ecx
dec dword [esp + 0x18]
lea edi, [edi + 8]
mov ecx, dword [esp + 0x10]
mov edx, ebp
mov ebp, esi
mov dword [esp + 0x10], edx
mov esi, ecx
jne 0x4db267
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x18
ret 8
Function at 0x4db390
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov ebp, edi
shr ebp, 3
and edi, 7
mov dword [esp + 0x28], edi
je 0x4db3bb
dec ebp
jne 0x4db3bb
mov ebp, dword [ebx]
mov eax, dword [ebx + 4]
jmp 0x4db406
test ebp, ebp
je 0x4db3fe
mov esi, dword [esp + 0x24]
mov edi, dword [esi]
mov eax, dword [esi + 4]
push esi
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], eax
call fcn.004db0f0
mov eax, dword [ebx]
xor dword [esi], eax
mov eax, dword [ebx + 4]
xor dword [esi + 4], eax
add esi, 8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [ebx], edi
mov dword [ebx + 4], eax
dec ebp
jne 0x4db3c3
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
jmp 0x4db40e
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x20], eax
test edi, edi
je 0x4db4b8
mov eax, dword [esi]
push esi
mov dword [ebx], eax
mov eax, dword [esi + 4]
push ecx
mov dword [ebx + 4], eax
call fcn.004db0f0
xor ecx, ecx
lea edx, [esi + 8]
mov ebx, esi
test edi, edi
je 0x4db4a5
cmp edi, 0x10
jb 0x4db481
lea eax, [esi - 1]
add eax, edi
cmp edx, eax
ja 0x4db449
lea eax, [edx - 1]
add eax, edi
cmp eax, esi
jae 0x4db481
mov eax, edi
mov dword [esp + 0x28], edi
and eax, 0xf
sub dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
lea ebx, [ebx]
movdqu xmm1, xmmword [edx]
add ecx, 0x10
movdqu xmm0, xmmword [ebx]
pxor xmm0, xmm1
movdqu xmmword [edx], xmm0
add edx, 0x10
movdqu xmmword [ebx], xmm1
add ebx, 0x10
cmp ecx, eax
jb 0x4db460
cmp ecx, edi
jae 0x4db4a5
sub ebx, edx
sub edi, ecx
lea esp, [esp]
mov cl, byte [edx]
lea edx, [edx + 1]
mov al, byte [ebx + edx - 1]
xor al, cl
mov byte [edx - 1], al
mov byte [ebx + edx - 1], cl
dec edi
jne 0x4db490
push esi
push dword [esp + 0x20]
call fcn.004db0f0
xor dword [esi], ebp
mov eax, dword [esp + 0x20]
xor dword [esi + 4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
Function at 0x4db4d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, ebp
shr ebp, 3
and edi, 7
test ebp, ebp
je 0x4db50c
lea esp, [esp]
mov eax, dword [ebx]
xor dword [esi], eax
mov eax, dword [ebx + 4]
xor dword [esi + 4], eax
push esi
push dword [esp + 0x18]
call fcn.004db190
mov ebx, esi
add esi, 8
dec ebp
jne 0x4db4f0
test edi, edi
je 0x4db58d
xor ecx, ecx
mov edx, ebx
test edi, edi
je 0x4db583
cmp edi, 0x10
jb 0x4db565
lea eax, [edi - 1]
lea ebp, [edi - 1]
add eax, ebx
add ebp, esi
cmp esi, eax
ja 0x4db52f
cmp ebp, ebx
jae 0x4db565
mov eax, edi
mov ebp, edi
and eax, 0xf
sub ebp, eax
jmp 0x4db540
movdqu xmm0, xmmword [edx]
add ecx, 0x10
movdqu xmm1, xmmword [esi]
movdqu xmmword [esi], xmm0
add esi, 0x10
movdqu xmm0, xmmword [edx]
pxor xmm0, xmm1
movdqu xmmword [edx], xmm0
add edx, 0x10
cmp ecx, ebp
jb 0x4db540
cmp ecx, edi
jae 0x4db583
sub esi, edx
sub edi, ecx
lea ecx, [ecx]
mov al, byte [edx]
lea edx, [edx + 1]
mov cl, byte [esi + edx - 1]
mov byte [esi + edx - 1], al
xor byte [edx - 1], cl
dec edi
jne 0x4db570
push ebx
push dword [esp + 0x18]
call fcn.004db190
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
pop edi
pop esi
mov dword [ecx], eax
mov eax, dword [ebx + 4]
pop ebp
mov dword [ecx + 4], eax
pop ebx
ret 0x10
Function at 0x4dbad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3cc
mov eax, dword [0x551e00]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
mov ebx, dword [esp + 0x3d4]
lea eax, [esp + 4]
push ebp
mov ebp, dword [esp + 0x3e0]
push esi
push edi
mov edi, dword [esp + 0x3e4]
mov esi, ecx
push 0x90
push eax
push 1
mov eax, dword [esi + 0x24]
push ebx
call eax
add esp, 0x10
cmp eax, 0x90
je 0x4dbb28
push ebx
mov ecx, esi
call fcn.004dc4b0
jmp 0x4dbc2d
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
or ecx, dword [esp + 0x38]
or eax, dword [esp + 0x1c]
jne 0x4dbb44
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x20]
or ecx, eax
mov dword [esi + 0x54], ecx
cmp dword [ebp], 0
jne 0x4dbb63
movzx eax, byte [esp + 0x10]
shl ax, 8
movzx ecx, ax
movzx eax, byte [esp + 0x11]
or ecx, eax
mov dword [ebp], ecx
mov ax, word [esp + 0x12]
mov ecx, dword [esp + 0x98]
or ecx, dword [esp + 0x78]
mov word [edi + 4], ax
mov eax, dword [esp + 0x14]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x7c]
or eax, dword [esp + 0x5c]
jne 0x4dbb95
mov eax, dword [esp + 0x80]
or eax, dword [esp + 0x60]
or ecx, eax
or dword [esi + 0x54], ecx
cmp dword [edi + 0x40], 0
jne 0x4dbc2b
push 0x220
lea eax, [esp + 0xa4]
push eax
mov eax, dword [esi + 0x24]
push 0x37
push ebx
call eax
add esp, 0x10
cmp eax, 0x220
jne 0x4dbbf8
mov cx, word [esp + 0xa4]
mov al, cl
shr al, 3
test al, 1
je 0x4dbbdb
lea eax, [esp + 0x140]
jmp 0x4dbc22
shr cl, 2
test cl, 1
lea ecx, [edi + 0x2c]
je 0x4dbbef
lea eax, [esp + 0x120]
jmp 0x4dbc25
lea eax, [esp + 0x1c0]
jmp 0x4dbc25
push 0x118
lea eax, [esp + 0x2c4]
push eax
mov eax, dword [esi + 0x24]
push 0xa
push ebx
call eax
add esp, 0x10
cmp eax, 0x118
jne 0x4dbb1b
lea eax, [esp + 0x2d8]
lea ecx, [edi + 0x2c]
push eax
call fcn.00472410
xor eax, eax
mov ecx, dword [esp + 0x3d8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f9e32
add esp, 0x3cc
ret 0xc
Function at 0x4e2990
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x53313b
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x551e00]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x551e00]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x190]
push 0
push eax
call fcn.004ddfd0
mov ebx, eax
test ebx, ebx
jne 0x4e29ee
lea eax, [ebx - 2]
jmp 0x4e2bed
cmp dword [ebx + 0x94], 0
je 0x4e2a03
lea esi, [ebx + 0x90]
mov dword [esp + 0x1c], esi
jmp 0x4e2a0b
mov dword [esp + 0x1c], 0
mov ecx, ebx
call fcn.004dd270
test al, al
jne 0x4e2a21
mov eax, dword [ebx + 0xa8]
jmp 0x4e2bed
mov ecx, dword [ebx + 4]
cmp ecx, 0x100
jne 0x4e2a33
xor eax, eax
jmp 0x4e2bed
xor al, al
mov dword [esp + 0x14], eax
cmp ecx, 0x200
jne 0x4e2a5e
mov edx, dword [ebx + 0x14]
cmp edx, 0x5b8d80
jb 0x4e2a5e
cmp edx, 0xffffffff
movzx eax, al
mov esi, 1
cmovbe eax, esi
mov dword [esp + 0x14], eax
cmp ecx, 0x400
je 0x4e2a6e
test al, al
jne 0x4e2a6e
xor edi, edi
jmp 0x4e2a71
mov edi, dword [ebx + 0x18]
mov esi, dword [ebx + 0x14]
lea eax, [esp + 0x34]
push 0x40
push 0
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x3c], 0
call fcn.004fa8e0
add esp, 0xc
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x24]
mov dword [esp + 0x188], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
lea ecx, [ebp + 0x2d0]
call fcn.004e44a0
mov esi, dword [esp + 0x18]
cmp esi, dword [ebp + 0x2d0]
jne 0x4e2adb
mov esi, 0xfffffff7
jmp 0x4e2beb
push 0xc8
lea eax, [esp + 0x78]
push 0
push eax
call fcn.004fa8e0
mov eax, dword [ebx + 4]
add esp, 0xc
cmp eax, 0x200
je 0x4e2b12
cmp eax, 0x400
jne 0x4e2b2c
mov dword [esp + 0x74], 2
mov dword [esp + 0x78], 0x88
jmp 0x4e2b2c
xor eax, eax
mov dword [esp + 0x78], 0
cmp byte [esp + 0x14], al
mov ecx, 5
cmovne eax, ecx
mov dword [esp + 0x74], eax
lea eax, [esi + 0x20]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x11c]
push 0x20
push eax
push dword [ebp + 0x2f8]
call fcn.0046b810
mov eax, dword [ebx + 4]
add esp, 0xc
xor esi, esi
cmp eax, 0x400
je 0x4e2b62
cmp eax, 0x200
jne 0x4e2beb
call fcn.00426310
mov ebp, dword [esp + 0x1c]
mov edi, eax
push 0x40
lea eax, [esp + 0x140]
push 0
mov ebp, dword [ebp + 4]
push eax
call fcn.004fa8e0
push 0x40
lea eax, [esp + 0x14c]
push eax
lea eax, [esp + 0x88]
push eax
mov eax, dword [edi + 0x38]
push ebp
call eax
add esp, 0x1c
test eax, eax
je 0x4e2bc4
push 0x40
push dword [esp + 0x18]
lea eax, [esp + 0x144]
push 0x40
push eax
lea eax, [esp + 0x84]
push eax
mov eax, dword [edi + 0x3c]
call eax
add esp, 0x14
test eax, eax
jne 0x4e2beb
push ebp
mov ecx, edi
call fcn.004dc4b0
mov esi, eax
test esi, esi
je 0x4e2beb
mov ecx, dword [esp + 0x20]
push esi
push ebx
call fcn.004de7e0
test al, al
je 0x4e2be5
xor esi, esi
jmp 0x4e2beb
mov dword [ebx + 0xa8], esi
mov eax, esi
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.004f9e32
add esp, 0x178
ret 4
Function at 0x4e7260
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x533438
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x551e00]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
push edi
mov eax, dword [0x551e00]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
lea ecx, [esp + 0x14]
movq qword [esp + 0x14], xmm0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00427280
mov dword [esp + 0x14], eax
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x2c], 0
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x4e739e
mov eax, dword [esi]
lea edi, [esi + 0x14]
push edi
mov ecx, esi
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x4e739e
push edi
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.004e73f0
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x18]
mov eax, dword [esi + 0x10]
lea ebx, [esi + 8]
sub eax, dword [ebx]
mov ecx, dword [esp + 0x18]
sar eax, 5
cmp eax, ecx
jae 0x4e7332
cmp ecx, 0x7ffffff
jbe 0x4e732a
push 0x4084dc
call fcn.004f8949
push ecx
mov ecx, ebx
call fcn.004e7820
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
cmp esi, edi
je 0x4e739a
lea esp, [esp]
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
call fcn.004e7a20
cmp byte [esi + 0xd], 0
jne 0x4e7392
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4e7370
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4e7392
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4e7364
jmp 0x4e7392
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4e7390
lea esp, [esp]
cmp esi, dword [eax + 8]
jne 0x4e7390
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4e7380
mov esi, eax
cmp esi, edi
jne 0x4e7340
mov edi, dword [esp + 0x14]
mov bl, 1
jmp 0x4e73a4
mov edi, dword [esp + 0x14]
xor bl, bl
push edi
push dword [edi]
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
push eax
lea ecx, [esp + 0x20]
call fcn.0042a790
push dword [esp + 0x14]
call fcn.004f9345
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004f9e32
add esp, 0x1c
ret