Function at 0x4e7310
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54efb6
mov eax, dword fs:[0]
push eax
mov eax, 0x1120
call fcn.00523cc0
mov eax, dword [0x582654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x112c], 0
call fcn.004ea020
mov dword [ebp - 0x112c], eax
test eax, eax
je 0x4e7382
lea eax, [ebp - 0x112c]
push eax
push 0x7a885d
push 0
call fcn.004ec060
add esp, 4
mov ecx, eax
call fcn.004ec110
jmp 0x4e81de
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov dword [edi + 0x34], eax
xorps xmm0, xmm0
xor eax, eax
mov byte [ebp - 0x14], 0
push ebx
cpuid
mov esi, ebx
mov byte [ebp - 0x24], 0
movups xmmword [ebp - 0x1098], xmm0
pop ebx
lea ebx, [ebp - 0x1098]
mov dword [ebx], eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov eax, dword [ebp - 0x1098]
mov dword [ebp - 0x1124], eax
lea eax, [ebp - 0x1094]
push 4
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004d9a50
push 4
lea eax, [ebp - 0x1090]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004d9a50
push 4
lea eax, [ebp - 0x108c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004d9a50
add esp, 0x24
lea ecx, [ebp - 0x10c0]
push 0x5624a0
call fcn.004e63d0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004e0ed0
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004d9bc0
add esp, 8
mov dword [ebp - 4], 0xffffffff
test eax, eax
lea ecx, [ebp - 0x10c0]
setne bl
call fcn.004e6770
test bl, bl
je 0x4e7444
mov byte [edi + 0x39], 1
mov eax, accept
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
cmp dword [ebp - 0x1124], 1
lea ebx, [ebp - 0x1098]
mov dword [ebx], eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [ebp - 0x1098]
mov dword [ebp - 0x10e8], ecx
jl 0x4e74b4
mov eax, 1
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
lea ebx, [ebp - 0x1098]
mov dword [ebx], eax
mov eax, ebx
push 4
push eax
mov dword [ebx + 4], esi
lea eax, [edi + 0x3c]
mov dword [ebx + 8], ecx
push eax
mov dword [ebx + 0xc], edx
call fcn.004d9a50
mov eax, dword [ebp - 0x1090]
add esp, 0xc
mov ecx, dword [ebp - 0x10e8]
jmp 0x4e74ba
mov eax, dword [ebp - 0x1124]
cmp byte [edi + 0x39], 0
mov dword [ebp - 0x1124], eax
jne 0x4e74fa
cmp ecx, reloc.WSOCK32.dll_accept
jb 0x4e74f4
mov eax, reloc.WSOCK32.dll_accept
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
lea ebx, [ebp - 0x1098]
mov dword [ebx], eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov eax, dword [ebp - 0x1090]
jmp 0x4e74fa
mov eax, dword [ebp - 0x1124]
cmp dword [ebp - 0x10e8], reloc.WSOCK32.dll_connect
mov dword [ebp - 0x1128], eax
jb 0x4e77e1
mov eax, reloc.WSOCK32.dll_bind
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
lea ebx, [ebp - 0x1098]
mov dword [ebx], eax
mov eax, ebx
push 4
push eax
mov dword [ebx + 4], esi
lea eax, [ebp - 0x54]
mov dword [ebx + 8], ecx
push eax
mov dword [ebx + 0xc], edx
call fcn.004d9a50
push 4
lea eax, [ebp - 0x1094]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004d9a50
push 4
lea eax, [ebp - 0x1090]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004d9a50
push 4
lea eax, [ebp - 0x108c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004d9a50
add esp, 0x30
mov eax, reloc.WSOCK32.dll_closesocket
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
lea ebx, [ebp - 0x1098]
mov dword [ebx], eax
mov eax, ebx
push 4
push eax
mov dword [ebx + 4], esi
lea eax, [ebp - 0x44]
mov dword [ebx + 8], ecx
push eax
mov dword [ebx + 0xc], edx
call fcn.004d9a50
push 4
lea eax, [ebp - 0x1094]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004d9a50
push 4
lea eax, [ebp - 0x1090]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004d9a50
push 4
lea eax, [ebp - 0x108c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004d9a50
add esp, 0x30
mov eax, reloc.WSOCK32.dll_connect
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
lea ebx, [ebp - 0x1098]
mov dword [ebx], eax
mov eax, ebx
push 4
push eax
mov dword [ebx + 4], esi
lea eax, [ebp - 0x34]
mov dword [ebx + 8], ecx
push eax
mov dword [ebx + 0xc], edx
call fcn.004d9a50
push 4
lea eax, [ebp - 0x1094]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004d9a50
push 4
lea eax, [ebp - 0x1090]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004d9a50
push 4
lea eax, [ebp - 0x108c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004d9a50
push 0x31
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.004e1270
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004d9bf0
add esp, 0x44
lea eax, [ebp - 0x88]
push eax
call fcn.004d9d30
add esp, 4
lea ecx, [ebp - 0x10b0]
push 0x5624b4
call fcn.004e0d00
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.004e0ed0
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004d9cd0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10b0]
mov esi, eax
call fcn.004e0e60
test esi, esi
jne 0x4e76f6
push 0x5624c0
lea ecx, [ebp - 0x10c0]
call fcn.004e63d0
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.004e0ed0
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004d9cd0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c0]
mov esi, eax
call fcn.004e6770
test esi, esi
je 0x4e76fa
mov byte [edi + 0x38], 1
cmp byte [edi + 0x39], 0
je 0x4e77e1
push 0x5624d4
lea ecx, [ebp - 0x10f4]
xor bl, bl
call fcn.004e0c60
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.004e0ed0
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004d9cd0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10f4]
mov esi, eax
call fcn.004e0df0
test esi, esi
jne 0x4e7794
push 0x5624dc
lea ecx, [ebp - 0x10a8]
call fcn.004e0c60
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.004e0ed0
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004d9cd0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10a8]
mov esi, eax
call fcn.004e0df0
mov bl, 1
test esi, esi
je 0x4e77e1
mov byte [esi], 0
dec esi
lea eax, [ebp - 0x88]
cmp esi, eax
jb 0x4e77e1
cmp byte [esi], 0x20
jne 0x4e7797
inc esi
push esi
call fcn.00537bf1
fstp qword [ebp - 0x10ec]
movsd xmm0, qword [ebp - 0x10ec]
add esp, 4
ucomisd xmm0, qword [0x553c50]
lahf
test ah, 0x44
jnp 0x4e77e1
test bl, bl
je 0x4e77d9
mulsd xmm0, qword [0x562860]
call fcn.00523ed1
mov dword [edi + 0x40], eax
mov ebx, dword [ebp - 0x1124]
xor eax, eax
mov word [ebp - 0x1088], ax
test bl, 1
je 0x4e783c
push 0x5624e4
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.004e5c80
push eax
lea eax, [ebp - 0x1088]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test ebx, 0x800000
je 0x4e788b
push 0x5624f8
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 6
call fcn.004e5c80
push eax
lea eax, [ebp - 0x1088]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test ebx, 0x2000000
je 0x4e78da
push 0x56250c
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 7
call fcn.004e5c80
push eax
lea eax, [ebp - 0x1088]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
cmp byte [edi + 0x39], 0
mov esi, dword [ebp - 0x1128]
je 0x4e7991
test esi, 0x4000000
je 0x4e7939
push 0x562520
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 8
call fcn.004e5c80
push eax
lea eax, [ebp - 0x1088]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test esi, 0x80000
je 0x4e7a7a
push 0x562538
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 9
call fcn.004e5c80
push eax
lea eax, [ebp - 0x1088]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
jmp 0x4e7a7a
test esi, 0x400000
je 0x4e79e0
push 0x562554
lea ecx, [ebp - 0x10e4]
call fcn.004e6520
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0xa
call fcn.004e5c80
push eax
lea eax, [ebp - 0x1088]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10e4]
call fcn.004e6850
test esi, esi
jns 0x4e7a2b
push 0x562580
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0xb
call fcn.004e5c80
push eax
lea eax, [ebp - 0x1088]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test esi, 0x40000000
je 0x4e7a7a
push 0x562598
lea ecx, [ebp - 0x10e4]
call fcn.004e6520
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0xc
call fcn.004e5c80
push eax
lea eax, [ebp - 0x1088]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10e4]
call fcn.004e6850
test bl, 0x10
je 0x4e7aca
push 0x5625c8
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0xd
call fcn.004e5c80
push eax
lea eax, [ebp - 0x1088]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
mov byte [edi + 0x3a], 1
test ebx, 0x100
je 0x4e7b19
push 0x5625e0
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0xe
call fcn.004e5c80
push eax
lea eax, [ebp - 0x1088]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test ebx, 0x8000
je 0x4e7b68
push 0x562600
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0xf
call fcn.004e5c80
push eax
lea eax, [ebp - 0x1088]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
lea eax, [ebp - 0x1088]
push eax
call fcn.004d9ea0
add esp, 4
cmp eax, 2
jl 0x4e7ba3
lea eax, [eax*2 - 4]
cmp word [ebp + eax - 0x1088], 0x2c
jne 0x4e7ba3
cmp eax, 0x800
jae 0x4e80d9
xor ecx, ecx
mov word [ebp + eax - 0x1088], cx
xor eax, eax
mov word [ebp - 0x888], ax
test bl, 2
je 0x4e7bf8
push 0x562618
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x10
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test bl, 4
je 0x4e7c44
push 0x56262c
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x11
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test bl, 8
je 0x4e7c90
push 0x562640
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x12
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test bl, 0x20
je 0x4e7cdc
push 0x562654
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x13
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test bl, 0x40
je 0x4e7d28
push 0x562668
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x14
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test bl, bl
jns 0x4e7d73
push 0x56267c
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x15
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test ebx, 0x200
je 0x4e7dc2
push 0x562690
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x16
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test ebx, 0x800
je 0x4e7e11
push 0x5626a8
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x17
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test ebx, 0x1000
je 0x4e7e60
push 0x5626bc
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x18
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test ebx, 0x2000
je 0x4e7eaf
push 0x5626d4
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x19
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test ebx, 0x4000
je 0x4e7efe
push 0x5626e8
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x1a
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test ebx, 0x10000
je 0x4e7f4d
push 0x5626fc
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x1b
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test ebx, 0x20000
je 0x4e7f9c
push 0x562710
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x1c
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test ebx, 0x1000000
je 0x4e7feb
push 0x562728
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x1d
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
cmp byte [edi + 0x39], 0
je 0x4e80de
test esi, 0x200000
je 0x4e8044
push 0x562740
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x1e
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test esi, 0x8000000
je 0x4e8093
push 0x562754
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x1f
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004e67e0
test esi, 0x20000000
je 0x4e812d
push 0x562768
lea ecx, [ebp - 0x10c4]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x20
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
lea ecx, [ebp - 0x10c4]
jmp 0x4e811e
call fcn.00524568
test esi, 0x80000
je 0x4e812d
push 0x56277c
lea ecx, [ebp - 0x1120]
call fcn.004e6470
push 0
push 0
push dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0x21
call fcn.004e5c80
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.004d9de0
lea ecx, [ebp - 0x1120]
add esp, 8
mov dword [ebp - 4], 0xffffffff
call fcn.004e67e0
lea eax, [ebp - 0x1088]
push eax
call fcn.004d9ea0
add esp, 4
cmp eax, 2
jl 0x4e8168
lea eax, [eax*2 - 4]
cmp word [ebp + eax - 0x1088], 0x2c
jne 0x4e8168
cmp eax, 0x800
jae 0x4e80d9
xor ecx, ecx
mov word [ebp + eax - 0x1088], cx
lea eax, [ebp - 0x1088]
push eax
call fcn.004d9ea0
add esp, 4
cmp eax, 0x400
jb 0x4e8185
mov eax, 0x7a8796
jmp 0x4e81de
lea eax, [ebp - 0x888]
push eax
call fcn.004d9ea0
add esp, 4
cmp eax, 0x400
jae 0x4e817e
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [edi + 0x44]
push 0
push 0
push 0x400
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1088]
push eax
push 0
push 0
call esi
push 0
push 0
push 0x400
lea eax, [edi + 0x444]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x888]
push eax
push 0
push 0
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052388c
mov esp, ebp
pop ebp
ret 4