Function at 0x538d10
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x148
call fcn.00525ec0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x15c]
mov ebx, dword [edi + 0x58]
mov ebp, dword [ebx + 4]
cmp byte [ebp + 0x12d], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], ebp
jne 0x539973
mov esi, ebp
or dword [esi + 0xc4], 0x40
push 0x10
mov dword [esp + 0x24], esi
call fcn.0050f3bc
add esp, 4
mov edi, 0x1000
push edi
mov ebp, eax
call fcn.0050f3bc
lea ecx, [eax + 0xf]
mov dword [ebp], eax
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
mov dword [ebp + 4], ecx
mov eax, dword [ebx + 4]
add esp, 4
cmp byte [eax + 0x134], 0
je 0x538dbb
add ecx, 0xc
mov dword [ebp + 4], ecx
cmp dword [eax + 0xec], 0x10
jne 0x538d97
add ecx, 4
mov dword [ebp + 4], ecx
or dword [eax + 0xc4], 8
cmp byte [eax + 0x135], 0
mov ecx, dword [eax + 0xc4]
je 0x538dca
or ecx, 0x800
mov dword [eax + 0xc4], ecx
jmp 0x538dca
cmp dword [eax + 0xc4], 0
je 0x538dca
add ecx, 4
mov dword [ebp + 4], ecx
cmp byte [esi + 0x125], 0
mov eax, 0x9017b
je 0x538ddd
mov eax, 0x9817b
cmp byte [esi + 0x126], 0
je 0x538deb
or eax, 0x2000
cmp byte [esi + 0x127], 0
je 0x538df9
or eax, 0x480
mov edx, dword [esi + 0x40]
xor ebx, ebx
cmp edx, ebx
je 0x538e28
mov ecx, edx
cmp word [edx], bx
je 0x538e18
lea esp, [esp]
add ecx, 2
cmp word [ecx], bx
jne 0x538e10
sub ecx, edx
sar ecx, 1
add ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], edx
jmp 0x538e30
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], ebx
mov edi, dword [esi]
mov edx, dword [edi + 0x20]
cmp edx, ebx
jne 0x538e68
push str.rdp_settings_lite_username__NULL
push 0x5bb2e0
call fcn.004157c0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00415220
mov ecx, esi
call fcn.00415310
xor eax, eax
push 1
mov byte [eax], al
call fcn.0050f84f
mov ecx, edx
cmp word [edx], bx
je 0x538e78
nop
add ecx, 2
cmp word [ecx], bx
jne 0x538e70
sub ecx, edx
sar ecx, 1
add ecx, ecx
mov dword [esp + 0x14], ecx
mov ecx, edx
mov dword [esp + 0x30], ecx
cmp ecx, ebx
jne 0x538ebb
push str.rdp_settings_lite_username__NULL
push 0x5bb2e0
call fcn.004157c0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00415220
mov ecx, esi
call fcn.00415310
xor eax, eax
push 1
mov byte [eax], al
call fcn.0050f84f
mov edx, dword [esi + 0x44]
cmp edx, ebx
je 0x538ed5
mov ecx, dword [esi + 0xc8]
cmp ecx, ebx
jbe 0x538ed5
mov dword [esp + 0x2c], edx
add ecx, 0xfffffffe
jmp 0x538f0e
mov ecx, dword [edi + 0x28]
cmp ecx, ebx
jne 0x538ee6
push str.rdp_settings_lite_Password__NULL
jmp 0x538e3e
mov edx, ecx
mov dword [esp + 0x2c], ecx
cmp edx, ebx
jne 0x538efa
push str.rdp_settings_lite_Password__NULL
jmp 0x538e3e
cmp word [edx], bx
je 0x538f08
nop
add ecx, 2
cmp word [ecx], bx
jne 0x538f00
sub ecx, edx
sar ecx, 1
add ecx, ecx
mov edx, dword [ebp + 4]
mov byte [edx], bl
mov ebx, 1
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
mov byte [edx], 0
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
mov byte [edx], 0
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
mov byte [edx], 0
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
mov byte [edx], al
add dword [ebp + 4], ebx
mov edi, dword [ebp + 4]
mov edx, eax
shr edx, 8
mov byte [edi], dl
add dword [ebp + 4], ebx
mov edi, dword [ebp + 4]
mov edx, eax
shr edx, 0x10
mov byte [edi], dl
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
shr eax, 0x18
mov byte [edx], al
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x1c]
mov byte [edx], al
add dword [ebp + 4], ebx
mov edi, dword [ebp + 4]
mov edx, eax
sar edx, 8
mov byte [edi], dl
add dword [ebp + 4], ebx
mov edi, dword [ebp + 4]
mov edx, dword [esp + 0x14]
mov byte [edi], dl
add dword [ebp + 4], ebx
mov edi, dword [ebp + 4]
sar edx, 8
mov byte [edi], dl
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
mov byte [edx], cl
add dword [ebp + 4], ebx
mov edi, dword [ebp + 4]
mov edx, ecx
sar edx, 8
mov byte [edi], dl
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
mov byte [edx], 0
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
mov byte [edx], 0
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
mov byte [edx], 0
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
mov byte [edx], 0
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
mov dword [esp + 0x18], ecx
test eax, eax
jle 0x538ff1
mov ecx, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.005165f0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add esp, 0xc
add dword [ebp + 4], edx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
cmp dword [esp + 0x14], 0
mov eax, dword [ebp + 4]
jle 0x53902b
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
push ecx
push edx
push eax
call fcn.005165f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add esp, 0xc
add dword [ebp + 4], eax
mov edx, dword [ebp + 4]
mov byte [edx], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
test ecx, ecx
jle 0x53905e
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.005165f0
mov eax, dword [esp + 0x24]
add esp, 0xc
add dword [ebp + 4], eax
mov ecx, dword [ebp + 4]
mov byte [ecx], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
cmp dword [esi + 0xf4], 5
jb 0x53955f
movzx eax, byte [esi + 0x12a]
mov edi, dword [esi + 0x38]
movzx ecx, word [esi + 0x6c]
movzx edx, word [esi + 0x3c]
neg eax
sbb eax, eax
mov dword [esp + 0x30], edi
mov edi, dword [esi + 0x4c]
mov edi, dword [edi]
and eax, 0x15
add eax, 2
mov dword [esp + 0x3c], edi
mov edi, dword [ebp + 4]
mov byte [edi], al
add dword [ebp + 4], ebx
mov edi, dword [ebp + 4]
sar eax, 8
mov byte [edi], al
add dword [ebp + 4], ebx
mov edi, dword [ebp + 4]
mov al, cl
add al, 2
mov byte [edi], al
add dword [ebp + 4], ebx
mov edi, dword [ebp + 4]
lea eax, [ecx + 2]
sar eax, 8
mov byte [edi], al
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], edx
test ecx, ecx
jle 0x53911f
mov edx, dword [esi + 0x68]
push ecx
push edx
push eax
call fcn.005165f0
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
add esp, 0xc
add dword [ebp + 4], eax
mov ecx, dword [ebp + 4]
mov byte [ecx], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov esi, dword [ebp + 4]
mov al, dl
add al, 2
mov byte [esi], al
add dword [ebp + 4], ebx
mov esi, dword [ebp + 4]
lea ecx, [edx + 2]
sar ecx, 8
mov byte [esi], cl
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
test edx, edx
jle 0x53916c
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
push edx
push ecx
push eax
call fcn.005165f0
mov edx, dword [esp + 0x20]
add esp, 0xc
add dword [ebp + 4], edx
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x20]
mov edi, dword [0x5bc16c]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov esi, dword [ecx + 0x78]
mov eax, 0x3e
cmp edi, eax
mov dword [esi + 0x18], 0
mov dword [esi], 0
mov dword [esi + 4], str.GMT_Standard_Time
mov dword [esi + 0x1c], str.GMT_Daylight_Time
jle 0x5391b7
mov edi, eax
mov dword [0x5bc16c], edi
cmp dword [0x5bc168], eax
jle 0x5391c4
mov dword [0x5bc168], eax
mov edx, dword [ebp + 4]
mov al, byte [esi]
mov byte [edx], al
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 1]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 2]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 3]
mov eax, dword [ebp + 4]
mov edx, dword [0x5bc174]
mov byte [eax], cl
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
push edi
push edx
push eax
call fcn.005165f0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
add esp, 0xc
mov ecx, 0x40
sub ecx, edi
push ecx
push 0
push eax
call fcn.00516180
mov edx, 0x40
sub edx, edi
add dword [ebp + 4], edx
movzx ecx, byte [esi + 8]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 9]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0xa]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0xb]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0xc]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0xd]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0xe]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0xf]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0x10]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0x11]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0x12]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add esp, 0xc
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
movzx edx, byte [esi + 0x13]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0x14]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0x15]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0x16]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0x17]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0x18]
mov eax, dword [ebp + 4]
mov edi, dword [0x5bc168]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0x19]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0x1a]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0x1b]
mov eax, dword [ebp + 4]
mov ecx, dword [0x5bc170]
mov byte [eax], dl
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
push edi
push ecx
push eax
call fcn.005165f0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
add esp, 0xc
mov edx, 0x40
sub edx, edi
push edx
push 0
push eax
call fcn.00516180
mov eax, 0x40
sub eax, edi
add dword [ebp + 4], eax
movzx ecx, byte [esi + 0x20]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0x21]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0x22]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0x23]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0x24]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0x25]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add esp, 0xc
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0x26]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0x27]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0x28]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0x29]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0x2a]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0x2b]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0x2c]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0x2d]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0x2e]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0x2f]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0x30]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0x31]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
movzx ecx, byte [esi + 0x32]
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], ebx
movzx edx, byte [esi + 0x33]
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0x2f
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov ecx, dword [ebp + 4]
mov eax, dword [esp + 0x3c]
mov byte [ecx], al
add dword [ebp + 4], ebx
mov esi, dword [ebp + 4]
mov ecx, eax
sar ecx, 8
mov byte [esi], cl
add dword [ebp + 4], ebx
mov esi, dword [ebp + 4]
test eax, eax
jle 0x53955f
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x4c]
movzx ecx, byte [eax]
mov byte [esi], cl
add dword [ebp + 4], ebx
movzx edx, byte [eax + 1]
mov esi, dword [ebp + 4]
mov byte [esi], dl
add dword [ebp + 4], ebx
movzx ecx, byte [eax + 2]
mov esi, dword [ebp + 4]
mov byte [esi], cl
add dword [ebp + 4], ebx
movzx edx, byte [eax + 3]
mov esi, dword [ebp + 4]
mov byte [esi], dl
add dword [ebp + 4], ebx
movzx ecx, byte [eax + 4]
mov esi, dword [ebp + 4]
mov byte [esi], cl
add dword [ebp + 4], ebx
movzx edx, byte [eax + 5]
mov esi, dword [ebp + 4]
mov byte [esi], dl
add dword [ebp + 4], ebx
movzx ecx, byte [eax + 6]
mov esi, dword [ebp + 4]
mov byte [esi], cl
add dword [ebp + 4], ebx
movzx edx, byte [eax + 7]
mov esi, dword [ebp + 4]
mov byte [esi], dl
add dword [ebp + 4], ebx
movzx ecx, byte [eax + 8]
mov esi, dword [ebp + 4]
mov byte [esi], cl
add dword [ebp + 4], ebx
movzx edx, byte [eax + 9]
mov esi, dword [ebp + 4]
mov byte [esi], dl
add dword [ebp + 4], ebx
movzx ecx, byte [eax + 0xa]
mov esi, dword [ebp + 4]
mov byte [esi], cl
add dword [ebp + 4], ebx
movzx edx, byte [eax + 0xb]
mov esi, dword [ebp + 4]
mov byte [esi], dl
add dword [ebp + 4], ebx
mov ecx, dword [ebp + 4]
movq xmm0, qword [eax + 0xc]
movq qword [ecx], xmm0
movq xmm0, qword [eax + 0x14]
movq qword [ecx + 8], xmm0
add dword [ebp + 4], 0x10
mov ax, word [ebp + 4]
sub ax, word [ebp]
movzx edx, ax
mov eax, dword [ebp]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 4]
xor eax, eax
cmp byte [edi + 0x12c], al
mov dword [esp + 0x1c], edx
setne al
movzx ecx, dx
add eax, 0x19
test byte [edi + 0xc4], 8
je 0x5395c8
cmp dword [edi + 0xec], 0x10
jne 0x5395c8
movzx edx, dx
sub edx, 0x1f
mov esi, edx
and esi, reloc.WS2_32.dll_getsockopt
jns 0x5395b3
dec esi
or esi, 0xfffffff8
inc esi
mov edx, 8
sub edx, esi
cmp edx, 8
je 0x5395c8
mov ecx, dword [esp + 0x1c]
add ecx, edx
movzx ecx, cx
mov edx, dword [ebp]
mov byte [edx], 3
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
mov byte [edx], 0
add dword [ebp + 4], ebx
mov esi, dword [ebp + 4]
mov edx, ecx
shr edx, 8
mov byte [esi], dl
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
mov byte [edx], cl
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
mov byte [edx], 2
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
mov byte [edx], pe_nt_image_headers32
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
mov byte [edx], 0x80
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
add al, al
add al, al
mov byte [edx], al
add dword [ebp + 4], ebx
movzx eax, word [edi + 0x1ca]
mov esi, dword [ebp + 4]
lea edx, [eax - 0x3e9]
sar edx, 8
mov byte [esi], dl
add dword [ebp + 4], ebx
mov edx, dword [ebp + 4]
add al, 0x17
mov byte [edx], al
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 3
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], 0xeb
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x28]
mov byte [eax], 0x70
add dword [ebp + 4], ebx
mov esi, dword [ebp + 4]
add ecx, 0xfffffff1
or ecx, 0x8000
movzx eax, cx
mov ecx, eax
shr ecx, 8
mov byte [esi], cl
add dword [ebp + 4], ebx
mov ecx, dword [ebp + 4]
movzx esi, word [esp + 0x1c]
mov byte [ecx], al
add dword [ebp + 4], ebx
mov ecx, dword [edx + 4]
mov ecx, dword [ecx + 0xc4]
mov eax, dword [ebp + 4]
and ecx, 8
mov ecx, dword [ebp]
sub eax, ecx
add ecx, eax
mov dword [ebp + 4], ecx
mov edx, dword [edx + 4]
mov eax, dword [edx + 0xc4]
mov dword [esp + 0x18], 0
test eax, eax
je 0x53988a
mov byte [ecx], al
add dword [ebp + 4], ebx
mov edi, dword [ebp + 4]
mov ecx, eax
shr ecx, 8
mov byte [edi], cl
add dword [ebp + 4], ebx
mov ecx, dword [ebp + 4]
mov byte [ecx], 0
add dword [ebp + 4], ebx
mov ecx, dword [ebp + 4]
mov byte [ecx], 0
add dword [ebp + 4], ebx
mov ecx, dword [ebp + 4]
test al, 8
je 0x539879
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 4]
cmp dword [edx + 0xec], 0x10
jne 0x539797
mov eax, dword [ebp]
mov byte [ecx], 0x10
add dword [ebp + 4], ebx
lea edi, [ecx + 0xc]
sub eax, edi
add esi, eax
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
mov byte [eax], bl
add dword [ebp + 4], ebx
mov ecx, esi
and ecx, 7
mov eax, 8
sub eax, ecx
mov dword [esp + 0x18], eax
cmp eax, 8
jne 0x539732
mov dword [esp + 0x18], 0
jmp 0x539749
test eax, eax
je 0x539749
mov edx, dword [esp + 0x18]
push edx
lea eax, [edi + esi]
push 0
push eax
call fcn.00516180
add esp, 0xc
mov ecx, dword [ebp + 4]
mov dl, byte [esp + 0x18]
mov byte [ecx], dl
mov ecx, dword [esp + 0x28]
add dword [ebp + 4], ebx
mov eax, dword [ebp + 4]
push ecx
push eax
push esi
push edi
call fcn.0052cab0
mov edx, dword [esp + 0x18]
add dword [ebp + 4], 8
push edi
lea eax, [esp + 0x34]
push eax
push edi
mov edi, dword [esp + 0x34]
lea ecx, [edx + esi]
mov edx, dword [edi + 4]
mov esi, dword [edx + 0x24]
call fcn.0046cc50
mov eax, dword [edi + 4]
add esp, 0xc
add dword [eax + 0xc0], ebx
jmp 0x539879
mov edi, dword [ebp]
lea edx, [ecx + 8]
sub edi, edx
add esi, edi
push ecx
test eax, 0x800
je 0x5397b8
mov eax, dword [esp + 0x2c]
push ebx
push esi
push edx
push eax
call fcn.0052dfb0
jmp 0x5397c4
mov ecx, dword [esp + 0x2c]
push esi
push edx
push ecx
call fcn.0052e280
add dword [ebp + 4], 8
mov edx, dword [esp + 0x28]
mov edi, dword [edx + 4]
cmp dword [edi + 0xc0], 0x1000
mov eax, dword [ebp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], edi
jb 0x53985e
mov eax, edi
mov edi, dword [eax + 0xd4]
lea edx, [eax + 0x1aa]
lea ecx, [eax + 0x146]
push edx
push ecx
call fcn.0052c260
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x539815
push eax
call fcn.0050f521
add esp, 4
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0xd4]
push 0x408
mov dword [esp + 0x34], ecx
call fcn.0050f3bc
mov edx, dword [esp + 0x34]
add esp, 4
lea ecx, [edi + 0x146]
push ecx
push edx
push eax
mov dword [esp + 0x2c], eax
call fcn.004da560
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x38]
add esp, 0xc
mov dword [edi + 0xc0], 0
mov ecx, dword [edi + 0x30]
push eax
push eax
push esi
push ecx
call fcn.004da240
add dword [edi + 0xc0], ebx
add esp, 0x10
add dword [edi + 0xd8], ebx
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
mov dword [eax + 0xc4], 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp]
mov esi, dword [esp + 0x15c]
add edx, eax
push 0
movzx edx, dx
push 0
lea eax, [edx + ecx]
mov dword [ebp + 4], eax
push 0x3c
sub eax, ecx
push 0
mov dword [ebp + 8], eax
mov edi, dword [esi + 8]
push 0
lea ecx, [esp + 0x44]
mov dword [esi + 0xc], str.rdp_send_client_info
call fcn.00417fd0
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.00412690
mov edx, dword [edi]
mov eax, dword [esi]
lea ecx, [edi + 8]
mov dword [esp + 0x40], 0x5473a0
mov dword [esp + 0x44], esi
movq xmm0, qword [esp + 0x40]
push ecx
add edx, 0x14
push edx
lea edi, [esp + 0x48]
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x50], eax
call fcn.00428200
cmp byte [esi + 0x6c], 0
mov eax, dword [ebp]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x40]
mov byte [esp + 0x30], 0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x48], ebp
mov ebp, dword [ebp + 8]
push eax
mov dword [esp + 0x44], 0x54c7a0
mov dword [esp + 0x48], esi
mov dword [esp + 0x28], ebp
push ecx
je 0x539956
mov edx, dword [esi + 0x1c]
push edx
lea esi, [esp + 0x2c]
call fcn.0042a480
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 4
mov edx, dword [esi + 0x18]
push edx
lea esi, [esp + 0x2c]
call fcn.0042a920
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 4
push 0x20
call fcn.0050f3bc
add esp, 4
mov esi, eax
push 0x108
lea eax, [esp + 0x54]
push 0
push eax
mov dword [esp + 0x24], esi
call fcn.00516180
movq xmm0, qword [0x5bc104]
movq qword [esi], xmm0
movq xmm0, qword [0x5bc10c]
movq qword [esi + 8], xmm0
movq xmm0, qword [0x5bc114]
movq qword [esi + 0x10], xmm0
movq xmm0, qword [0x5bc11c]
add esp, 0xc
movq qword [esi + 0x18], xmm0
cmp dword [ebp + 0x70], 0
jne 0x5399f5
push 0x10
call fcn.0050f3bc
pxor xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
movq qword [eax + 8], xmm0
test eax, eax
je 0x5399f2
mov dword [eax + 0xc], 0
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
lea edx, [eax + 8]
mov eax, dword [edi + 0x78]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], edx
mov ebx, 1
test eax, eax
je 0x539a7e
cmp dword [edi + 0x70], ecx
jne 0x539a7e
mov eax, dword [eax]
cmp eax, dword [edx]
jne 0x539a7e
mov ebp, dword [edi + 0x74]
mov eax, ecx
cmp ecx, 4
jb 0x539a45
lea ecx, [ecx]
mov ecx, dword [ebp]
cmp ecx, dword [esi]
jne 0x539a7e
sub eax, 4
add esi, 4
add ebp, 4
cmp eax, 4
jae 0x539a30
test eax, eax
je 0x539a69
mov dl, byte [esi]
cmp dl, byte [ebp]
jne 0x539a7e
cmp eax, ebx
jbe 0x539a69
mov cl, byte [esi + 1]
cmp cl, byte [ebp + 1]
jne 0x539a7e
cmp eax, 2
jbe 0x539a69
mov dl, byte [esi + 2]
cmp dl, byte [ebp + 2]
jne 0x539a7e
mov ebp, edi
mov esi, dword [ebp + 0x7c]
mov ecx, 0x42
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
jmp 0x539b18
mov ebp, edi
mov eax, dword [ebp + 0x7c]
push eax
call fcn.0050f521
mov ecx, dword [ebp + 0x74]
add esp, 4
push ecx
call fcn.0050f521
mov edx, dword [ebp + 0x78]
add esp, 4
push edx
call fcn.0050f521
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
add esp, 4
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push 0x20
push ecx
call fcn.0052cd40
push 0x108
call fcn.004f8dbf
mov edi, eax
mov dword [ebp + 0x7c], eax
mov ecx, 0x42
lea esi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
add esp, 4
push esi
mov dword [ebp + 0x70], esi
call fcn.004f8dbf
mov edx, dword [esp + 0x24]
add esp, 4
push esi
push edx
push eax
mov dword [ebp + 0x74], eax
call fcn.005165f0
add esp, 0xc
push 4
call fcn.004f8dbf
mov ecx, dword [esp + 0x30]
mov dword [ebp + 0x78], eax
mov edx, dword [ecx]
add esp, 4
mov dword [eax], edx
mov esi, dword [esp + 0x14]
add esi, 0x1f
push 0x10
mov dword [esp + 0x20], esi
call fcn.0050f3bc
add esp, 4
push esi
mov edi, eax
call fcn.0050f3bc
mov ecx, dword [esp + 0x2c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 0xc], esi
mov dword [edi + 8], esi
movzx edx, si
mov esi, dword [ecx + 4]
xor ecx, ecx
add esp, 4
cmp byte [esi + 0x12c], cl
mov dword [esp + 0x20], eax
setne cl
mov dword [esp + 0x30], esi
add ecx, 0x19
test byte [esi + 0xc4], 8
je 0x539ba5
cmp dword [esi + 0xec], 0x10
jne 0x539ba5
movzx eax, word [esp + 0x1c]
sub eax, 0x1f
mov esi, eax
and esi, reloc.WS2_32.dll_getsockopt
jns 0x539b8c
dec esi
or esi, 0xfffffff8
inc esi
mov eax, 8
sub eax, esi
cmp eax, 8
je 0x539ba1
mov edx, dword [esp + 0x1c]
add eax, edx
movzx edx, ax
mov eax, dword [esp + 0x20]
mov byte [eax], 3
add dword [edi + 4], ebx
mov eax, dword [edi + 4]
mov byte [eax], 0
add dword [edi + 4], ebx
mov esi, dword [edi + 4]
mov eax, edx
shr eax, 8
mov byte [esi], al
add dword [edi + 4], ebx
mov eax, dword [edi + 4]
mov byte [eax], dl
add dword [edi + 4], ebx
mov eax, dword [edi + 4]
mov byte [eax], 2
add dword [edi + 4], ebx
mov eax, dword [edi + 4]
mov byte [eax], pe_nt_image_headers32
add dword [edi + 4], ebx
mov eax, dword [edi + 4]
mov byte [eax], 0x80
add dword [edi + 4], ebx
mov eax, dword [edi + 4]
add cl, cl
add cl, cl
mov byte [eax], cl
add dword [edi + 4], ebx
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x30]
movzx eax, word [ecx + 0x1ca]
lea ecx, [eax - 0x3e9]
add al, 0x17
sar ecx, 8
mov byte [esi], cl
add dword [edi + 4], ebx
mov ecx, dword [edi + 4]
mov byte [ecx], al
add dword [edi + 4], ebx
mov eax, dword [edi + 4]
mov byte [eax], 3
add dword [edi + 4], ebx
mov eax, dword [edi + 4]
mov byte [eax], 0xeb
add dword [edi + 4], ebx
mov eax, dword [edi + 4]
mov byte [eax], 0x70
add dword [edi + 4], ebx
mov esi, dword [edi + 4]
add edx, 0xfffffff1
or edx, 0x8000
movzx eax, dx
mov edx, eax
shr edx, 8
mov byte [esi], dl
add dword [edi + 4], ebx
mov ecx, dword [edi + 4]
mov byte [ecx], al
add dword [edi + 4], ebx
mov eax, dword [edi + 4]
mov byte [eax], bl
add dword [edi + 4], ebx
mov eax, dword [edi + 4]
mov byte [eax], 0
add dword [edi + 4], ebx
mov eax, dword [edi + 4]
mov byte [eax], 0
add dword [edi + 4], ebx
mov eax, dword [edi + 4]
mov byte [eax], 0
add dword [edi + 4], ebx
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x14]
add eax, 8
mov byte [ecx], al
add dword [edi + 4], ebx
mov esi, dword [edi + 4]
mov ecx, eax
shr ecx, 8
mov byte [esi], cl
add dword [edi + 4], ebx
mov dword [esp + 0x1c], eax
mov esi, dword [edi + 4]
mov edx, eax
shr edx, 0x10
mov byte [esi], dl
add dword [edi + 4], ebx
mov esi, dword [edi + 4]
mov ecx, eax
shr ecx, 0x18
mov byte [esi], cl
add dword [edi + 4], ebx
mov ecx, dword [edi + 4]
push eax
lea edx, [esp + 0x54]
push edx
push ecx
call fcn.005165f0
mov eax, dword [esp + 0x28]
add dword [edi + 4], eax
mov eax, dword [edi + 4]
sub eax, dword [edi]
mov ecx, dword [esp + 0x48]
mov dword [edi + 8], eax
add esp, 0xc
mov dword [ecx + 0x1cc], 9
mov ebx, dword [ebp + 8]
push 0x3c
lea esi, [esp + 0x34]
mov dword [ebp + 0xc], str.rdp_client_establish_keys
call fcn.004123b0
push eax
mov ecx, ebx
call fcn.00412690
mov eax, dword [ebp]
lea edx, [esp + 0x40]
push edx
mov ecx, ebx
mov dword [esp + 0x44], 0x5473a0
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], eax
call fcn.004282d0
cmp byte [ebp + 0x6c], 0
mov eax, dword [edi]
mov ecx, dword [edi + 8]
mov byte [esp + 0x30], 0
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
je 0x539d71
mov eax, dword [0x5be844]
movzx ecx, byte [eax]
push ecx
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x24]
mov ecx, ebp
call fcn.0042b680
mov edi, dword [ebp + 0x1c]
add esp, 0xc
push eax
mov eax, dword [esp + 0x34]
push eax
lea esi, [esp + 0x28]
call fcn.0042b6b0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 4
mov ecx, dword [0x5be844]
movzx edx, byte [ecx]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x48]
push eax
mov ecx, ebp
call fcn.0042b680
mov ecx, dword [esp + 0x3c]
mov edi, dword [ebp + 0x18]
add esp, 0xc
push eax
push ecx
lea esi, [esp + 0x28]
call fcn.0042b760
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 4