Function at 0x4e1bb1
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push edi
mov eax, dword [0x6f00f0]
push eax
lea ecx, [ebp - 0x130]
call fcn.004e4580
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
jne 0x4e1be3
push 0x14
call fcn.00496940
add esp, 4
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
push eax
push 0x6adaf0
call fcn.00536541
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
cmp dword [ebp - 0x68], 0
je 0x4e1c52
mov edx, dword [ebp - 0x68]
cmp dword [edx], 0
je 0x4e1c52
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
mov edx, dword [eax]
call dword [edx + 0x10]
and eax, 0xff
test eax, eax
je 0x4e1c50
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
push ecx
push 0x6adb10
call fcn.00536541
add esp, 8
lea ecx, [ebp - 0x130]
call fcn.004e45a0
jmp 0x4e2772
jmp 0x4e1cb7
push 0x1c
call fcn.00588c18
add esp, 4
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
je 0x4e1c7e
mov ecx, dword [ebp - 0x1b4]
call fcn.004bfcf0
mov dword [ebp - 0x1f4], eax
jmp 0x4e1c88
mov dword [ebp - 0x1f4], 0
mov edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1b0], edx
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x68], eax
push 0x1c
push 0
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00578340
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 0x10]
xor ecx, ecx
cmp dword [eax + 0x30], 0
setne cl
mov byte [ebp - 8], cl
mov edx, dword [ebp + 0x10]
xor eax, eax
cmp dword [edx + 0x3c], 0
sete al
mov byte [ebp - 4], al
mov ecx, dword [ebp + 0x10]
xor edx, edx
cmp dword [ecx + 0x48], 0
setne dl
mov byte [ebp - 0x140], dl
mov eax, dword [ebp + 0x10]
xor ecx, ecx
cmp dword [eax + 0x54], 0
setne cl
mov byte [ebp - 0x154], cl
mov byte [ebp - 0x154], 0
mov edx, dword [ebp + 0x10]
xor eax, eax
cmp dword [edx + 0x60], 0
setne al
mov byte [ebp - 0x13c], al
mov dword [ebp - 0x12c], 0
mov ecx, 0x27
xor eax, eax
lea edi, [ebp - 0x128]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x138], 0
jne 0x4e1d61
lea eax, [ebp - 0x12c]
push eax
call fcn.004d1a40
add esp, 4
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x8c], 0
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x88]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x60], 0
mov ecx, 0x15
xor eax, eax
lea edi, [ebp - 0x5c]
rep stosd dword es:[edi], eax
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x138]
xor edx, edx
cmp dword [ecx + 0x1c], 0
setne dl
mov byte [ebp - 0x50], dl
mov eax, dword [ebp - 0x138]
add eax, 0x20
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x48], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x44], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x138]
xor ecx, ecx
cmp dword [eax + 0x30], 0
setne cl
mov byte [ebp - 0x3c], cl
mov edx, dword [ebp - 0x138]
xor eax, eax
cmp dword [edx + 0x34], 0
setne al
mov byte [ebp - 0x3b], al
mov ecx, dword [ebp - 0x138]
xor edx, edx
cmp dword [ecx + 0x38], 0
setne dl
mov byte [ebp - 0x3a], dl
mov eax, dword [ebp - 0x138]
xor ecx, ecx
cmp dword [eax + 0x3c], 0
setne cl
mov byte [ebp - 0x39], cl
mov edx, dword [ebp - 0x138]
xor eax, eax
cmp dword [edx + 0x40], 0
setne al
mov byte [ebp - 0x38], al
mov ecx, dword [ebp - 0x138]
xor edx, edx
cmp dword [ecx + 0x44], 0
setne dl
mov byte [ebp - 0x37], dl
mov eax, dword [ebp - 0x138]
xor ecx, ecx
cmp dword [eax + 0x48], 0
setne cl
mov byte [ebp - 0x36], cl
mov edx, dword [ebp - 0x138]
xor eax, eax
cmp dword [edx + 0x4c], 0
setne al
mov byte [ebp - 0x35], al
mov ecx, dword [ebp - 0x138]
xor edx, edx
cmp dword [ecx + 0x50], 0
setne dl
mov byte [ebp - 0x34], dl
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x58]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x138]
xor eax, eax
cmp dword [edx + 0x5c], 0
setne al
mov byte [ebp - 0x2c], al
lea ecx, [ebp - 0x148]
call fcn.00540f00
lea ecx, [ebp - 0x150]
call fcn.00540f00
lea ecx, [ebp - 0x64]
call fcn.00540f00
mov ecx, dword [ebp - 0x138]
cmp dword [ecx + 0x60], 0
je 0x4e1fe8
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0x60]
cmp dword [eax + 0xc], 0
je 0x4e1f21
push 0
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 0x60]
mov eax, dword [edx + 0xc]
push eax
lea ecx, [ebp - 0x1b8]
push ecx
call fcn.004c1120
add esp, 0xc
push eax
lea ecx, [ebp - 0x148]
call fcn.00498f00
lea ecx, [ebp - 0x1b8]
call fcn.004995e0
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0x60]
cmp dword [eax + 0x10], 0
je 0x4e1f65
push 0
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 0x60]
mov eax, dword [edx + 0x10]
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call fcn.004c1120
add esp, 0xc
push eax
lea ecx, [ebp - 0x150]
call fcn.00498f00
lea ecx, [ebp - 0x1bc]
call fcn.004995e0
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0x60]
cmp dword [eax + 4], 0
je 0x4e1fa6
push 0
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 0x60]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x1c0]
push ecx
call fcn.004c1120
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
call fcn.00498f00
lea ecx, [ebp - 0x1c0]
call fcn.004995e0
lea ecx, [ebp - 0x148]
call fcn.0049eca0
mov edx, dword [ebp - 0x138]
mov ecx, dword [edx + 0x60]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x150]
call fcn.0049eca0
mov edx, dword [ebp - 0x138]
mov ecx, dword [edx + 0x60]
mov dword [ecx + 0x10], eax
lea ecx, [ebp - 0x64]
call fcn.0049eca0
mov edx, dword [ebp - 0x138]
mov ecx, dword [edx + 0x60]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0x60]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 0x64]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x138]
xor ecx, ecx
cmp dword [eax + 0x68], 0
setne cl
mov byte [ebp - 0x1f], cl
mov edx, dword [ebp - 0x138]
xor eax, eax
cmp dword [edx + 0x6c], 0
setne al
mov byte [ebp - 0x1e], al
mov ecx, dword [ebp - 0x138]
xor edx, edx
cmp dword [ecx + 0x70], 0
setne dl
mov byte [ebp - 0x1d], dl
mov eax, dword [ebp - 0x138]
xor ecx, ecx
cmp dword [eax + 0x74], 0
setne cl
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x138]
xor eax, eax
cmp dword [edx + 0x78], 0
setne al
mov byte [ebp - 0x1b], al
mov ecx, dword [ebp - 0x138]
xor edx, edx
cmp dword [ecx + 0x7c], 0
setne dl
mov byte [ebp - 0x1a], dl
mov eax, dword [ebp - 0x138]
xor ecx, ecx
cmp dword [eax + 0x80], 0
setne cl
mov byte [ebp - 0x19], cl
mov edx, dword [ebp - 0x138]
xor eax, eax
cmp dword [edx + 0x84], 0
setne al
mov byte [ebp - 0x18], al
mov ecx, dword [ebp - 0x138]
xor edx, edx
cmp dword [ecx + 0x88], 0
setne dl
mov byte [ebp - 0x17], dl
mov eax, dword [ebp - 0x138]
xor ecx, ecx
cmp dword [eax + 0x8c], 0
setne cl
mov byte [ebp - 0x16], cl
mov edx, dword [ebp - 0x138]
xor eax, eax
cmp dword [edx + 0x90], 0
setne al
mov byte [ebp - 0x15], al
mov ecx, dword [ebp - 0x138]
xor edx, edx
cmp dword [ecx + 0x94], 0
setne dl
mov byte [ebp - 0x14], dl
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0x98]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 0x9c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x6c]
cmp dword [eax], 0
jne 0x4e2126
call fcn.004e2777
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
lea ecx, [ebp - 0x14c]
call fcn.00540f00
mov edx, dword [ebp - 0x138]
cmp dword [edx + 0x98], 0
je 0x4e22b5
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x98]
movsx edx, byte [ecx]
test edx, edx
je 0x4e22b5
push 0x3a8
push 0
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x98]
push ecx
lea edx, [ebp - 0x1c4]
push edx
call fcn.004ae2c0
add esp, 0x10
push eax
lea ecx, [ebp - 0x14c]
call fcn.00499600
lea ecx, [ebp - 0x1c4]
call fcn.004995e0
push str.__remote_debugging_port
lea ecx, [ebp - 0x14c]
call fcn.0049eca0
push eax
call fcn.00579051
add esp, 8
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0
je 0x4e22b0
mov eax, dword [ebp - 0x158]
add eax, 0x32
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x22
jne 0x4e21ef
mov eax, dword [ebp - 0x158]
add eax, 2
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x184], 0
mov ecx, dword [ebp - 0x158]
xor edx, edx
mov dx, word [ecx]
test edx, edx
je 0x4e2298
mov eax, dword [ebp - 0x158]
mov cx, word [eax]
mov word [ebp - 0x188], cx
mov edx, dword [ebp - 0x158]
add edx, 2
mov dword [ebp - 0x158], edx
mov eax, dword [ebp - 0x188]
and eax, 0xffff
cmp eax, 0x30
jl 0x4e2272
mov ecx, dword [ebp - 0x188]
and ecx, 0xffff
cmp ecx, 0x39
jg 0x4e2272
mov edx, dword [ebp - 0x184]
mov ax, word [ebp - 0x188]
mov word [ebp + edx*2 - 0x180], ax
mov ecx, dword [ebp - 0x184]
add ecx, 1
mov dword [ebp - 0x184], ecx
jmp 0x4e2293
mov edx, dword [ebp - 0x184]
mov word [ebp + edx*2 - 0x180], 0
mov eax, dword [ebp - 0x184]
add eax, 1
mov dword [ebp - 0x184], eax
jmp 0x4e2298
jmp 0x4e21f9
lea ecx, [ebp - 0x180]
push ecx
call fcn.004e7d00
add esp, 4
mov edx, dword [ebp - 0x138]
mov dword [edx + 0xc], eax
jmp 0x4e2582
push 1
push 0x3a8
push 0
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x1c8]
push edx
call fcn.004ae2c0
add esp, 0x10
push eax
lea ecx, [ebp - 0x14c]
call fcn.00499630
lea ecx, [ebp - 0x1c8]
call fcn.004995e0
mov eax, dword [ebp - 0x138]
cmp dword [eax], 0
jne 0x4e2357
push 0x10
call fcn.00588c18
add esp, 4
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0
je 0x4e2333
lea ecx, [ebp - 0x1d4]
push ecx
lea edx, [ebp - 0x1d8]
push edx
mov ecx, dword [ebp - 0x1d0]
call fcn.004d1d40
mov dword [ebp - 0x1f8], eax
jmp 0x4e233d
mov dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x138]
mov edx, dword [ebp - 0x1cc]
mov dword [ecx], edx
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax]
mov dword [ebp - 0x198], ecx
mov ecx, dword [ebp - 0x198]
call fcn.004e7db0
mov dword [ebp - 0x194], eax
mov edx, dword [ebp - 0x194]
shl edx, 1
mov dword [ebp - 0x1a0], edx
mov eax, dword [ebp - 0x1a0]
shl eax, 3
push eax
call fcn.00588c18
add esp, 4
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x1e0], 0
je 0x4e23cd
push fcn.004d1dc0
mov ecx, dword [ebp - 0x1a0]
push ecx
push 8
mov edx, dword [ebp - 0x1e0]
push edx
call fcn.004e4600
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x1fc], eax
jmp 0x4e23d7
mov dword [ebp - 0x1fc], 0
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x1dc], ecx
mov edx, dword [ebp - 0x1dc]
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x190], 0
lea eax, [ebp - 0x19c]
push eax
mov ecx, dword [ebp - 0x198]
call fcn.004e7d70
jmp 0x4e2418
lea ecx, [ebp - 0x19c]
call fcn.004e7ea0
lea ecx, [ebp - 0x1e4]
push ecx
mov ecx, dword [ebp - 0x198]
call fcn.004e7d90
push eax
lea ecx, [ebp - 0x19c]
call fcn.004e7ec0
and eax, 0xff
test eax, eax
je 0x4e24b0
lea ecx, [ebp - 0x19c]
call fcn.004e7e80
add eax, 4
mov dword [ebp - 0x1a4], eax
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x1a4]
mov ecx, dword [ecx]
mov dword [eax + edx*8], ecx
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x1a4]
mov ecx, dword [ecx + 4]
mov dword [eax + edx*8 + 4], ecx
mov edx, dword [ebp - 0x190]
add edx, 1
mov dword [ebp - 0x190], edx
mov eax, dword [ebp - 0x1a4]
mov dword [eax], 0
mov ecx, dword [ebp - 0x1a4]
mov dword [ecx + 4], 0
jmp 0x4e240d
push 0
push 0
lea ecx, [ebp - 0x14c]
call fcn.0049eca0
push eax
mov edx, dword [ebp - 0x194]
push edx
mov eax, dword [ebp - 0x18c]
push eax
mov ecx, dword [ebp - 0x6c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
lea ecx, [ebp - 0x14c]
call fcn.004b9d00
mov dword [ebp - 0x190], 0
jmp 0x4e2504
mov eax, dword [ebp - 0x190]
add eax, 1
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
cmp ecx, dword [ebp - 0x194]
jae 0x4e2567
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + edx*8 + 4]
mov dword [ebp - 0x1a8], ecx
cmp dword [ebp - 0x1a8], 0xffff
jle 0x4e254d
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + edx*8 + 4]
push ecx
call fcn.0049a8b0
add esp, 4
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + edx*8]
push ecx
call fcn.0049a8b0
add esp, 4
jmp 0x4e24f5
mov edx, dword [ebp - 0x18c]
mov dword [ebp - 0x1e8], edx
mov eax, dword [ebp - 0x1e8]
push eax
call fcn.00588c41
add esp, 4
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x138]
mov ax, word [edx + 0xc]
mov word [ebp - 0x84], ax
lea ecx, [ebp - 0x14c]
call fcn.0049eca0
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x8c], ecx
push 0x3a8
push 0
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 8]
push eax
lea ecx, [ebp - 0x144]
push ecx
call fcn.004ae2c0
add esp, 0x10
mov edx, dword [ebp - 0x138]
cmp dword [edx + 8], 0
je 0x4e2609
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 8]
movsx edx, byte [ecx]
test edx, edx
je 0x4e2609
lea ecx, [ebp - 0x144]
call fcn.0049eca0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
push ecx
push 0x6adb78
call fcn.00536541
add esp, 8
mov dword [ebp - 0x134], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x78]
push eax
mov cl, byte [ebp - 0x13c]
push ecx
mov dl, byte [ebp - 0x154]
push edx
mov al, byte [ebp - 0x140]
push eax
mov cl, byte [ebp - 8]
push ecx
mov dl, byte [ebp - 4]
push edx
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x6c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov edx, dword [eax]
call dword [edx + 0x70]
and eax, 0xff
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
cmp dword [eax], 1
jne 0x4e2691
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [edx], 0
push 0
call fcn.00578c4a
push 0xffffffffffffffff
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, 0x6f00ec
call fcn.00535cb0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x68]
mov dword [edx], eax
cmp dword [ebp - 0x134], 0
je 0x4e26ce
mov ecx, dword [ebp - 0x134]
cmp dword [ecx], 0
je 0x4e26ce
mov edx, dword [ebp - 0x134]
push edx
call fcn.0049c8a8
add esp, 4
mov eax, dword [ebp - 0x138]
cmp dword [eax], 0
je 0x4e2733
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx]
mov dword [ebp - 0x1ac], edx
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x1ec], ecx
cmp dword [ebp - 0x1ec], 0
je 0x4e271d
push 1
mov ecx, dword [ebp - 0x1ec]
call fcn.004e4630
mov dword [ebp - 0x200], eax
jmp 0x4e2727
mov dword [ebp - 0x200], 0
mov edx, dword [ebp - 0x138]
mov dword [edx], 0
lea ecx, [ebp - 0x144]
call fcn.004995e0
lea ecx, [ebp - 0x14c]
call fcn.004995e0
lea ecx, [ebp - 0x64]
call fcn.004995e0
lea ecx, [ebp - 0x150]
call fcn.004995e0
lea ecx, [ebp - 0x148]
call fcn.004995e0
lea ecx, [ebp - 0x130]
call fcn.004e45a0
pop edi
mov esp, ebp
pop ebp
ret